diff --git a/docs/classes/APIReference.html b/docs/classes/APIReference.html index a7443c713..d3532d5c6 100644 --- a/docs/classes/APIReference.html +++ b/docs/classes/APIReference.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ASNImport.html b/docs/classes/ASNImport.html index de746d4b5..aae5e95a8 100644 --- a/docs/classes/ASNImport.html +++ b/docs/classes/ASNImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AboutPage.html b/docs/classes/AboutPage.html index 88ddb27ba..067212c46 100644 --- a/docs/classes/AboutPage.html +++ b/docs/classes/AboutPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AcceptAction.html b/docs/classes/AcceptAction.html index bfd9d4392..3a03afd64 100644 --- a/docs/classes/AcceptAction.html +++ b/docs/classes/AcceptAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Accommodation.html b/docs/classes/Accommodation.html index 9bb4bcb84..e142c7cb8 100644 --- a/docs/classes/Accommodation.html +++ b/docs/classes/Accommodation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AccountingService.html b/docs/classes/AccountingService.html index 9f87424c1..385d212b0 100644 --- a/docs/classes/AccountingService.html +++ b/docs/classes/AccountingService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AccreditAction.html b/docs/classes/AccreditAction.html index 04250d872..8760998bd 100644 --- a/docs/classes/AccreditAction.html +++ b/docs/classes/AccreditAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AchieveAction.html b/docs/classes/AchieveAction.html index 099c00e78..d4b4a1b2c 100644 --- a/docs/classes/AchieveAction.html +++ b/docs/classes/AchieveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Action.html b/docs/classes/Action.html index 72319668c..b0c672b66 100644 --- a/docs/classes/Action.html +++ b/docs/classes/Action.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ActionStatusType.html b/docs/classes/ActionStatusType.html index 231ba1ff9..b4e63db8d 100644 --- a/docs/classes/ActionStatusType.html +++ b/docs/classes/ActionStatusType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ActivateAction.html b/docs/classes/ActivateAction.html index 9a7c462ac..fff3e5e35 100644 --- a/docs/classes/ActivateAction.html +++ b/docs/classes/ActivateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AddAction.html b/docs/classes/AddAction.html index 196d9d488..a42faa53f 100644 --- a/docs/classes/AddAction.html +++ b/docs/classes/AddAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AdministrativeArea.html b/docs/classes/AdministrativeArea.html index 4f6b29040..edde40a73 100644 --- a/docs/classes/AdministrativeArea.html +++ b/docs/classes/AdministrativeArea.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AdultEntertainment.html b/docs/classes/AdultEntertainment.html index b14cecb70..646f26c2e 100644 --- a/docs/classes/AdultEntertainment.html +++ b/docs/classes/AdultEntertainment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AdvancedStandingAction.html b/docs/classes/AdvancedStandingAction.html index 82245468c..250f0feb1 100644 --- a/docs/classes/AdvancedStandingAction.html +++ b/docs/classes/AdvancedStandingAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Agent.html b/docs/classes/Agent.html index 5ab59443e..8853835d0 100644 --- a/docs/classes/Agent.html +++ b/docs/classes/Agent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AggregateOffer.html b/docs/classes/AggregateOffer.html index a55af04e0..57926821f 100644 --- a/docs/classes/AggregateOffer.html +++ b/docs/classes/AggregateOffer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AggregateRating.html b/docs/classes/AggregateRating.html index be0c98b65..20a03a131 100644 --- a/docs/classes/AggregateRating.html +++ b/docs/classes/AggregateRating.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AgreeAction.html b/docs/classes/AgreeAction.html index 0da6f691f..54942ae97 100644 --- a/docs/classes/AgreeAction.html +++ b/docs/classes/AgreeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Airline.html b/docs/classes/Airline.html index b899076d1..94a2a77c8 100644 --- a/docs/classes/Airline.html +++ b/docs/classes/Airline.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Airport.html b/docs/classes/Airport.html index 83e651f82..01ceccf85 100644 --- a/docs/classes/Airport.html +++ b/docs/classes/Airport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AlignmentMap.html b/docs/classes/AlignmentMap.html index 079d93b49..4bfaed244 100644 --- a/docs/classes/AlignmentMap.html +++ b/docs/classes/AlignmentMap.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AlignmentObject.html b/docs/classes/AlignmentObject.html index 7ee8c80ad..fd31f2e36 100644 --- a/docs/classes/AlignmentObject.html +++ b/docs/classes/AlignmentObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AllocateAction.html b/docs/classes/AllocateAction.html index ed0bc14db..656cf805b 100644 --- a/docs/classes/AllocateAction.html +++ b/docs/classes/AllocateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AmusementPark.html b/docs/classes/AmusementPark.html index 14fb244b6..786c2b21b 100644 --- a/docs/classes/AmusementPark.html +++ b/docs/classes/AmusementPark.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AnimalShelter.html b/docs/classes/AnimalShelter.html index 591b3201e..b728e2a28 100644 --- a/docs/classes/AnimalShelter.html +++ b/docs/classes/AnimalShelter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Answer.html b/docs/classes/Answer.html index d4d807992..c2e78ce0e 100644 --- a/docs/classes/Answer.html +++ b/docs/classes/Answer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Apartment.html b/docs/classes/Apartment.html index 335cd744b..ca9b11d6f 100644 --- a/docs/classes/Apartment.html +++ b/docs/classes/Apartment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ApartmentComplex.html b/docs/classes/ApartmentComplex.html index 0ff72d5de..32fdd18fa 100644 --- a/docs/classes/ApartmentComplex.html +++ b/docs/classes/ApartmentComplex.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AppendAction.html b/docs/classes/AppendAction.html index 5cf822e27..82dd67875 100644 --- a/docs/classes/AppendAction.html +++ b/docs/classes/AppendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ApplyAction.html b/docs/classes/ApplyAction.html index 1c78f1168..1cd9de882 100644 --- a/docs/classes/ApplyAction.html +++ b/docs/classes/ApplyAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ApprenticeshipCertificate.html b/docs/classes/ApprenticeshipCertificate.html index 6ca14e0cf..6174ddf14 100644 --- a/docs/classes/ApprenticeshipCertificate.html +++ b/docs/classes/ApprenticeshipCertificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ApproveAction.html b/docs/classes/ApproveAction.html index 2d4c9d004..b84c49dca 100644 --- a/docs/classes/ApproveAction.html +++ b/docs/classes/ApproveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Aquarium.html b/docs/classes/Aquarium.html index a9fdbf6ab..6bb4e6079 100644 --- a/docs/classes/Aquarium.html +++ b/docs/classes/Aquarium.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ArriveAction.html b/docs/classes/ArriveAction.html index d40080ebe..b96f94635 100644 --- a/docs/classes/ArriveAction.html +++ b/docs/classes/ArriveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ArtGallery.html b/docs/classes/ArtGallery.html index 60c7fd332..1c79d96e4 100644 --- a/docs/classes/ArtGallery.html +++ b/docs/classes/ArtGallery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Article.html b/docs/classes/Article.html index 641826f55..929083ee5 100644 --- a/docs/classes/Article.html +++ b/docs/classes/Article.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AskAction.html b/docs/classes/AskAction.html index 1d0862b01..04a4d7717 100644 --- a/docs/classes/AskAction.html +++ b/docs/classes/AskAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Assertion.html b/docs/classes/Assertion.html index 7e355c3bf..5a14dbebf 100644 --- a/docs/classes/Assertion.html +++ b/docs/classes/Assertion.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssertionEnvelope.html b/docs/classes/AssertionEnvelope.html index 727a90abf..f50fb781f 100644 --- a/docs/classes/AssertionEnvelope.html +++ b/docs/classes/AssertionEnvelope.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssertionProcessor.html b/docs/classes/AssertionProcessor.html index 05dc98f5a..e63fd95ad 100644 --- a/docs/classes/AssertionProcessor.html +++ b/docs/classes/AssertionProcessor.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssessAction.html b/docs/classes/AssessAction.html index 1c32b1c9f..763846223 100644 --- a/docs/classes/AssessAction.html +++ b/docs/classes/AssessAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Assessment.html b/docs/classes/Assessment.html index 885882c6f..d8016679a 100644 --- a/docs/classes/Assessment.html +++ b/docs/classes/Assessment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssessmentProfile.html b/docs/classes/AssessmentProfile.html index 105a29a6e..0bdb2cc04 100644 --- a/docs/classes/AssessmentProfile.html +++ b/docs/classes/AssessmentProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssignAction.html b/docs/classes/AssignAction.html index a44af6380..006cae1c1 100644 --- a/docs/classes/AssignAction.html +++ b/docs/classes/AssignAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AssociateDegree.html b/docs/classes/AssociateDegree.html index 6436df8e1..7e3061e49 100644 --- a/docs/classes/AssociateDegree.html +++ b/docs/classes/AssociateDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Attorney.html b/docs/classes/Attorney.html index e8a6e1b2c..1431e0123 100644 --- a/docs/classes/Attorney.html +++ b/docs/classes/Attorney.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Audience.html b/docs/classes/Audience.html index 0dbf5d927..5b05e3bbc 100644 --- a/docs/classes/Audience.html +++ b/docs/classes/Audience.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AudioObject.html b/docs/classes/AudioObject.html index 8430d9246..da8ad9e9b 100644 --- a/docs/classes/AudioObject.html +++ b/docs/classes/AudioObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AuthorizeAction.html b/docs/classes/AuthorizeAction.html index 342ade2be..4afcc870b 100644 --- a/docs/classes/AuthorizeAction.html +++ b/docs/classes/AuthorizeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoBodyShop.html b/docs/classes/AutoBodyShop.html index aab46f2e4..8b5dbfc72 100644 --- a/docs/classes/AutoBodyShop.html +++ b/docs/classes/AutoBodyShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoDealer.html b/docs/classes/AutoDealer.html index 3b1cd3fe5..74c3d99b0 100644 --- a/docs/classes/AutoDealer.html +++ b/docs/classes/AutoDealer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoPartsStore.html b/docs/classes/AutoPartsStore.html index 2c26504f6..2bea9513c 100644 --- a/docs/classes/AutoPartsStore.html +++ b/docs/classes/AutoPartsStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoRental.html b/docs/classes/AutoRental.html index 3760c1d77..24ebd3632 100644 --- a/docs/classes/AutoRental.html +++ b/docs/classes/AutoRental.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoRepair.html b/docs/classes/AutoRepair.html index 5342ec534..93ac69963 100644 --- a/docs/classes/AutoRepair.html +++ b/docs/classes/AutoRepair.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutoWash.html b/docs/classes/AutoWash.html index 78308216d..43d7e0968 100644 --- a/docs/classes/AutoWash.html +++ b/docs/classes/AutoWash.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutomatedTeller.html b/docs/classes/AutomatedTeller.html index b7f00aa15..44f6c6dea 100644 --- a/docs/classes/AutomatedTeller.html +++ b/docs/classes/AutomatedTeller.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/AutomotiveBusiness.html b/docs/classes/AutomotiveBusiness.html index eeff385f1..e923de223 100644 --- a/docs/classes/AutomotiveBusiness.html +++ b/docs/classes/AutomotiveBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BachelorDegree.html b/docs/classes/BachelorDegree.html index 5322663f9..70176b78b 100644 --- a/docs/classes/BachelorDegree.html +++ b/docs/classes/BachelorDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Badge.html b/docs/classes/Badge.html index 744f95de1..cf40ba1a8 100644 --- a/docs/classes/Badge.html +++ b/docs/classes/Badge.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Bakery.html b/docs/classes/Bakery.html index 7d84a7922..a5dae0ae8 100644 --- a/docs/classes/Bakery.html +++ b/docs/classes/Bakery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BankAccount.html b/docs/classes/BankAccount.html index decba144b..812b74849 100644 --- a/docs/classes/BankAccount.html +++ b/docs/classes/BankAccount.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BankOrCreditUnion.html b/docs/classes/BankOrCreditUnion.html index 76a2059be..6e6dd508c 100644 --- a/docs/classes/BankOrCreditUnion.html +++ b/docs/classes/BankOrCreditUnion.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BarOrPub.html b/docs/classes/BarOrPub.html index 8460fbee8..77cdd0989 100644 --- a/docs/classes/BarOrPub.html +++ b/docs/classes/BarOrPub.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Barcode.html b/docs/classes/Barcode.html index 7828831b4..4c36dfacf 100644 --- a/docs/classes/Barcode.html +++ b/docs/classes/Barcode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Beach.html b/docs/classes/Beach.html index 00171e4e6..ec4fca02f 100644 --- a/docs/classes/Beach.html +++ b/docs/classes/Beach.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BeautySalon.html b/docs/classes/BeautySalon.html index ac2c99503..9b3ac9132 100644 --- a/docs/classes/BeautySalon.html +++ b/docs/classes/BeautySalon.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BedAndBreakfast.html b/docs/classes/BedAndBreakfast.html index 13ef8ee4d..459808b8e 100644 --- a/docs/classes/BedAndBreakfast.html +++ b/docs/classes/BedAndBreakfast.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BedDetails.html b/docs/classes/BedDetails.html index 30380b6c0..f926d940d 100644 --- a/docs/classes/BedDetails.html +++ b/docs/classes/BedDetails.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BefriendAction.html b/docs/classes/BefriendAction.html index 9d696090b..698549f1d 100644 --- a/docs/classes/BefriendAction.html +++ b/docs/classes/BefriendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BikeStore.html b/docs/classes/BikeStore.html index 9ba98ceb3..a0648f741 100644 --- a/docs/classes/BikeStore.html +++ b/docs/classes/BikeStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Blog.html b/docs/classes/Blog.html index 48aa4d4ae..884f8a722 100644 --- a/docs/classes/Blog.html +++ b/docs/classes/Blog.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BlogPosting.html b/docs/classes/BlogPosting.html index c527d074c..c03a550f7 100644 --- a/docs/classes/BlogPosting.html +++ b/docs/classes/BlogPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BoardingPolicyType.html b/docs/classes/BoardingPolicyType.html index 0a318eba9..96a5a23dc 100644 --- a/docs/classes/BoardingPolicyType.html +++ b/docs/classes/BoardingPolicyType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BodyOfWater.html b/docs/classes/BodyOfWater.html index 7b3327934..c63078ba4 100644 --- a/docs/classes/BodyOfWater.html +++ b/docs/classes/BodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Book.html b/docs/classes/Book.html index 5c4dc42df..d858c68ee 100644 --- a/docs/classes/Book.html +++ b/docs/classes/Book.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BookFormatType.html b/docs/classes/BookFormatType.html index f4717ad15..7c1e92534 100644 --- a/docs/classes/BookFormatType.html +++ b/docs/classes/BookFormatType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BookSeries.html b/docs/classes/BookSeries.html index ffc439d67..1087b3e16 100644 --- a/docs/classes/BookSeries.html +++ b/docs/classes/BookSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BookStore.html b/docs/classes/BookStore.html index ecea3fcbc..a0b978c80 100644 --- a/docs/classes/BookStore.html +++ b/docs/classes/BookStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BookmarkAction.html b/docs/classes/BookmarkAction.html index 3a0374cd0..c3e6b2716 100644 --- a/docs/classes/BookmarkAction.html +++ b/docs/classes/BookmarkAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BorrowAction.html b/docs/classes/BorrowAction.html index b60783c88..80c0e6dfd 100644 --- a/docs/classes/BorrowAction.html +++ b/docs/classes/BorrowAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BowlingAlley.html b/docs/classes/BowlingAlley.html index 27838e107..e3ea4990e 100644 --- a/docs/classes/BowlingAlley.html +++ b/docs/classes/BowlingAlley.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Brand.html b/docs/classes/Brand.html index acfe90f2b..f6c5cfc84 100644 --- a/docs/classes/Brand.html +++ b/docs/classes/Brand.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BreadcrumbList.html b/docs/classes/BreadcrumbList.html index 910091996..24cb94f57 100644 --- a/docs/classes/BreadcrumbList.html +++ b/docs/classes/BreadcrumbList.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Brewery.html b/docs/classes/Brewery.html index fd5fecf6d..bcec4c0e8 100644 --- a/docs/classes/Brewery.html +++ b/docs/classes/Brewery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Bridge.html b/docs/classes/Bridge.html index 3240bdadd..2c00ca7d3 100644 --- a/docs/classes/Bridge.html +++ b/docs/classes/Bridge.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BroadcastChannel.html b/docs/classes/BroadcastChannel.html index 4904d2a45..68cda5f7a 100644 --- a/docs/classes/BroadcastChannel.html +++ b/docs/classes/BroadcastChannel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BroadcastEvent.html b/docs/classes/BroadcastEvent.html index 33974f351..228ee8483 100644 --- a/docs/classes/BroadcastEvent.html +++ b/docs/classes/BroadcastEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BroadcastService.html b/docs/classes/BroadcastService.html index df1990765..fd29a0b60 100644 --- a/docs/classes/BroadcastService.html +++ b/docs/classes/BroadcastService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BuddhistTemple.html b/docs/classes/BuddhistTemple.html index 834f16519..27bad4996 100644 --- a/docs/classes/BuddhistTemple.html +++ b/docs/classes/BuddhistTemple.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusReservation.html b/docs/classes/BusReservation.html index 3ab567654..1396080b9 100644 --- a/docs/classes/BusReservation.html +++ b/docs/classes/BusReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusStation.html b/docs/classes/BusStation.html index 1f84b097b..e551075bc 100644 --- a/docs/classes/BusStation.html +++ b/docs/classes/BusStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusStop.html b/docs/classes/BusStop.html index bfa6feab5..9ffad1960 100644 --- a/docs/classes/BusStop.html +++ b/docs/classes/BusStop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusTrip.html b/docs/classes/BusTrip.html index 6a06ef32e..7d863b44e 100644 --- a/docs/classes/BusTrip.html +++ b/docs/classes/BusTrip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusinessAudience.html b/docs/classes/BusinessAudience.html index c26124136..fad00987a 100644 --- a/docs/classes/BusinessAudience.html +++ b/docs/classes/BusinessAudience.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusinessEntityType.html b/docs/classes/BusinessEntityType.html index 85d34de80..ddd2a1150 100644 --- a/docs/classes/BusinessEntityType.html +++ b/docs/classes/BusinessEntityType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusinessEvent.html b/docs/classes/BusinessEvent.html index 86fb1f591..e82c9d716 100644 --- a/docs/classes/BusinessEvent.html +++ b/docs/classes/BusinessEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BusinessFunction.html b/docs/classes/BusinessFunction.html index 14f9bad09..fd1a21f8d 100644 --- a/docs/classes/BusinessFunction.html +++ b/docs/classes/BusinessFunction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/BuyAction.html b/docs/classes/BuyAction.html index a244dc48f..a148fdf3b 100644 --- a/docs/classes/BuyAction.html +++ b/docs/classes/BuyAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CSVExport.html b/docs/classes/CSVExport.html index 0f6bee9e0..cd88789ae 100644 --- a/docs/classes/CSVExport.html +++ b/docs/classes/CSVExport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

CSVExport Class

- Defined in: src/main/js/cass/cass.import.js:851 + Defined in: src/main/js/cass/cass.import.js:856
Module: org.cassproject @@ -898,7 +898,7 @@

export

Defined in - src/main/js/cass/cass.import.js:900 + src/main/js/cass/cass.import.js:905

diff --git a/docs/classes/CSVImport.html b/docs/classes/CSVImport.html index 0525ccb62..67237a685 100644 --- a/docs/classes/CSVImport.html +++ b/docs/classes/CSVImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

CSVImport Class

- Defined in: src/main/js/cass/cass.import.js:1039 + Defined in: src/main/js/cass/cass.import.js:1044
Module: org.cassproject @@ -913,7 +913,7 @@

analyzeFile

Defined in - src/main/js/cass/cass.import.js:1056 + src/main/js/cass/cass.import.js:1061

@@ -1031,7 +1031,7 @@

importCompetencies

Defined in - src/main/js/cass/cass.import.js:1106 + src/main/js/cass/cass.import.js:1111

@@ -1266,7 +1266,7 @@

importRelations

Defined in - src/main/js/cass/cass.import.js:1229 + src/main/js/cass/cass.import.js:1234

@@ -1427,7 +1427,7 @@

transformId

Defined in - src/main/js/cass/cass.import.js:1085 + src/main/js/cass/cass.import.js:1090

diff --git a/docs/classes/CableOrSatelliteService.html b/docs/classes/CableOrSatelliteService.html index 383bba603..3c828ccfe 100644 --- a/docs/classes/CableOrSatelliteService.html +++ b/docs/classes/CableOrSatelliteService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CafeOrCoffeeShop.html b/docs/classes/CafeOrCoffeeShop.html index ed6a68604..bd3116265 100644 --- a/docs/classes/CafeOrCoffeeShop.html +++ b/docs/classes/CafeOrCoffeeShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Campground.html b/docs/classes/Campground.html index d6fc279ea..c3c31b557 100644 --- a/docs/classes/Campground.html +++ b/docs/classes/Campground.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CampingPitch.html b/docs/classes/CampingPitch.html index a57c44e72..bb7f82de8 100644 --- a/docs/classes/CampingPitch.html +++ b/docs/classes/CampingPitch.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Canal.html b/docs/classes/Canal.html index 1aecaa274..39d4b8938 100644 --- a/docs/classes/Canal.html +++ b/docs/classes/Canal.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CancelAction.html b/docs/classes/CancelAction.html index 9967e0dd7..fa371f4ca 100644 --- a/docs/classes/CancelAction.html +++ b/docs/classes/CancelAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Car.html b/docs/classes/Car.html index dcea74b5d..2bdf4a26f 100644 --- a/docs/classes/Car.html +++ b/docs/classes/Car.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CareerPathway.html b/docs/classes/CareerPathway.html index 8e8ccca0b..f76b7a543 100644 --- a/docs/classes/CareerPathway.html +++ b/docs/classes/CareerPathway.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Casino.html b/docs/classes/Casino.html index 430698075..2f6bc3a90 100644 --- a/docs/classes/Casino.html +++ b/docs/classes/Casino.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Cass.html b/docs/classes/Cass.html index 28f62bbc3..fe354b1ae 100644 --- a/docs/classes/Cass.html +++ b/docs/classes/Cass.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CatholicChurch.html b/docs/classes/CatholicChurch.html index 48df10da2..2f3802127 100644 --- a/docs/classes/CatholicChurch.html +++ b/docs/classes/CatholicChurch.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Cemetery.html b/docs/classes/Cemetery.html index cf6c35781..cf4205e2d 100644 --- a/docs/classes/Cemetery.html +++ b/docs/classes/Cemetery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Certificate.html b/docs/classes/Certificate.html index e5cb75a6b..58393a1cb 100644 --- a/docs/classes/Certificate.html +++ b/docs/classes/Certificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Certification.html b/docs/classes/Certification.html index 43a6a0cab..271ad19c9 100644 --- a/docs/classes/Certification.html +++ b/docs/classes/Certification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CheckAction.html b/docs/classes/CheckAction.html index 6c0c2efe8..665618e35 100644 --- a/docs/classes/CheckAction.html +++ b/docs/classes/CheckAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CheckInAction.html b/docs/classes/CheckInAction.html index b8e4ca1f7..b9f30fd3c 100644 --- a/docs/classes/CheckInAction.html +++ b/docs/classes/CheckInAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CheckOutAction.html b/docs/classes/CheckOutAction.html index f8000a496..aecbce8f9 100644 --- a/docs/classes/CheckOutAction.html +++ b/docs/classes/CheckOutAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CheckoutPage.html b/docs/classes/CheckoutPage.html index eb818b4e1..90fbb4c86 100644 --- a/docs/classes/CheckoutPage.html +++ b/docs/classes/CheckoutPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ChildCare.html b/docs/classes/ChildCare.html index 7d7247612..f2999c29e 100644 --- a/docs/classes/ChildCare.html +++ b/docs/classes/ChildCare.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ChildrensEvent.html b/docs/classes/ChildrensEvent.html index a2b70f6cd..64eee4b9d 100644 --- a/docs/classes/ChildrensEvent.html +++ b/docs/classes/ChildrensEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ChooseAction.html b/docs/classes/ChooseAction.html index 8ba287fe2..2fb0df0b3 100644 --- a/docs/classes/ChooseAction.html +++ b/docs/classes/ChooseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Church.html b/docs/classes/Church.html index 01dd3e8fa..271ca1ea6 100644 --- a/docs/classes/Church.html +++ b/docs/classes/Church.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/City.html b/docs/classes/City.html index 60633f2f6..6a265864c 100644 --- a/docs/classes/City.html +++ b/docs/classes/City.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CityHall.html b/docs/classes/CityHall.html index 39cd2174b..6f727bd7a 100644 --- a/docs/classes/CityHall.html +++ b/docs/classes/CityHall.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CivicStructure.html b/docs/classes/CivicStructure.html index a2c563a34..197abcb6f 100644 --- a/docs/classes/CivicStructure.html +++ b/docs/classes/CivicStructure.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ClaimReview.html b/docs/classes/ClaimReview.html index 01a08c052..a6fdfde7c 100644 --- a/docs/classes/ClaimReview.html +++ b/docs/classes/ClaimReview.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Clip.html b/docs/classes/Clip.html index 9ffbccb5d..225781f39 100644 --- a/docs/classes/Clip.html +++ b/docs/classes/Clip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ClothingStore.html b/docs/classes/ClothingStore.html index acd1151a3..70883cae0 100644 --- a/docs/classes/ClothingStore.html +++ b/docs/classes/ClothingStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Code.html b/docs/classes/Code.html index 9d6c1bd20..bbb16d8ba 100644 --- a/docs/classes/Code.html +++ b/docs/classes/Code.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Collection.html b/docs/classes/Collection.html index 43356a285..ca0fdf778 100644 --- a/docs/classes/Collection.html +++ b/docs/classes/Collection.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CollectionPage.html b/docs/classes/CollectionPage.html index 173b60a19..b0a0facd9 100644 --- a/docs/classes/CollectionPage.html +++ b/docs/classes/CollectionPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CollegeOrUniversity.html b/docs/classes/CollegeOrUniversity.html index 0f7c9e5fb..81ee3b180 100644 --- a/docs/classes/CollegeOrUniversity.html +++ b/docs/classes/CollegeOrUniversity.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ComedyClub.html b/docs/classes/ComedyClub.html index 9c97adb96..5cb7a22f3 100644 --- a/docs/classes/ComedyClub.html +++ b/docs/classes/ComedyClub.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ComedyEvent.html b/docs/classes/ComedyEvent.html index 6dc0b3bd2..060fa54b4 100644 --- a/docs/classes/ComedyEvent.html +++ b/docs/classes/ComedyEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Comment.html b/docs/classes/Comment.html index b7e0ba7bb..03fcf8222 100644 --- a/docs/classes/Comment.html +++ b/docs/classes/Comment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CommentAction.html b/docs/classes/CommentAction.html index 5939674d6..0d23ddb3f 100644 --- a/docs/classes/CommentAction.html +++ b/docs/classes/CommentAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CommunicateAction.html b/docs/classes/CommunicateAction.html index a2d086a2d..be7f54557 100644 --- a/docs/classes/CommunicateAction.html +++ b/docs/classes/CommunicateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Competency.html b/docs/classes/Competency.html index 7a6460da2..f2ae5dd00 100644 --- a/docs/classes/Competency.html +++ b/docs/classes/Competency.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CompetencyFramework.html b/docs/classes/CompetencyFramework.html index a3d59c1e2..bb0d9e2d6 100644 --- a/docs/classes/CompetencyFramework.html +++ b/docs/classes/CompetencyFramework.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CompoundPriceSpecification.html b/docs/classes/CompoundPriceSpecification.html index 899c2bc0d..e9405969c 100644 --- a/docs/classes/CompoundPriceSpecification.html +++ b/docs/classes/CompoundPriceSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ComputerLanguage.html b/docs/classes/ComputerLanguage.html index b62ec0d6f..efb43a42b 100644 --- a/docs/classes/ComputerLanguage.html +++ b/docs/classes/ComputerLanguage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ComputerStore.html b/docs/classes/ComputerStore.html index f0dcceb67..e582a0468 100644 --- a/docs/classes/ComputerStore.html +++ b/docs/classes/ComputerStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Concept.html b/docs/classes/Concept.html index e3a92f53b..80347267a 100644 --- a/docs/classes/Concept.html +++ b/docs/classes/Concept.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConceptScheme.html b/docs/classes/ConceptScheme.html index 4a88269a5..3bad0cd1f 100644 --- a/docs/classes/ConceptScheme.html +++ b/docs/classes/ConceptScheme.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConditionManifest.html b/docs/classes/ConditionManifest.html index 7f7fee255..eac7d13cd 100644 --- a/docs/classes/ConditionManifest.html +++ b/docs/classes/ConditionManifest.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConditionProfile.html b/docs/classes/ConditionProfile.html index 0ed8ea2ae..396674256 100644 --- a/docs/classes/ConditionProfile.html +++ b/docs/classes/ConditionProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConfirmAction.html b/docs/classes/ConfirmAction.html index be3d7ac7b..118711a52 100644 --- a/docs/classes/ConfirmAction.html +++ b/docs/classes/ConfirmAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConsumeAction.html b/docs/classes/ConsumeAction.html index 9ddd72b21..7684de41b 100644 --- a/docs/classes/ConsumeAction.html +++ b/docs/classes/ConsumeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ContactPage.html b/docs/classes/ContactPage.html index 6c135cd0e..a26067930 100644 --- a/docs/classes/ContactPage.html +++ b/docs/classes/ContactPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ContactPoint.html b/docs/classes/ContactPoint.html index 3fe1f78f8..64f995084 100644 --- a/docs/classes/ContactPoint.html +++ b/docs/classes/ContactPoint.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ContactPointOption.html b/docs/classes/ContactPointOption.html index 99d7033e4..7e01bf6b3 100644 --- a/docs/classes/ContactPointOption.html +++ b/docs/classes/ContactPointOption.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Continent.html b/docs/classes/Continent.html index 3b8f50d24..37e9d7e34 100644 --- a/docs/classes/Continent.html +++ b/docs/classes/Continent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ControlAction.html b/docs/classes/ControlAction.html index 893db9a65..1b971f624 100644 --- a/docs/classes/ControlAction.html +++ b/docs/classes/ControlAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ConvenienceStore.html b/docs/classes/ConvenienceStore.html index ffbf14017..d24aa8d68 100644 --- a/docs/classes/ConvenienceStore.html +++ b/docs/classes/ConvenienceStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Conversation.html b/docs/classes/Conversation.html index f817b718f..e92921b7f 100644 --- a/docs/classes/Conversation.html +++ b/docs/classes/Conversation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CookAction.html b/docs/classes/CookAction.html index 45b721fe3..785300963 100644 --- a/docs/classes/CookAction.html +++ b/docs/classes/CookAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Corporation.html b/docs/classes/Corporation.html index 67df7ee68..f41d257ff 100644 --- a/docs/classes/Corporation.html +++ b/docs/classes/Corporation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CostManifest.html b/docs/classes/CostManifest.html index 40f4a5d12..183bc2449 100644 --- a/docs/classes/CostManifest.html +++ b/docs/classes/CostManifest.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CostProfile.html b/docs/classes/CostProfile.html index e5d4da245..7327bc499 100644 --- a/docs/classes/CostProfile.html +++ b/docs/classes/CostProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Country.html b/docs/classes/Country.html index d51b1b5e8..753adb649 100644 --- a/docs/classes/Country.html +++ b/docs/classes/Country.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Course.html b/docs/classes/Course.html index 554e2a000..2c3128b74 100644 --- a/docs/classes/Course.html +++ b/docs/classes/Course.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CourseInstance.html b/docs/classes/CourseInstance.html index edf55e48e..a348d1f88 100644 --- a/docs/classes/CourseInstance.html +++ b/docs/classes/CourseInstance.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Courthouse.html b/docs/classes/Courthouse.html index a8fe82580..44ef8dd1c 100644 --- a/docs/classes/Courthouse.html +++ b/docs/classes/Courthouse.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CreateAction.html b/docs/classes/CreateAction.html index 5873076a1..1d8dd7e63 100644 --- a/docs/classes/CreateAction.html +++ b/docs/classes/CreateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CreativeWork.html b/docs/classes/CreativeWork.html index 8047b83c9..3938ca904 100644 --- a/docs/classes/CreativeWork.html +++ b/docs/classes/CreativeWork.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CreativeWorkSeason.html b/docs/classes/CreativeWorkSeason.html index a42a2d090..a052c2b06 100644 --- a/docs/classes/CreativeWorkSeason.html +++ b/docs/classes/CreativeWorkSeason.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CreativeWorkSeries.html b/docs/classes/CreativeWorkSeries.html index e10413e1c..8c5e98143 100644 --- a/docs/classes/CreativeWorkSeries.html +++ b/docs/classes/CreativeWorkSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Credential.html b/docs/classes/Credential.html index 5e7d5516e..7ec15c6db 100644 --- a/docs/classes/Credential.html +++ b/docs/classes/Credential.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialAlignmentObject.html b/docs/classes/CredentialAlignmentObject.html index 9036564be..290be942b 100644 --- a/docs/classes/CredentialAlignmentObject.html +++ b/docs/classes/CredentialAlignmentObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialAssertion.html b/docs/classes/CredentialAssertion.html index 5b183a913..d90fd92d3 100644 --- a/docs/classes/CredentialAssertion.html +++ b/docs/classes/CredentialAssertion.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialFramework.html b/docs/classes/CredentialFramework.html index 9cbc3c09b..a1f66315d 100644 --- a/docs/classes/CredentialFramework.html +++ b/docs/classes/CredentialFramework.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialOrganization.html b/docs/classes/CredentialOrganization.html index 6679d701e..e7873822f 100644 --- a/docs/classes/CredentialOrganization.html +++ b/docs/classes/CredentialOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialPerson.html b/docs/classes/CredentialPerson.html index 8d096755b..4a27a4ce4 100644 --- a/docs/classes/CredentialPerson.html +++ b/docs/classes/CredentialPerson.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CredentialingAction.html b/docs/classes/CredentialingAction.html index a9fc01d96..788e15f2a 100644 --- a/docs/classes/CredentialingAction.html +++ b/docs/classes/CredentialingAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CreditCard.html b/docs/classes/CreditCard.html index e716dfcee..45d3fd33b 100644 --- a/docs/classes/CreditCard.html +++ b/docs/classes/CreditCard.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Crematorium.html b/docs/classes/Crematorium.html index 4a4fdf42e..c4c6b9595 100644 --- a/docs/classes/Crematorium.html +++ b/docs/classes/Crematorium.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/CurrencyConversionService.html b/docs/classes/CurrencyConversionService.html index 5f4c35693..d866fd3a1 100644 --- a/docs/classes/CurrencyConversionService.html +++ b/docs/classes/CurrencyConversionService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DanceEvent.html b/docs/classes/DanceEvent.html index fd9c506ed..b38ab6b05 100644 --- a/docs/classes/DanceEvent.html +++ b/docs/classes/DanceEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DanceGroup.html b/docs/classes/DanceGroup.html index f5ca8a266..c21ec6ec0 100644 --- a/docs/classes/DanceGroup.html +++ b/docs/classes/DanceGroup.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DataCatalog.html b/docs/classes/DataCatalog.html index e8532bc3c..249ef2e38 100644 --- a/docs/classes/DataCatalog.html +++ b/docs/classes/DataCatalog.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DataDownload.html b/docs/classes/DataDownload.html index 8cffacc83..ad1e5082c 100644 --- a/docs/classes/DataDownload.html +++ b/docs/classes/DataDownload.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DataFeed.html b/docs/classes/DataFeed.html index 7fd8044b8..b51a59536 100644 --- a/docs/classes/DataFeed.html +++ b/docs/classes/DataFeed.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DataFeedItem.html b/docs/classes/DataFeedItem.html index 29c70bde4..5d9988155 100644 --- a/docs/classes/DataFeedItem.html +++ b/docs/classes/DataFeedItem.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Dataset.html b/docs/classes/Dataset.html index 96b6b31cf..8adfdd277 100644 --- a/docs/classes/Dataset.html +++ b/docs/classes/Dataset.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DatedMoneySpecification.html b/docs/classes/DatedMoneySpecification.html index 8520e76aa..d219d2c69 100644 --- a/docs/classes/DatedMoneySpecification.html +++ b/docs/classes/DatedMoneySpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DayOfWeek.html b/docs/classes/DayOfWeek.html index 4f596c15e..74ed20874 100644 --- a/docs/classes/DayOfWeek.html +++ b/docs/classes/DayOfWeek.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DaySpa.html b/docs/classes/DaySpa.html index 7d02a7872..94118325b 100644 --- a/docs/classes/DaySpa.html +++ b/docs/classes/DaySpa.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DeactivateAction.html b/docs/classes/DeactivateAction.html index c9521559c..9e7b48c31 100644 --- a/docs/classes/DeactivateAction.html +++ b/docs/classes/DeactivateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DefenceEstablishment.html b/docs/classes/DefenceEstablishment.html index beedd28bb..76c8495ab 100644 --- a/docs/classes/DefenceEstablishment.html +++ b/docs/classes/DefenceEstablishment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Degree.html b/docs/classes/Degree.html index 7f017c8c9..cf0ea66fb 100644 --- a/docs/classes/Degree.html +++ b/docs/classes/Degree.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DeleteAction.html b/docs/classes/DeleteAction.html index 749dd7ae1..9db7d8442 100644 --- a/docs/classes/DeleteAction.html +++ b/docs/classes/DeleteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DeliveryChargeSpecification.html b/docs/classes/DeliveryChargeSpecification.html index 4d5cb208f..984d42db7 100644 --- a/docs/classes/DeliveryChargeSpecification.html +++ b/docs/classes/DeliveryChargeSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DeliveryEvent.html b/docs/classes/DeliveryEvent.html index 75c3be60b..e9788120e 100644 --- a/docs/classes/DeliveryEvent.html +++ b/docs/classes/DeliveryEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DeliveryMethod.html b/docs/classes/DeliveryMethod.html index f2d336dd0..e4211aa84 100644 --- a/docs/classes/DeliveryMethod.html +++ b/docs/classes/DeliveryMethod.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Demand.html b/docs/classes/Demand.html index e4421fa77..3767eea94 100644 --- a/docs/classes/Demand.html +++ b/docs/classes/Demand.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Dentist.html b/docs/classes/Dentist.html index 34ed718d0..9d32bb28b 100644 --- a/docs/classes/Dentist.html +++ b/docs/classes/Dentist.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DepartAction.html b/docs/classes/DepartAction.html index 715f3b623..3e1b9147d 100644 --- a/docs/classes/DepartAction.html +++ b/docs/classes/DepartAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DepartmentStore.html b/docs/classes/DepartmentStore.html index 329cee69d..5d93f6a61 100644 --- a/docs/classes/DepartmentStore.html +++ b/docs/classes/DepartmentStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DepositAccount.html b/docs/classes/DepositAccount.html index eed8b7ad7..aa3ea6c4f 100644 --- a/docs/classes/DepositAccount.html +++ b/docs/classes/DepositAccount.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DigitalBadge.html b/docs/classes/DigitalBadge.html index 6de2f473d..f671da2cf 100644 --- a/docs/classes/DigitalBadge.html +++ b/docs/classes/DigitalBadge.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DigitalDocument.html b/docs/classes/DigitalDocument.html index 816cb4bbb..98f0409d2 100644 --- a/docs/classes/DigitalDocument.html +++ b/docs/classes/DigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DigitalDocumentPermission.html b/docs/classes/DigitalDocumentPermission.html index c1eb7fb33..7f748791f 100644 --- a/docs/classes/DigitalDocumentPermission.html +++ b/docs/classes/DigitalDocumentPermission.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DigitalDocumentPermissionType.html b/docs/classes/DigitalDocumentPermissionType.html index e861a1282..ece188abb 100644 --- a/docs/classes/DigitalDocumentPermissionType.html +++ b/docs/classes/DigitalDocumentPermissionType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Diploma.html b/docs/classes/Diploma.html index ccfe21192..fbb2f4d1a 100644 --- a/docs/classes/Diploma.html +++ b/docs/classes/Diploma.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DisagreeAction.html b/docs/classes/DisagreeAction.html index ce99929be..b4a5dc9b5 100644 --- a/docs/classes/DisagreeAction.html +++ b/docs/classes/DisagreeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DiscoverAction.html b/docs/classes/DiscoverAction.html index b6968f844..2c412080e 100644 --- a/docs/classes/DiscoverAction.html +++ b/docs/classes/DiscoverAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DiscussionForumPosting.html b/docs/classes/DiscussionForumPosting.html index f728a2b4f..df6be1b8a 100644 --- a/docs/classes/DiscussionForumPosting.html +++ b/docs/classes/DiscussionForumPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DislikeAction.html b/docs/classes/DislikeAction.html index df6272a88..86650c993 100644 --- a/docs/classes/DislikeAction.html +++ b/docs/classes/DislikeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Distance.html b/docs/classes/Distance.html index 9a4b5f2e7..6c9c7145c 100644 --- a/docs/classes/Distance.html +++ b/docs/classes/Distance.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DoctoralDegree.html b/docs/classes/DoctoralDegree.html index 6a88d779b..34daf7a2b 100644 --- a/docs/classes/DoctoralDegree.html +++ b/docs/classes/DoctoralDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DonateAction.html b/docs/classes/DonateAction.html index c457ebce1..89bd5fb92 100644 --- a/docs/classes/DonateAction.html +++ b/docs/classes/DonateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DownloadAction.html b/docs/classes/DownloadAction.html index aeace8ebe..5867534a6 100644 --- a/docs/classes/DownloadAction.html +++ b/docs/classes/DownloadAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DrawAction.html b/docs/classes/DrawAction.html index f35360efa..6335e7956 100644 --- a/docs/classes/DrawAction.html +++ b/docs/classes/DrawAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DrinkAction.html b/docs/classes/DrinkAction.html index 787923911..9e884597a 100644 --- a/docs/classes/DrinkAction.html +++ b/docs/classes/DrinkAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DriveWheelConfigurationValue.html b/docs/classes/DriveWheelConfigurationValue.html index 4e62926d3..80325bcca 100644 --- a/docs/classes/DriveWheelConfigurationValue.html +++ b/docs/classes/DriveWheelConfigurationValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DryCleaningOrLaundry.html b/docs/classes/DryCleaningOrLaundry.html index d0bcc7b8b..6fab60e2e 100644 --- a/docs/classes/DryCleaningOrLaundry.html +++ b/docs/classes/DryCleaningOrLaundry.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Duration.html b/docs/classes/Duration.html index 8e45740ab..2ee523e63 100644 --- a/docs/classes/Duration.html +++ b/docs/classes/Duration.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/DurationProfile.html b/docs/classes/DurationProfile.html index c3849d640..6a9938b87 100644 --- a/docs/classes/DurationProfile.html +++ b/docs/classes/DurationProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EarningsProfile.html b/docs/classes/EarningsProfile.html index f855f2731..8613179be 100644 --- a/docs/classes/EarningsProfile.html +++ b/docs/classes/EarningsProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EatAction.html b/docs/classes/EatAction.html index a50362b0b..044e56964 100644 --- a/docs/classes/EatAction.html +++ b/docs/classes/EatAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Ebac.html b/docs/classes/Ebac.html index 7b1c71fe2..4ce4e4aa3 100644 --- a/docs/classes/Ebac.html +++ b/docs/classes/Ebac.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacContact.html b/docs/classes/EbacContact.html index 5f7eb29a1..3a02b070b 100644 --- a/docs/classes/EbacContact.html +++ b/docs/classes/EbacContact.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacContactGrant.html b/docs/classes/EbacContactGrant.html index 2ceea4e4f..68bb7e3f9 100644 --- a/docs/classes/EbacContactGrant.html +++ b/docs/classes/EbacContactGrant.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacCredential.html b/docs/classes/EbacCredential.html index 91cc89c9c..b15f6868e 100644 --- a/docs/classes/EbacCredential.html +++ b/docs/classes/EbacCredential.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacCredentialCommit.html b/docs/classes/EbacCredentialCommit.html index a1c4ea510..7a31b169f 100644 --- a/docs/classes/EbacCredentialCommit.html +++ b/docs/classes/EbacCredentialCommit.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacCredentialRequest.html b/docs/classes/EbacCredentialRequest.html index 2e47dbe84..a550a902a 100644 --- a/docs/classes/EbacCredentialRequest.html +++ b/docs/classes/EbacCredentialRequest.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacCredentials.html b/docs/classes/EbacCredentials.html index 4b0809720..369da42e0 100644 --- a/docs/classes/EbacCredentials.html +++ b/docs/classes/EbacCredentials.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacEncryptedSecret.html b/docs/classes/EbacEncryptedSecret.html index fd40f1db4..2ad80447e 100644 --- a/docs/classes/EbacEncryptedSecret.html +++ b/docs/classes/EbacEncryptedSecret.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacEncryptedValue.html b/docs/classes/EbacEncryptedValue.html index c77e0fcc0..cfb3a0c61 100644 --- a/docs/classes/EbacEncryptedValue.html +++ b/docs/classes/EbacEncryptedValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EbacSignature.html b/docs/classes/EbacSignature.html index 814898237..cdddd9c8d 100644 --- a/docs/classes/EbacSignature.html +++ b/docs/classes/EbacSignature.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAes.html b/docs/classes/EcAes.html index 057730a25..1277affa9 100644 --- a/docs/classes/EcAes.html +++ b/docs/classes/EcAes.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAesCtr.html b/docs/classes/EcAesCtr.html index 4bddc4727..37909f9e6 100644 --- a/docs/classes/EcAesCtr.html +++ b/docs/classes/EcAesCtr.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAesCtrAsync.html b/docs/classes/EcAesCtrAsync.html index 305c1ad64..f07230928 100644 --- a/docs/classes/EcAesCtrAsync.html +++ b/docs/classes/EcAesCtrAsync.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAesCtrAsyncWorker.html b/docs/classes/EcAesCtrAsyncWorker.html index 8cea7b497..4be1e49e1 100644 --- a/docs/classes/EcAesCtrAsyncWorker.html +++ b/docs/classes/EcAesCtrAsyncWorker.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAlignment.html b/docs/classes/EcAlignment.html index c29a1df4e..9edd3c8c6 100644 --- a/docs/classes/EcAlignment.html +++ b/docs/classes/EcAlignment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcArray.html b/docs/classes/EcArray.html index 9de5e8472..61c4c9cf6 100644 --- a/docs/classes/EcArray.html +++ b/docs/classes/EcArray.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcAsyncHelper.html b/docs/classes/EcAsyncHelper.html index cd908cd9b..5cafd1490 100644 --- a/docs/classes/EcAsyncHelper.html +++ b/docs/classes/EcAsyncHelper.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

EcAsyncHelper Class

- Defined in: src/main/js/cass/ec.base.js:1629 + Defined in: src/main/js/cass/ec.base.js:1634
Module: com.eduworks.ec @@ -925,7 +925,7 @@

each

Defined in - src/main/js/cass/ec.base.js:1654 + src/main/js/cass/ec.base.js:1659

@@ -1007,7 +1007,7 @@

each

Defined in - src/main/js/cass/ec.base.js:1673 + src/main/js/cass/ec.base.js:1678

@@ -1080,7 +1080,7 @@

isStopped

Defined in - src/main/js/cass/ec.base.js:1740 + src/main/js/cass/ec.base.js:1745

@@ -1119,7 +1119,7 @@

stop

Defined in - src/main/js/cass/ec.base.js:1722 + src/main/js/cass/ec.base.js:1727

@@ -1150,7 +1150,7 @@

stop

Defined in - src/main/js/cass/ec.base.js:1731 + src/main/js/cass/ec.base.js:1736

@@ -1182,7 +1182,7 @@

counter

Defined in - src/main/js/cass/ec.base.js:1647 + src/main/js/cass/ec.base.js:1652

diff --git a/docs/classes/EcCompetency.html b/docs/classes/EcCompetency.html index abc8539e4..cb7642efa 100644 --- a/docs/classes/EcCompetency.html +++ b/docs/classes/EcCompetency.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcContact.html b/docs/classes/EcContact.html index ff2a633f2..10b4f90e7 100644 --- a/docs/classes/EcContact.html +++ b/docs/classes/EcContact.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcCrypto.html b/docs/classes/EcCrypto.html index 353ba5f2f..a50a19685 100644 --- a/docs/classes/EcCrypto.html +++ b/docs/classes/EcCrypto.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcDirectedGraph.html b/docs/classes/EcDirectedGraph.html index 16b40dfa3..23b03cd1c 100644 --- a/docs/classes/EcDirectedGraph.html +++ b/docs/classes/EcDirectedGraph.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -828,7 +828,7 @@

EcDirectedGraph Class

Module: com.eduworks.ec @@ -1053,7 +1053,7 @@

addEdge

Inherited from Graph: - src/main/js/cass/ec.base.js:1165 + src/main/js/cass/ec.base.js:1170

@@ -1772,7 +1772,7 @@

getDest

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1132 + src/main/js/cass/ec.base.js:1137

@@ -2338,7 +2338,7 @@

getInEdges

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1017 + src/main/js/cass/ec.base.js:1022

@@ -2547,7 +2547,7 @@

getOpposite

Inherited from Graph: - src/main/js/cass/ec.base.js:1186 + src/main/js/cass/ec.base.js:1191

@@ -2627,7 +2627,7 @@

getOutEdges

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1027 + src/main/js/cass/ec.base.js:1032

@@ -2694,7 +2694,7 @@

getPredecessorCount

Inherited from Graph: - src/main/js/cass/ec.base.js:1101 + src/main/js/cass/ec.base.js:1106

@@ -2763,7 +2763,7 @@

getPredecessors

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1037 + src/main/js/cass/ec.base.js:1042

@@ -2836,7 +2836,7 @@

getSource

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1119 + src/main/js/cass/ec.base.js:1124

@@ -2905,7 +2905,7 @@

getSuccessorCount

Inherited from Graph: - src/main/js/cass/ec.base.js:1110 + src/main/js/cass/ec.base.js:1115

@@ -2974,7 +2974,7 @@

getSuccessors

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1050 + src/main/js/cass/ec.base.js:1055

@@ -3133,7 +3133,7 @@

inDegree

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1063 + src/main/js/cass/ec.base.js:1068

@@ -3364,7 +3364,7 @@

isPredecessor

Inherited from Graph: - src/main/js/cass/ec.base.js:1081 + src/main/js/cass/ec.base.js:1086

@@ -3444,7 +3444,7 @@

isSource

Inherited from Graph: - src/main/js/cass/ec.base.js:1146 + src/main/js/cass/ec.base.js:1151

@@ -3524,7 +3524,7 @@

isSuccessor

Inherited from Graph: - src/main/js/cass/ec.base.js:1091 + src/main/js/cass/ec.base.js:1096

@@ -3604,7 +3604,7 @@

outDegree

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1072 + src/main/js/cass/ec.base.js:1077

diff --git a/docs/classes/EcEncryptedValue.html b/docs/classes/EcEncryptedValue.html index de7bbd10f..ae2b6f75d 100644 --- a/docs/classes/EcEncryptedValue.html +++ b/docs/classes/EcEncryptedValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcFile.html b/docs/classes/EcFile.html index a96a2edac..339e08c12 100644 --- a/docs/classes/EcFile.html +++ b/docs/classes/EcFile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

EcFile Class

Module: com.eduworks.ec @@ -911,7 +911,7 @@

_delete

Defined in - src/main/js/cass/ebac.repository.js:2583 + src/main/js/cass/ebac.repository.js:2588

@@ -986,7 +986,7 @@

create

Defined in - src/main/js/cass/ebac.repository.js:2497 + src/main/js/cass/ebac.repository.js:2502

@@ -1078,7 +1078,7 @@

get

Defined in - src/main/js/cass/ebac.repository.js:2519 + src/main/js/cass/ebac.repository.js:2524

@@ -1158,7 +1158,7 @@

save

Defined in - src/main/js/cass/ebac.repository.js:2562 + src/main/js/cass/ebac.repository.js:2567

@@ -1236,7 +1236,7 @@

search

Defined in - src/main/js/cass/ebac.repository.js:2539 + src/main/js/cass/ebac.repository.js:2544

diff --git a/docs/classes/EcFramework.html b/docs/classes/EcFramework.html index 7037aefa3..c895a99da 100644 --- a/docs/classes/EcFramework.html +++ b/docs/classes/EcFramework.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcFrameworkGraph.html b/docs/classes/EcFrameworkGraph.html index f92a5a684..f5bc4a146 100644 --- a/docs/classes/EcFrameworkGraph.html +++ b/docs/classes/EcFrameworkGraph.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -992,7 +992,7 @@

getMetaStateCompetency

Defined in - src/main/js/cass/cass.rollup.js:2797 + src/main/js/cass/cass.rollup.js:2804

diff --git a/docs/classes/EcIdentity.html b/docs/classes/EcIdentity.html index 6a5e8d71a..e15c9e745 100644 --- a/docs/classes/EcIdentity.html +++ b/docs/classes/EcIdentity.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcIdentityManager.html b/docs/classes/EcIdentityManager.html index d95f007e8..9449e8ca0 100644 --- a/docs/classes/EcIdentityManager.html +++ b/docs/classes/EcIdentityManager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcLevel.html b/docs/classes/EcLevel.html index 6d537837d..7824859f1 100644 --- a/docs/classes/EcLevel.html +++ b/docs/classes/EcLevel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcLinkedData.html b/docs/classes/EcLinkedData.html index b1fac2706..dcd6bf9d3 100644 --- a/docs/classes/EcLinkedData.html +++ b/docs/classes/EcLinkedData.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcModal.html b/docs/classes/EcModal.html index f36f42d8d..a9ddaa2b1 100644 --- a/docs/classes/EcModal.html +++ b/docs/classes/EcModal.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcObject.html b/docs/classes/EcObject.html index 6aeb6054d..4b62d8816 100644 --- a/docs/classes/EcObject.html +++ b/docs/classes/EcObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

EcObject Class

Module: com.eduworks.ec @@ -899,7 +899,7 @@

isArray

Defined in - src/main/js/cass/ec.base.js:1206 + src/main/js/cass/ec.base.js:1211

@@ -965,7 +965,7 @@

keys

Defined in - src/main/js/cass/ec.base.js:1221 + src/main/js/cass/ec.base.js:1226

diff --git a/docs/classes/EcOverlay.html b/docs/classes/EcOverlay.html index 2252a7761..04b97f82b 100644 --- a/docs/classes/EcOverlay.html +++ b/docs/classes/EcOverlay.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcPk.html b/docs/classes/EcPk.html index 2dab4f9f5..7e44f5377 100644 --- a/docs/classes/EcPk.html +++ b/docs/classes/EcPk.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcPpk.html b/docs/classes/EcPpk.html index de9be8fe1..6c2614d5d 100644 --- a/docs/classes/EcPpk.html +++ b/docs/classes/EcPpk.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRemote.html b/docs/classes/EcRemote.html index 074e4cd38..481dab3d2 100644 --- a/docs/classes/EcRemote.html +++ b/docs/classes/EcRemote.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -942,7 +942,7 @@

_delete

Defined in - src/main/js/cass/ec.base.js:893 + src/main/js/cass/ec.base.js:898

diff --git a/docs/classes/EcRemoteIdentityManager.html b/docs/classes/EcRemoteIdentityManager.html index 03de6aff2..dd76ae73e 100644 --- a/docs/classes/EcRemoteIdentityManager.html +++ b/docs/classes/EcRemoteIdentityManager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRemoteLinkedData.html b/docs/classes/EcRemoteLinkedData.html index 5d1cf7339..db95a58fe 100644 --- a/docs/classes/EcRemoteLinkedData.html +++ b/docs/classes/EcRemoteLinkedData.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRepository.html b/docs/classes/EcRepository.html index 44a14cb33..b6805678e 100644 --- a/docs/classes/EcRepository.html +++ b/docs/classes/EcRepository.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -1016,7 +1016,7 @@

_delete

Defined in - src/main/js/cass/ebac.repository.js:1543 + src/main/js/cass/ebac.repository.js:1545

@@ -1263,7 +1263,7 @@

autoDetectRepository

Defined in - src/main/js/cass/ebac.repository.js:2052 + src/main/js/cass/ebac.repository.js:2056

@@ -1295,7 +1295,7 @@

autoDetectRepository

Defined in - src/main/js/cass/ebac.repository.js:2126 + src/main/js/cass/ebac.repository.js:2130

@@ -1337,7 +1337,7 @@

autoDetectRepositoryActual

Defined in - src/main/js/cass/ebac.repository.js:2243 + src/main/js/cass/ebac.repository.js:2247

@@ -1404,7 +1404,7 @@

autoDetectRepositoryAsync

Defined in - src/main/js/cass/ebac.repository.js:2197 + src/main/js/cass/ebac.repository.js:2201

@@ -1473,7 +1473,7 @@

backup

Defined in - src/main/js/cass/ebac.repository.js:2306 + src/main/js/cass/ebac.repository.js:2310

@@ -1556,7 +1556,7 @@

DELETE

Defined in - src/main/js/cass/ebac.repository.js:1561 + src/main/js/cass/ebac.repository.js:1563

@@ -1643,7 +1643,7 @@

DELETE

Defined in - src/main/js/cass/ebac.repository.js:1615 + src/main/js/cass/ebac.repository.js:1617

@@ -1793,7 +1793,7 @@

fetchServerAdminKeys

Defined in - src/main/js/cass/ebac.repository.js:2379 + src/main/js/cass/ebac.repository.js:2384

@@ -2024,7 +2024,7 @@

handleSearchResults

Defined in - src/main/js/cass/ebac.repository.js:2342 + src/main/js/cass/ebac.repository.js:2346

@@ -2116,7 +2116,7 @@

listTypes

Defined in - src/main/js/cass/ebac.repository.js:2286 + src/main/js/cass/ebac.repository.js:2290

@@ -2191,7 +2191,7 @@

multiget

Defined in - src/main/js/cass/ebac.repository.js:1746 + src/main/js/cass/ebac.repository.js:1750

@@ -2372,7 +2372,7 @@

precache

Defined in - src/main/js/cass/ebac.repository.js:1663 + src/main/js/cass/ebac.repository.js:1666

@@ -2443,7 +2443,7 @@

precachePost

Defined in - src/main/js/cass/ebac.repository.js:1708 + src/main/js/cass/ebac.repository.js:1711

@@ -2517,7 +2517,7 @@

restoreBackup

Defined in - src/main/js/cass/ebac.repository.js:2318 + src/main/js/cass/ebac.repository.js:2322

@@ -2768,7 +2768,7 @@

search

Defined in - src/main/js/cass/ebac.repository.js:1810 + src/main/js/cass/ebac.repository.js:1814

@@ -2841,7 +2841,7 @@

search

Defined in - src/main/js/cass/ebac.repository.js:1792 + src/main/js/cass/ebac.repository.js:1796

@@ -2938,7 +2938,7 @@

searchWithParams

Defined in - src/main/js/cass/ebac.repository.js:1934 + src/main/js/cass/ebac.repository.js:1938

@@ -3026,7 +3026,7 @@

searchWithParams

Defined in - src/main/js/cass/ebac.repository.js:1824 + src/main/js/cass/ebac.repository.js:1828

@@ -3135,7 +3135,7 @@

wipe

Defined in - src/main/js/cass/ebac.repository.js:2330 + src/main/js/cass/ebac.repository.js:2334

diff --git a/docs/classes/EcRollupRule.html b/docs/classes/EcRollupRule.html index bf014979e..d196e41ff 100644 --- a/docs/classes/EcRollupRule.html +++ b/docs/classes/EcRollupRule.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRsaOaep.html b/docs/classes/EcRsaOaep.html index ac5277a25..17e191bf7 100644 --- a/docs/classes/EcRsaOaep.html +++ b/docs/classes/EcRsaOaep.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRsaOaepAsync.html b/docs/classes/EcRsaOaepAsync.html index 831451c8a..7416adc39 100644 --- a/docs/classes/EcRsaOaepAsync.html +++ b/docs/classes/EcRsaOaepAsync.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcRsaOaepAsyncWorker.html b/docs/classes/EcRsaOaepAsyncWorker.html index cb4c49617..89768b150 100644 --- a/docs/classes/EcRsaOaepAsyncWorker.html +++ b/docs/classes/EcRsaOaepAsyncWorker.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcScreen.html b/docs/classes/EcScreen.html index 0cfbeb418..daae2d350 100644 --- a/docs/classes/EcScreen.html +++ b/docs/classes/EcScreen.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EcView.html b/docs/classes/EcView.html index 9fd5663ec..4a0178b27 100644 --- a/docs/classes/EcView.html +++ b/docs/classes/EcView.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EducationEvent.html b/docs/classes/EducationEvent.html index 128248fce..9fa9749a5 100644 --- a/docs/classes/EducationEvent.html +++ b/docs/classes/EducationEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EducationalAudience.html b/docs/classes/EducationalAudience.html index 664b0a7f5..3fd5b358b 100644 --- a/docs/classes/EducationalAudience.html +++ b/docs/classes/EducationalAudience.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EducationalOrganization.html b/docs/classes/EducationalOrganization.html index cbc5ae324..182709ca2 100644 --- a/docs/classes/EducationalOrganization.html +++ b/docs/classes/EducationalOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Electrician.html b/docs/classes/Electrician.html index eda105e04..6a04e1084 100644 --- a/docs/classes/Electrician.html +++ b/docs/classes/Electrician.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ElectronicsStore.html b/docs/classes/ElectronicsStore.html index aa0c9161c..a2cf945b7 100644 --- a/docs/classes/ElectronicsStore.html +++ b/docs/classes/ElectronicsStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ElementarySchool.html b/docs/classes/ElementarySchool.html index 16b9379cf..ce4bc894a 100644 --- a/docs/classes/ElementarySchool.html +++ b/docs/classes/ElementarySchool.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EmailMessage.html b/docs/classes/EmailMessage.html index a77bfa86c..2d96735ba 100644 --- a/docs/classes/EmailMessage.html +++ b/docs/classes/EmailMessage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Embassy.html b/docs/classes/Embassy.html index db6896184..059d7321a 100644 --- a/docs/classes/Embassy.html +++ b/docs/classes/Embassy.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EmergencyService.html b/docs/classes/EmergencyService.html index c885599d7..c372ffc08 100644 --- a/docs/classes/EmergencyService.html +++ b/docs/classes/EmergencyService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EmployeeRole.html b/docs/classes/EmployeeRole.html index 7d87efc47..2c1352e82 100644 --- a/docs/classes/EmployeeRole.html +++ b/docs/classes/EmployeeRole.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EmploymentAgency.html b/docs/classes/EmploymentAgency.html index 1f3d7ee5a..5528aa496 100644 --- a/docs/classes/EmploymentAgency.html +++ b/docs/classes/EmploymentAgency.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EmploymentOutcomeProfile.html b/docs/classes/EmploymentOutcomeProfile.html index cdfb807d7..6f642f0d6 100644 --- a/docs/classes/EmploymentOutcomeProfile.html +++ b/docs/classes/EmploymentOutcomeProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EndorseAction.html b/docs/classes/EndorseAction.html index 5d3d24569..449176650 100644 --- a/docs/classes/EndorseAction.html +++ b/docs/classes/EndorseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Energy.html b/docs/classes/Energy.html index 3e726e974..934c25ac2 100644 --- a/docs/classes/Energy.html +++ b/docs/classes/Energy.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EngineSpecification.html b/docs/classes/EngineSpecification.html index 5f503b578..912199a83 100644 --- a/docs/classes/EngineSpecification.html +++ b/docs/classes/EngineSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EntertainmentBusiness.html b/docs/classes/EntertainmentBusiness.html index 312ed810c..5b3346d00 100644 --- a/docs/classes/EntertainmentBusiness.html +++ b/docs/classes/EntertainmentBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EntryPoint.html b/docs/classes/EntryPoint.html index b479b9e46..a0a7150c5 100644 --- a/docs/classes/EntryPoint.html +++ b/docs/classes/EntryPoint.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Enumeration.html b/docs/classes/Enumeration.html index 4fa6a29de..cb2f2e9da 100644 --- a/docs/classes/Enumeration.html +++ b/docs/classes/Enumeration.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Episode.html b/docs/classes/Episode.html index f8ab7c705..df64d68fe 100644 --- a/docs/classes/Episode.html +++ b/docs/classes/Episode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Event.html b/docs/classes/Event.html index 509e2764a..e0b86f46e 100644 --- a/docs/classes/Event.html +++ b/docs/classes/Event.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EventReservation.html b/docs/classes/EventReservation.html index c6b14833c..e120db416 100644 --- a/docs/classes/EventReservation.html +++ b/docs/classes/EventReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EventStatusType.html b/docs/classes/EventStatusType.html index 79d49aa55..81bf60184 100644 --- a/docs/classes/EventStatusType.html +++ b/docs/classes/EventStatusType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/EventVenue.html b/docs/classes/EventVenue.html index f1817fd77..513b0cb9b 100644 --- a/docs/classes/EventVenue.html +++ b/docs/classes/EventVenue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ExerciseAction.html b/docs/classes/ExerciseAction.html index f59e8e1bd..59693e606 100644 --- a/docs/classes/ExerciseAction.html +++ b/docs/classes/ExerciseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ExerciseGym.html b/docs/classes/ExerciseGym.html index 275f17071..bcea9333b 100644 --- a/docs/classes/ExerciseGym.html +++ b/docs/classes/ExerciseGym.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ExhibitionEvent.html b/docs/classes/ExhibitionEvent.html index 819686060..22b8025c0 100644 --- a/docs/classes/ExhibitionEvent.html +++ b/docs/classes/ExhibitionEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Exporter.html b/docs/classes/Exporter.html index 37edc054e..1525cb5a1 100644 --- a/docs/classes/Exporter.html +++ b/docs/classes/Exporter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FastFoodRestaurant.html b/docs/classes/FastFoodRestaurant.html index eea6b17d6..3d4fc46ca 100644 --- a/docs/classes/FastFoodRestaurant.html +++ b/docs/classes/FastFoodRestaurant.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Festival.html b/docs/classes/Festival.html index 858aca5a7..76ccf348b 100644 --- a/docs/classes/Festival.html +++ b/docs/classes/Festival.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FilmAction.html b/docs/classes/FilmAction.html index ea9435a99..2167c5f00 100644 --- a/docs/classes/FilmAction.html +++ b/docs/classes/FilmAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FinancialAlignmentObject.html b/docs/classes/FinancialAlignmentObject.html index 8643b12c5..600567f67 100644 --- a/docs/classes/FinancialAlignmentObject.html +++ b/docs/classes/FinancialAlignmentObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FinancialAssistanceProfile.html b/docs/classes/FinancialAssistanceProfile.html index 47322e722..2db98897d 100644 --- a/docs/classes/FinancialAssistanceProfile.html +++ b/docs/classes/FinancialAssistanceProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FinancialProduct.html b/docs/classes/FinancialProduct.html index c69dd255a..8abf11d26 100644 --- a/docs/classes/FinancialProduct.html +++ b/docs/classes/FinancialProduct.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FinancialService.html b/docs/classes/FinancialService.html index 78cd4244e..d4512aa20 100644 --- a/docs/classes/FinancialService.html +++ b/docs/classes/FinancialService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FindAction.html b/docs/classes/FindAction.html index 19358f39f..184f3a662 100644 --- a/docs/classes/FindAction.html +++ b/docs/classes/FindAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FireStation.html b/docs/classes/FireStation.html index e48b44daf..562d5a91b 100644 --- a/docs/classes/FireStation.html +++ b/docs/classes/FireStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Flight.html b/docs/classes/Flight.html index 9921ce7d8..bd8234e07 100644 --- a/docs/classes/Flight.html +++ b/docs/classes/Flight.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FlightReservation.html b/docs/classes/FlightReservation.html index abbd5f85c..a3d40b7e8 100644 --- a/docs/classes/FlightReservation.html +++ b/docs/classes/FlightReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Florist.html b/docs/classes/Florist.html index e8e58520f..159a17a40 100644 --- a/docs/classes/Florist.html +++ b/docs/classes/Florist.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FollowAction.html b/docs/classes/FollowAction.html index 67dd84a75..d2ae459ed 100644 --- a/docs/classes/FollowAction.html +++ b/docs/classes/FollowAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FoodEstablishment.html b/docs/classes/FoodEstablishment.html index 88aaf3db5..a39f28b22 100644 --- a/docs/classes/FoodEstablishment.html +++ b/docs/classes/FoodEstablishment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FoodEstablishmentReservation.html b/docs/classes/FoodEstablishmentReservation.html index 8550ad955..7fc2c7ec1 100644 --- a/docs/classes/FoodEstablishmentReservation.html +++ b/docs/classes/FoodEstablishmentReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FoodEvent.html b/docs/classes/FoodEvent.html index b0d5aeb35..81e37c231 100644 --- a/docs/classes/FoodEvent.html +++ b/docs/classes/FoodEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FoodService.html b/docs/classes/FoodService.html index 8d387c877..0b9f5d2d6 100644 --- a/docs/classes/FoodService.html +++ b/docs/classes/FoodService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Framework.html b/docs/classes/Framework.html index fc6724014..9f50702f4 100644 --- a/docs/classes/Framework.html +++ b/docs/classes/Framework.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/FrameworkImport.html b/docs/classes/FrameworkImport.html index 5bf7d45b2..b08654362 100644 --- a/docs/classes/FrameworkImport.html +++ b/docs/classes/FrameworkImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

FrameworkImport Class

- Defined in: src/main/js/cass/cass.import.js:674 + Defined in: src/main/js/cass/cass.import.js:679
Module: org.cassproject @@ -910,7 +910,7 @@

importCompetencies

Defined in - src/main/js/cass/cass.import.js:692 + src/main/js/cass/cass.import.js:697

diff --git a/docs/classes/FurnitureStore.html b/docs/classes/FurnitureStore.html index 5a604d209..6a74be128 100644 --- a/docs/classes/FurnitureStore.html +++ b/docs/classes/FurnitureStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Game.html b/docs/classes/Game.html index 3f2e66317..0f159e8cf 100644 --- a/docs/classes/Game.html +++ b/docs/classes/Game.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GamePlayMode.html b/docs/classes/GamePlayMode.html index 45fc99207..3e39e6a08 100644 --- a/docs/classes/GamePlayMode.html +++ b/docs/classes/GamePlayMode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GameServer.html b/docs/classes/GameServer.html index b465c2b03..5b67569b1 100644 --- a/docs/classes/GameServer.html +++ b/docs/classes/GameServer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GameServerStatus.html b/docs/classes/GameServerStatus.html index 660f39187..16c0453df 100644 --- a/docs/classes/GameServerStatus.html +++ b/docs/classes/GameServerStatus.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GardenStore.html b/docs/classes/GardenStore.html index 2f474cbf3..8ec853fb4 100644 --- a/docs/classes/GardenStore.html +++ b/docs/classes/GardenStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GasStation.html b/docs/classes/GasStation.html index b656e6d1b..c0bc9e0c3 100644 --- a/docs/classes/GasStation.html +++ b/docs/classes/GasStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GatedResidenceCommunity.html b/docs/classes/GatedResidenceCommunity.html index f6607f90c..54bd76e38 100644 --- a/docs/classes/GatedResidenceCommunity.html +++ b/docs/classes/GatedResidenceCommunity.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GenderType.html b/docs/classes/GenderType.html index f39d7c325..8631a4991 100644 --- a/docs/classes/GenderType.html +++ b/docs/classes/GenderType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/General.html b/docs/classes/General.html index f5e222bf4..2cb7c76d5 100644 --- a/docs/classes/General.html +++ b/docs/classes/General.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeneralContractor.html b/docs/classes/GeneralContractor.html index ab76c640c..91e4be0c3 100644 --- a/docs/classes/GeneralContractor.html +++ b/docs/classes/GeneralContractor.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeneralEducationDevelopment.html b/docs/classes/GeneralEducationDevelopment.html index 93689f6f9..ec66c64cf 100644 --- a/docs/classes/GeneralEducationDevelopment.html +++ b/docs/classes/GeneralEducationDevelopment.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeneralFile.html b/docs/classes/GeneralFile.html index 10be7bae4..6f3e8192d 100644 --- a/docs/classes/GeneralFile.html +++ b/docs/classes/GeneralFile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeoCircle.html b/docs/classes/GeoCircle.html index dbc803bc1..cd494d5e6 100644 --- a/docs/classes/GeoCircle.html +++ b/docs/classes/GeoCircle.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeoCoordinates.html b/docs/classes/GeoCoordinates.html index 6baa3cd31..e4adb84aa 100644 --- a/docs/classes/GeoCoordinates.html +++ b/docs/classes/GeoCoordinates.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GeoShape.html b/docs/classes/GeoShape.html index 2970534e0..7eb36d2eb 100644 --- a/docs/classes/GeoShape.html +++ b/docs/classes/GeoShape.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GiveAction.html b/docs/classes/GiveAction.html index 9fa29bb83..124f4133d 100644 --- a/docs/classes/GiveAction.html +++ b/docs/classes/GiveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GolfCourse.html b/docs/classes/GolfCourse.html index b176164cf..c590f6f55 100644 --- a/docs/classes/GolfCourse.html +++ b/docs/classes/GolfCourse.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GovernmentBuilding.html b/docs/classes/GovernmentBuilding.html index fae2b13e2..d38c08a38 100644 --- a/docs/classes/GovernmentBuilding.html +++ b/docs/classes/GovernmentBuilding.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GovernmentOffice.html b/docs/classes/GovernmentOffice.html index 36234e230..92c21ddbd 100644 --- a/docs/classes/GovernmentOffice.html +++ b/docs/classes/GovernmentOffice.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GovernmentOrganization.html b/docs/classes/GovernmentOrganization.html index 1710043c3..24fad39d4 100644 --- a/docs/classes/GovernmentOrganization.html +++ b/docs/classes/GovernmentOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GovernmentPermit.html b/docs/classes/GovernmentPermit.html index f3a1379d8..a156fa11f 100644 --- a/docs/classes/GovernmentPermit.html +++ b/docs/classes/GovernmentPermit.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/GovernmentService.html b/docs/classes/GovernmentService.html index 7b82ccea0..6126058e2 100644 --- a/docs/classes/GovernmentService.html +++ b/docs/classes/GovernmentService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Graph.html b/docs/classes/Graph.html index 58591b769..2f26d945e 100644 --- a/docs/classes/Graph.html +++ b/docs/classes/Graph.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -828,7 +828,7 @@

Graph Class

- Defined in: src/main/js/cass/ec.base.js:974 + Defined in: src/main/js/cass/ec.base.js:979
Module: com.eduworks.ec @@ -1081,7 +1081,7 @@

addEdge

Defined in - src/main/js/cass/ec.base.js:1165 + src/main/js/cass/ec.base.js:1170

@@ -1800,7 +1800,7 @@

getDest

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1132 + src/main/js/cass/ec.base.js:1137

@@ -2366,7 +2366,7 @@

getInEdges

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1017 + src/main/js/cass/ec.base.js:1022

@@ -2575,7 +2575,7 @@

getOpposite

Defined in - src/main/js/cass/ec.base.js:1186 + src/main/js/cass/ec.base.js:1191

@@ -2655,7 +2655,7 @@

getOutEdges

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1027 + src/main/js/cass/ec.base.js:1032

@@ -2722,7 +2722,7 @@

getPredecessorCount

Defined in - src/main/js/cass/ec.base.js:1101 + src/main/js/cass/ec.base.js:1106

@@ -2791,7 +2791,7 @@

getPredecessors

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1037 + src/main/js/cass/ec.base.js:1042

@@ -2864,7 +2864,7 @@

getSource

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1119 + src/main/js/cass/ec.base.js:1124

@@ -2933,7 +2933,7 @@

getSuccessorCount

Defined in - src/main/js/cass/ec.base.js:1110 + src/main/js/cass/ec.base.js:1115

@@ -3002,7 +3002,7 @@

getSuccessors

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1050 + src/main/js/cass/ec.base.js:1055

@@ -3161,7 +3161,7 @@

inDegree

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1063 + src/main/js/cass/ec.base.js:1068

@@ -3392,7 +3392,7 @@

isPredecessor

Defined in - src/main/js/cass/ec.base.js:1081 + src/main/js/cass/ec.base.js:1086

@@ -3472,7 +3472,7 @@

isSource

Defined in - src/main/js/cass/ec.base.js:1146 + src/main/js/cass/ec.base.js:1151

@@ -3552,7 +3552,7 @@

isSuccessor

Defined in - src/main/js/cass/ec.base.js:1091 + src/main/js/cass/ec.base.js:1096

@@ -3632,7 +3632,7 @@

outDegree

Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1072 + src/main/js/cass/ec.base.js:1077

diff --git a/docs/classes/GroceryStore.html b/docs/classes/GroceryStore.html index c6f66f80b..7a9f930bf 100644 --- a/docs/classes/GroceryStore.html +++ b/docs/classes/GroceryStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HVACBusiness.html b/docs/classes/HVACBusiness.html index 7a5345257..6725552ef 100644 --- a/docs/classes/HVACBusiness.html +++ b/docs/classes/HVACBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HairSalon.html b/docs/classes/HairSalon.html index bba4d1a20..f45ea5f62 100644 --- a/docs/classes/HairSalon.html +++ b/docs/classes/HairSalon.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HardwareStore.html b/docs/classes/HardwareStore.html index f98384114..b6aeeab2c 100644 --- a/docs/classes/HardwareStore.html +++ b/docs/classes/HardwareStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HealthAndBeautyBusiness.html b/docs/classes/HealthAndBeautyBusiness.html index 29dce8de1..e121caef9 100644 --- a/docs/classes/HealthAndBeautyBusiness.html +++ b/docs/classes/HealthAndBeautyBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HealthClub.html b/docs/classes/HealthClub.html index c03e548d0..19f69ba94 100644 --- a/docs/classes/HealthClub.html +++ b/docs/classes/HealthClub.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HighSchool.html b/docs/classes/HighSchool.html index 2adf18a1e..80126abc9 100644 --- a/docs/classes/HighSchool.html +++ b/docs/classes/HighSchool.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HinduTemple.html b/docs/classes/HinduTemple.html index b51c03bd9..f5209a624 100644 --- a/docs/classes/HinduTemple.html +++ b/docs/classes/HinduTemple.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HistoryClosure.html b/docs/classes/HistoryClosure.html index 424cc4318..ae4733694 100644 --- a/docs/classes/HistoryClosure.html +++ b/docs/classes/HistoryClosure.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HobbyShop.html b/docs/classes/HobbyShop.html index 7ed6bca4d..f8c379ffc 100644 --- a/docs/classes/HobbyShop.html +++ b/docs/classes/HobbyShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HoldersProfile.html b/docs/classes/HoldersProfile.html index cf0ab772e..0b299cc2c 100644 --- a/docs/classes/HoldersProfile.html +++ b/docs/classes/HoldersProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HomeAndConstructionBusiness.html b/docs/classes/HomeAndConstructionBusiness.html index bd75876fb..76a786e81 100644 --- a/docs/classes/HomeAndConstructionBusiness.html +++ b/docs/classes/HomeAndConstructionBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HomeGoodsStore.html b/docs/classes/HomeGoodsStore.html index 2f9428292..e89897678 100644 --- a/docs/classes/HomeGoodsStore.html +++ b/docs/classes/HomeGoodsStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Hospital.html b/docs/classes/Hospital.html index 82e30122d..541b504e2 100644 --- a/docs/classes/Hospital.html +++ b/docs/classes/Hospital.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Hostel.html b/docs/classes/Hostel.html index 5c01f99c0..09cb629ba 100644 --- a/docs/classes/Hostel.html +++ b/docs/classes/Hostel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Hotel.html b/docs/classes/Hotel.html index c3e6344f8..37480eb7a 100644 --- a/docs/classes/Hotel.html +++ b/docs/classes/Hotel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HotelRoom.html b/docs/classes/HotelRoom.html index ffd24b8dc..cb61d3783 100644 --- a/docs/classes/HotelRoom.html +++ b/docs/classes/HotelRoom.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/House.html b/docs/classes/House.html index e3b37d7e6..cfb2b6215 100644 --- a/docs/classes/House.html +++ b/docs/classes/House.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/HousePainter.html b/docs/classes/HousePainter.html index 3994b04c9..5b074dc2f 100644 --- a/docs/classes/HousePainter.html +++ b/docs/classes/HousePainter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Hypergraph.html b/docs/classes/Hypergraph.html index bd768edf3..ed2949517 100644 --- a/docs/classes/Hypergraph.html +++ b/docs/classes/Hypergraph.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IceCreamShop.html b/docs/classes/IceCreamShop.html index 220678f46..5154eff85 100644 --- a/docs/classes/IceCreamShop.html +++ b/docs/classes/IceCreamShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IdentifierValue.html b/docs/classes/IdentifierValue.html index 5aba2ecd0..c2de78e41 100644 --- a/docs/classes/IdentifierValue.html +++ b/docs/classes/IdentifierValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IdentifierValueSet.html b/docs/classes/IdentifierValueSet.html index a7850a9a7..bcd9dfc7b 100644 --- a/docs/classes/IdentifierValueSet.html +++ b/docs/classes/IdentifierValueSet.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IgnoreAction.html b/docs/classes/IgnoreAction.html index 474a116a1..530884bf0 100644 --- a/docs/classes/IgnoreAction.html +++ b/docs/classes/IgnoreAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ImageGallery.html b/docs/classes/ImageGallery.html index dee6dbda6..2c91a19dc 100644 --- a/docs/classes/ImageGallery.html +++ b/docs/classes/ImageGallery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ImageObject.html b/docs/classes/ImageObject.html index eaf5b2222..b96654325 100644 --- a/docs/classes/ImageObject.html +++ b/docs/classes/ImageObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Importer.html b/docs/classes/Importer.html index a4289b120..92c14b067 100644 --- a/docs/classes/Importer.html +++ b/docs/classes/Importer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IndividualProduct.html b/docs/classes/IndividualProduct.html index 179fdd806..45de5078b 100644 --- a/docs/classes/IndividualProduct.html +++ b/docs/classes/IndividualProduct.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/IndustryClassification.html b/docs/classes/IndustryClassification.html index bd58e7423..78da510ca 100644 --- a/docs/classes/IndustryClassification.html +++ b/docs/classes/IndustryClassification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InformAction.html b/docs/classes/InformAction.html index fda963a1a..f7f50d62d 100644 --- a/docs/classes/InformAction.html +++ b/docs/classes/InformAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InquiryPacket.html b/docs/classes/InquiryPacket.html index ab5725ef9..385532a4a 100644 --- a/docs/classes/InquiryPacket.html +++ b/docs/classes/InquiryPacket.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InsertAction.html b/docs/classes/InsertAction.html index cb46b7a3c..515f7c4bf 100644 --- a/docs/classes/InsertAction.html +++ b/docs/classes/InsertAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InstallAction.html b/docs/classes/InstallAction.html index 85ed3b11f..c2bcf427c 100644 --- a/docs/classes/InstallAction.html +++ b/docs/classes/InstallAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InstructionalProgramClassification.html b/docs/classes/InstructionalProgramClassification.html index 564254e10..ad2f197b2 100644 --- a/docs/classes/InstructionalProgramClassification.html +++ b/docs/classes/InstructionalProgramClassification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InsuranceAgency.html b/docs/classes/InsuranceAgency.html index 90c94e4c6..1b85e6e11 100644 --- a/docs/classes/InsuranceAgency.html +++ b/docs/classes/InsuranceAgency.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Intangible.html b/docs/classes/Intangible.html index 0644cb062..403c542ca 100644 --- a/docs/classes/Intangible.html +++ b/docs/classes/Intangible.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InteractAction.html b/docs/classes/InteractAction.html index 447f8b8a0..16f9d9e28 100644 --- a/docs/classes/InteractAction.html +++ b/docs/classes/InteractAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InteractionCounter.html b/docs/classes/InteractionCounter.html index 1f905c9f1..02ca35e20 100644 --- a/docs/classes/InteractionCounter.html +++ b/docs/classes/InteractionCounter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InternetCafe.html b/docs/classes/InternetCafe.html index d1ccae2b9..77a1afe6b 100644 --- a/docs/classes/InternetCafe.html +++ b/docs/classes/InternetCafe.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InvestmentOrDeposit.html b/docs/classes/InvestmentOrDeposit.html index 94343b20b..9c56dca5e 100644 --- a/docs/classes/InvestmentOrDeposit.html +++ b/docs/classes/InvestmentOrDeposit.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/InviteAction.html b/docs/classes/InviteAction.html index 16ce42757..dfab5d5e6 100644 --- a/docs/classes/InviteAction.html +++ b/docs/classes/InviteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Invoice.html b/docs/classes/Invoice.html index 9b7c45b98..0170667b7 100644 --- a/docs/classes/Invoice.html +++ b/docs/classes/Invoice.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ItemAvailability.html b/docs/classes/ItemAvailability.html index 1b7568055..7b13ca230 100644 --- a/docs/classes/ItemAvailability.html +++ b/docs/classes/ItemAvailability.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ItemList.html b/docs/classes/ItemList.html index 976b2bd44..8f3c82091 100644 --- a/docs/classes/ItemList.html +++ b/docs/classes/ItemList.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ItemListOrderType.html b/docs/classes/ItemListOrderType.html index 1097a124a..a4af13a4a 100644 --- a/docs/classes/ItemListOrderType.html +++ b/docs/classes/ItemListOrderType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ItemPage.html b/docs/classes/ItemPage.html index 4e38c6fc2..0f7d33896 100644 --- a/docs/classes/ItemPage.html +++ b/docs/classes/ItemPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/JewelryStore.html b/docs/classes/JewelryStore.html index 05034fde8..dc52eebb9 100644 --- a/docs/classes/JewelryStore.html +++ b/docs/classes/JewelryStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/JobPosting.html b/docs/classes/JobPosting.html index 59813c1cd..1abe84c60 100644 --- a/docs/classes/JobPosting.html +++ b/docs/classes/JobPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/JoinAction.html b/docs/classes/JoinAction.html index 36ae03d1b..48f46705a 100644 --- a/docs/classes/JoinAction.html +++ b/docs/classes/JoinAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/JourneymanCertificate.html b/docs/classes/JourneymanCertificate.html index 7a033f12e..a6273a5c8 100644 --- a/docs/classes/JourneymanCertificate.html +++ b/docs/classes/JourneymanCertificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/JurisdictionProfile.html b/docs/classes/JurisdictionProfile.html index 42d4306b2..0ffdecd2d 100644 --- a/docs/classes/JurisdictionProfile.html +++ b/docs/classes/JurisdictionProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LakeBodyOfWater.html b/docs/classes/LakeBodyOfWater.html index 851baa7c7..e66b3f851 100644 --- a/docs/classes/LakeBodyOfWater.html +++ b/docs/classes/LakeBodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Landform.html b/docs/classes/Landform.html index 6d62259fd..005fe3017 100644 --- a/docs/classes/Landform.html +++ b/docs/classes/Landform.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LandmarksOrHistoricalBuildings.html b/docs/classes/LandmarksOrHistoricalBuildings.html index 457c68433..8d2c2918a 100644 --- a/docs/classes/LandmarksOrHistoricalBuildings.html +++ b/docs/classes/LandmarksOrHistoricalBuildings.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Language.html b/docs/classes/Language.html index 0ed774b0e..ff7f64628 100644 --- a/docs/classes/Language.html +++ b/docs/classes/Language.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LearningOpportunity.html b/docs/classes/LearningOpportunity.html index 009a818ce..c330562bf 100644 --- a/docs/classes/LearningOpportunity.html +++ b/docs/classes/LearningOpportunity.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LearningOpportunityProfile.html b/docs/classes/LearningOpportunityProfile.html index 3eabfa039..d1c64cfb0 100644 --- a/docs/classes/LearningOpportunityProfile.html +++ b/docs/classes/LearningOpportunityProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LearningResource.html b/docs/classes/LearningResource.html index da16f51fc..70195ddc7 100644 --- a/docs/classes/LearningResource.html +++ b/docs/classes/LearningResource.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LeaveAction.html b/docs/classes/LeaveAction.html index 6b8d032ab..b065ac197 100644 --- a/docs/classes/LeaveAction.html +++ b/docs/classes/LeaveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LegalService.html b/docs/classes/LegalService.html index 9aa6f36d8..092469b1b 100644 --- a/docs/classes/LegalService.html +++ b/docs/classes/LegalService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LegislativeBuilding.html b/docs/classes/LegislativeBuilding.html index 3f1a3e23b..67af0673d 100644 --- a/docs/classes/LegislativeBuilding.html +++ b/docs/classes/LegislativeBuilding.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LendAction.html b/docs/classes/LendAction.html index 8f6af5340..7ea40d446 100644 --- a/docs/classes/LendAction.html +++ b/docs/classes/LendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Level.html b/docs/classes/Level.html index 7e0728f31..f3ca97a5a 100644 --- a/docs/classes/Level.html +++ b/docs/classes/Level.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Library.html b/docs/classes/Library.html index b7500f120..ad4ef9dc8 100644 --- a/docs/classes/Library.html +++ b/docs/classes/Library.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/License.html b/docs/classes/License.html index 2f6bd7cfc..d8a0dc415 100644 --- a/docs/classes/License.html +++ b/docs/classes/License.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LikeAction.html b/docs/classes/LikeAction.html index 5d086c332..3d7ecd890 100644 --- a/docs/classes/LikeAction.html +++ b/docs/classes/LikeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LiquorStore.html b/docs/classes/LiquorStore.html index c7979b79d..9afb1fdb2 100644 --- a/docs/classes/LiquorStore.html +++ b/docs/classes/LiquorStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ListItem.html b/docs/classes/ListItem.html index fe086713c..2ba855759 100644 --- a/docs/classes/ListItem.html +++ b/docs/classes/ListItem.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ListenAction.html b/docs/classes/ListenAction.html index f9a1a8a7b..dec2764c7 100644 --- a/docs/classes/ListenAction.html +++ b/docs/classes/ListenAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LiteraryEvent.html b/docs/classes/LiteraryEvent.html index ce984b522..fc93db2f7 100644 --- a/docs/classes/LiteraryEvent.html +++ b/docs/classes/LiteraryEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LiveBlogPosting.html b/docs/classes/LiveBlogPosting.html index a09a073dd..9e1c5c36c 100644 --- a/docs/classes/LiveBlogPosting.html +++ b/docs/classes/LiveBlogPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LoanOrCredit.html b/docs/classes/LoanOrCredit.html index c9e9b1661..8931e79f1 100644 --- a/docs/classes/LoanOrCredit.html +++ b/docs/classes/LoanOrCredit.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LocalBusiness.html b/docs/classes/LocalBusiness.html index 1ead56c80..3a57e60c8 100644 --- a/docs/classes/LocalBusiness.html +++ b/docs/classes/LocalBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LocationFeatureSpecification.html b/docs/classes/LocationFeatureSpecification.html index ea3ce0eaf..8db0d0d3e 100644 --- a/docs/classes/LocationFeatureSpecification.html +++ b/docs/classes/LocationFeatureSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LockerDelivery.html b/docs/classes/LockerDelivery.html index 8c3b970f6..b13f15d1f 100644 --- a/docs/classes/LockerDelivery.html +++ b/docs/classes/LockerDelivery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Locksmith.html b/docs/classes/Locksmith.html index a102d53e6..69f72174e 100644 --- a/docs/classes/Locksmith.html +++ b/docs/classes/Locksmith.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LodgingBusiness.html b/docs/classes/LodgingBusiness.html index 61b9ea205..257d8fb66 100644 --- a/docs/classes/LodgingBusiness.html +++ b/docs/classes/LodgingBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LodgingReservation.html b/docs/classes/LodgingReservation.html index 8a387474c..6e87391b7 100644 --- a/docs/classes/LodgingReservation.html +++ b/docs/classes/LodgingReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/LoseAction.html b/docs/classes/LoseAction.html index 46335f70c..42ecb3cff 100644 --- a/docs/classes/LoseAction.html +++ b/docs/classes/LoseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Map.html b/docs/classes/Map.html index a2b7c8e7f..20ef7ed69 100644 --- a/docs/classes/Map.html +++ b/docs/classes/Map.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MapCategoryType.html b/docs/classes/MapCategoryType.html index 71284472d..16a8a1e3a 100644 --- a/docs/classes/MapCategoryType.html +++ b/docs/classes/MapCategoryType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MarryAction.html b/docs/classes/MarryAction.html index 029026c5c..4bb96f364 100644 --- a/docs/classes/MarryAction.html +++ b/docs/classes/MarryAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Mass.html b/docs/classes/Mass.html index 83a29131e..503471395 100644 --- a/docs/classes/Mass.html +++ b/docs/classes/Mass.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MasterCertificate.html b/docs/classes/MasterCertificate.html index 9ddf4c003..814b236ca 100644 --- a/docs/classes/MasterCertificate.html +++ b/docs/classes/MasterCertificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MasterDegree.html b/docs/classes/MasterDegree.html index 4c82afd09..5d53b1214 100644 --- a/docs/classes/MasterDegree.html +++ b/docs/classes/MasterDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MedbiqImport.html b/docs/classes/MedbiqImport.html index a08aee892..67dfb84f8 100644 --- a/docs/classes/MedbiqImport.html +++ b/docs/classes/MedbiqImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MediaObject.html b/docs/classes/MediaObject.html index 72b0942a5..a5ad78c8f 100644 --- a/docs/classes/MediaObject.html +++ b/docs/classes/MediaObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MedicalOrganization.html b/docs/classes/MedicalOrganization.html index f31bfd1e6..c7009fadd 100644 --- a/docs/classes/MedicalOrganization.html +++ b/docs/classes/MedicalOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MeetingRoom.html b/docs/classes/MeetingRoom.html index 0b5b5fabb..1c48f9b93 100644 --- a/docs/classes/MeetingRoom.html +++ b/docs/classes/MeetingRoom.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MensClothingStore.html b/docs/classes/MensClothingStore.html index 25288a3fa..7436ff162 100644 --- a/docs/classes/MensClothingStore.html +++ b/docs/classes/MensClothingStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Menu.html b/docs/classes/Menu.html index e84252b17..1e16e29c5 100644 --- a/docs/classes/Menu.html +++ b/docs/classes/Menu.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MenuItem.html b/docs/classes/MenuItem.html index 9dc4e7394..c98c5a9a0 100644 --- a/docs/classes/MenuItem.html +++ b/docs/classes/MenuItem.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MenuSection.html b/docs/classes/MenuSection.html index 6f5ad1911..6fe97301c 100644 --- a/docs/classes/MenuSection.html +++ b/docs/classes/MenuSection.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Message.html b/docs/classes/Message.html index 0f6325336..06ce90ca1 100644 --- a/docs/classes/Message.html +++ b/docs/classes/Message.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MicroCredential.html b/docs/classes/MicroCredential.html index d31a9c64a..590ef6eae 100644 --- a/docs/classes/MicroCredential.html +++ b/docs/classes/MicroCredential.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MiddleSchool.html b/docs/classes/MiddleSchool.html index 31ba19a8c..37c9d51dc 100644 --- a/docs/classes/MiddleSchool.html +++ b/docs/classes/MiddleSchool.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MobileApplication.html b/docs/classes/MobileApplication.html index 8daeed96d..b09d18465 100644 --- a/docs/classes/MobileApplication.html +++ b/docs/classes/MobileApplication.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MobilePhoneStore.html b/docs/classes/MobilePhoneStore.html index 8f08396e1..f8828f8a4 100644 --- a/docs/classes/MobilePhoneStore.html +++ b/docs/classes/MobilePhoneStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ModalManager.html b/docs/classes/ModalManager.html index cc325c814..651810037 100644 --- a/docs/classes/ModalManager.html +++ b/docs/classes/ModalManager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MonetaryAmount.html b/docs/classes/MonetaryAmount.html index 09b81f9ec..36c288377 100644 --- a/docs/classes/MonetaryAmount.html +++ b/docs/classes/MonetaryAmount.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MoodleConfig.html b/docs/classes/MoodleConfig.html index 90c234940..210a6200f 100644 --- a/docs/classes/MoodleConfig.html +++ b/docs/classes/MoodleConfig.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Mosque.html b/docs/classes/Mosque.html index 4b78861e9..85b2d8b60 100644 --- a/docs/classes/Mosque.html +++ b/docs/classes/Mosque.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Motel.html b/docs/classes/Motel.html index 40267891d..75a7155e1 100644 --- a/docs/classes/Motel.html +++ b/docs/classes/Motel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MotorcycleDealer.html b/docs/classes/MotorcycleDealer.html index 30d771c85..a631404bd 100644 --- a/docs/classes/MotorcycleDealer.html +++ b/docs/classes/MotorcycleDealer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MotorcycleRepair.html b/docs/classes/MotorcycleRepair.html index 30e5891d4..572195b60 100644 --- a/docs/classes/MotorcycleRepair.html +++ b/docs/classes/MotorcycleRepair.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Mountain.html b/docs/classes/Mountain.html index 56b9d982e..b5ac5bb05 100644 --- a/docs/classes/Mountain.html +++ b/docs/classes/Mountain.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MoveAction.html b/docs/classes/MoveAction.html index 84943be4c..6e1bfa52b 100644 --- a/docs/classes/MoveAction.html +++ b/docs/classes/MoveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Movie.html b/docs/classes/Movie.html index b2f0adeff..6e19e1e00 100644 --- a/docs/classes/Movie.html +++ b/docs/classes/Movie.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MovieClip.html b/docs/classes/MovieClip.html index df1845fb1..8b14f7617 100644 --- a/docs/classes/MovieClip.html +++ b/docs/classes/MovieClip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MovieRentalStore.html b/docs/classes/MovieRentalStore.html index 03125ff29..fd522d0c4 100644 --- a/docs/classes/MovieRentalStore.html +++ b/docs/classes/MovieRentalStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MovieSeries.html b/docs/classes/MovieSeries.html index c52cf6e63..1862c104d 100644 --- a/docs/classes/MovieSeries.html +++ b/docs/classes/MovieSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MovieTheater.html b/docs/classes/MovieTheater.html index 22c9b4997..08f3ae7b0 100644 --- a/docs/classes/MovieTheater.html +++ b/docs/classes/MovieTheater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MovingCompany.html b/docs/classes/MovingCompany.html index f69bd3d6e..39b1b59af 100644 --- a/docs/classes/MovingCompany.html +++ b/docs/classes/MovingCompany.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Museum.html b/docs/classes/Museum.html index e67a8cb09..9282aa2e5 100644 --- a/docs/classes/Museum.html +++ b/docs/classes/Museum.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicAlbum.html b/docs/classes/MusicAlbum.html index 9cd725b6f..548cfa138 100644 --- a/docs/classes/MusicAlbum.html +++ b/docs/classes/MusicAlbum.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicAlbumProductionType.html b/docs/classes/MusicAlbumProductionType.html index cfbecadec..a9cbfaaa5 100644 --- a/docs/classes/MusicAlbumProductionType.html +++ b/docs/classes/MusicAlbumProductionType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicAlbumReleaseType.html b/docs/classes/MusicAlbumReleaseType.html index 538402cea..8d96991f8 100644 --- a/docs/classes/MusicAlbumReleaseType.html +++ b/docs/classes/MusicAlbumReleaseType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicComposition.html b/docs/classes/MusicComposition.html index 4ab9de9c3..f19024bd5 100644 --- a/docs/classes/MusicComposition.html +++ b/docs/classes/MusicComposition.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicEvent.html b/docs/classes/MusicEvent.html index 5fdf8f9ce..74f5de1c4 100644 --- a/docs/classes/MusicEvent.html +++ b/docs/classes/MusicEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicGroup.html b/docs/classes/MusicGroup.html index a081b60ed..159224d80 100644 --- a/docs/classes/MusicGroup.html +++ b/docs/classes/MusicGroup.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicPlaylist.html b/docs/classes/MusicPlaylist.html index 2a0898810..80e9f37f3 100644 --- a/docs/classes/MusicPlaylist.html +++ b/docs/classes/MusicPlaylist.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicRecording.html b/docs/classes/MusicRecording.html index a88591e85..77c05fd8a 100644 --- a/docs/classes/MusicRecording.html +++ b/docs/classes/MusicRecording.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicRelease.html b/docs/classes/MusicRelease.html index 680075c89..06a2d45f5 100644 --- a/docs/classes/MusicRelease.html +++ b/docs/classes/MusicRelease.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicReleaseFormatType.html b/docs/classes/MusicReleaseFormatType.html index f043f2d56..a7ced0809 100644 --- a/docs/classes/MusicReleaseFormatType.html +++ b/docs/classes/MusicReleaseFormatType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicStore.html b/docs/classes/MusicStore.html index 716ad9886..894b4eb1c 100644 --- a/docs/classes/MusicStore.html +++ b/docs/classes/MusicStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicVenue.html b/docs/classes/MusicVenue.html index 5457616f9..286d6f4f7 100644 --- a/docs/classes/MusicVenue.html +++ b/docs/classes/MusicVenue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/MusicVideoObject.html b/docs/classes/MusicVideoObject.html index 02ee2e97a..5e117b851 100644 --- a/docs/classes/MusicVideoObject.html +++ b/docs/classes/MusicVideoObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NGO.html b/docs/classes/NGO.html index a5ca5202f..e7859e05e 100644 --- a/docs/classes/NGO.html +++ b/docs/classes/NGO.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NailSalon.html b/docs/classes/NailSalon.html index b5358be5a..11b176821 100644 --- a/docs/classes/NailSalon.html +++ b/docs/classes/NailSalon.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NewsArticle.html b/docs/classes/NewsArticle.html index 86e4d2135..258dc3cbc 100644 --- a/docs/classes/NewsArticle.html +++ b/docs/classes/NewsArticle.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NightClub.html b/docs/classes/NightClub.html index 55d428946..53ddf56f0 100644 --- a/docs/classes/NightClub.html +++ b/docs/classes/NightClub.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Notary.html b/docs/classes/Notary.html index 9a6d27fc6..fd0a7694c 100644 --- a/docs/classes/Notary.html +++ b/docs/classes/Notary.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NoteDigitalDocument.html b/docs/classes/NoteDigitalDocument.html index 6d1c2be6f..3a5ace7ef 100644 --- a/docs/classes/NoteDigitalDocument.html +++ b/docs/classes/NoteDigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/NutritionInformation.html b/docs/classes/NutritionInformation.html index 79581a157..c5a9e5e28 100644 --- a/docs/classes/NutritionInformation.html +++ b/docs/classes/NutritionInformation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OccupationClassification.html b/docs/classes/OccupationClassification.html index 8e0c60fbc..9c756c6e9 100644 --- a/docs/classes/OccupationClassification.html +++ b/docs/classes/OccupationClassification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OceanBodyOfWater.html b/docs/classes/OceanBodyOfWater.html index d4490378c..49f75157b 100644 --- a/docs/classes/OceanBodyOfWater.html +++ b/docs/classes/OceanBodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Offer.html b/docs/classes/Offer.html index d174d6c74..9abeb5ee2 100644 --- a/docs/classes/Offer.html +++ b/docs/classes/Offer.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OfferAction.html b/docs/classes/OfferAction.html index 5191cc1d3..bb995922c 100644 --- a/docs/classes/OfferAction.html +++ b/docs/classes/OfferAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OfferCatalog.html b/docs/classes/OfferCatalog.html index 8b60a1746..37a78b541 100644 --- a/docs/classes/OfferCatalog.html +++ b/docs/classes/OfferCatalog.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OfferItemCondition.html b/docs/classes/OfferItemCondition.html index 6331a79d4..7b02e2453 100644 --- a/docs/classes/OfferItemCondition.html +++ b/docs/classes/OfferItemCondition.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OfficeEquipmentStore.html b/docs/classes/OfficeEquipmentStore.html index ec957431b..833448fac 100644 --- a/docs/classes/OfficeEquipmentStore.html +++ b/docs/classes/OfficeEquipmentStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OnDemandEvent.html b/docs/classes/OnDemandEvent.html index 4ada6809b..5b05cafa9 100644 --- a/docs/classes/OnDemandEvent.html +++ b/docs/classes/OnDemandEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OpenBadge.html b/docs/classes/OpenBadge.html index 3e0e1c224..a2ea0f5cd 100644 --- a/docs/classes/OpenBadge.html +++ b/docs/classes/OpenBadge.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OpeningHoursSpecification.html b/docs/classes/OpeningHoursSpecification.html index 788973e55..909773985 100644 --- a/docs/classes/OpeningHoursSpecification.html +++ b/docs/classes/OpeningHoursSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Order.html b/docs/classes/Order.html index b59388b6c..23fee8c44 100644 --- a/docs/classes/Order.html +++ b/docs/classes/Order.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrderAction.html b/docs/classes/OrderAction.html index 73262dc14..2473a30d4 100644 --- a/docs/classes/OrderAction.html +++ b/docs/classes/OrderAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrderItem.html b/docs/classes/OrderItem.html index 0bfbf3606..0f2ba02c3 100644 --- a/docs/classes/OrderItem.html +++ b/docs/classes/OrderItem.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrderStatus.html b/docs/classes/OrderStatus.html index 6db9a347a..09ba5bc0e 100644 --- a/docs/classes/OrderStatus.html +++ b/docs/classes/OrderStatus.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrderedCollection.html b/docs/classes/OrderedCollection.html index 2fc7a3ebb..b2f75c0b6 100644 --- a/docs/classes/OrderedCollection.html +++ b/docs/classes/OrderedCollection.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Organization.html b/docs/classes/Organization.html index 0c8e97037..c5f43df7b 100644 --- a/docs/classes/Organization.html +++ b/docs/classes/Organization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrganizationRole.html b/docs/classes/OrganizationRole.html index cb4a2703a..2f2f17a45 100644 --- a/docs/classes/OrganizationRole.html +++ b/docs/classes/OrganizationRole.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OrganizeAction.html b/docs/classes/OrganizeAction.html index 4cae688d0..30e20fe96 100644 --- a/docs/classes/OrganizeAction.html +++ b/docs/classes/OrganizeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OutletStore.html b/docs/classes/OutletStore.html index e34c08602..1b4eb4229 100644 --- a/docs/classes/OutletStore.html +++ b/docs/classes/OutletStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OverlayManager.html b/docs/classes/OverlayManager.html index 50dd956ad..03bc1015d 100644 --- a/docs/classes/OverlayManager.html +++ b/docs/classes/OverlayManager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/OwnershipInfo.html b/docs/classes/OwnershipInfo.html index 9a23ab7af..1705e5570 100644 --- a/docs/classes/OwnershipInfo.html +++ b/docs/classes/OwnershipInfo.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaintAction.html b/docs/classes/PaintAction.html index e508c4393..c5b8f2de0 100644 --- a/docs/classes/PaintAction.html +++ b/docs/classes/PaintAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Painting.html b/docs/classes/Painting.html index 1f7905b0d..b08a86a81 100644 --- a/docs/classes/Painting.html +++ b/docs/classes/Painting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ParcelDelivery.html b/docs/classes/ParcelDelivery.html index f5768aa71..f3bd36228 100644 --- a/docs/classes/ParcelDelivery.html +++ b/docs/classes/ParcelDelivery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ParcelService.html b/docs/classes/ParcelService.html index e306161d6..bedb5edcc 100644 --- a/docs/classes/ParcelService.html +++ b/docs/classes/ParcelService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ParentAudience.html b/docs/classes/ParentAudience.html index cd3df180f..1e5b6a16d 100644 --- a/docs/classes/ParentAudience.html +++ b/docs/classes/ParentAudience.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Park.html b/docs/classes/Park.html index 340fabe2f..29c329763 100644 --- a/docs/classes/Park.html +++ b/docs/classes/Park.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ParkingFacility.html b/docs/classes/ParkingFacility.html index 7d5803400..911217c68 100644 --- a/docs/classes/ParkingFacility.html +++ b/docs/classes/ParkingFacility.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PawnShop.html b/docs/classes/PawnShop.html index 47cb6a7b8..4c2821ede 100644 --- a/docs/classes/PawnShop.html +++ b/docs/classes/PawnShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PayAction.html b/docs/classes/PayAction.html index 7ca00e246..74b586ab3 100644 --- a/docs/classes/PayAction.html +++ b/docs/classes/PayAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaymentCard.html b/docs/classes/PaymentCard.html index aa26439a6..2d5871214 100644 --- a/docs/classes/PaymentCard.html +++ b/docs/classes/PaymentCard.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaymentChargeSpecification.html b/docs/classes/PaymentChargeSpecification.html index 318d407d6..4ce1138e9 100644 --- a/docs/classes/PaymentChargeSpecification.html +++ b/docs/classes/PaymentChargeSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaymentMethod.html b/docs/classes/PaymentMethod.html index e91a7eedd..aa5231419 100644 --- a/docs/classes/PaymentMethod.html +++ b/docs/classes/PaymentMethod.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaymentService.html b/docs/classes/PaymentService.html index 204dc08c1..1dddf167f 100644 --- a/docs/classes/PaymentService.html +++ b/docs/classes/PaymentService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PaymentStatusType.html b/docs/classes/PaymentStatusType.html index ff3813e0d..5b9d69a8d 100644 --- a/docs/classes/PaymentStatusType.html +++ b/docs/classes/PaymentStatusType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PeopleAudience.html b/docs/classes/PeopleAudience.html index 397a0780e..d892dc4b4 100644 --- a/docs/classes/PeopleAudience.html +++ b/docs/classes/PeopleAudience.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PerformAction.html b/docs/classes/PerformAction.html index c98955a7e..4aa90b563 100644 --- a/docs/classes/PerformAction.html +++ b/docs/classes/PerformAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PerformanceRole.html b/docs/classes/PerformanceRole.html index a9ac4d569..1b2cfbb1e 100644 --- a/docs/classes/PerformanceRole.html +++ b/docs/classes/PerformanceRole.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PerformingArtsTheater.html b/docs/classes/PerformingArtsTheater.html index 318d3feee..1c3eb887a 100644 --- a/docs/classes/PerformingArtsTheater.html +++ b/docs/classes/PerformingArtsTheater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PerformingGroup.html b/docs/classes/PerformingGroup.html index b467eb2c0..0c4bc37ec 100644 --- a/docs/classes/PerformingGroup.html +++ b/docs/classes/PerformingGroup.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Periodical.html b/docs/classes/Periodical.html index a05c624e8..aa28e82b0 100644 --- a/docs/classes/Periodical.html +++ b/docs/classes/Periodical.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Permit.html b/docs/classes/Permit.html index 037b7d295..01ca41b65 100644 --- a/docs/classes/Permit.html +++ b/docs/classes/Permit.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Person.html b/docs/classes/Person.html index 9d4c742fc..474b68481 100644 --- a/docs/classes/Person.html +++ b/docs/classes/Person.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PetStore.html b/docs/classes/PetStore.html index b7873b6e0..924c11473 100644 --- a/docs/classes/PetStore.html +++ b/docs/classes/PetStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Pharmacy.html b/docs/classes/Pharmacy.html index fbf1f08c1..2295d9a0a 100644 --- a/docs/classes/Pharmacy.html +++ b/docs/classes/Pharmacy.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Photograph.html b/docs/classes/Photograph.html index b1e3139ec..aa0eb93fb 100644 --- a/docs/classes/Photograph.html +++ b/docs/classes/Photograph.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PhotographAction.html b/docs/classes/PhotographAction.html index 432f41458..6526a8e29 100644 --- a/docs/classes/PhotographAction.html +++ b/docs/classes/PhotographAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Physician.html b/docs/classes/Physician.html index 57aa853fc..ac1e685a0 100644 --- a/docs/classes/Physician.html +++ b/docs/classes/Physician.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Place.html b/docs/classes/Place.html index 1369a455f..25f10d27e 100644 --- a/docs/classes/Place.html +++ b/docs/classes/Place.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PlaceOfWorship.html b/docs/classes/PlaceOfWorship.html index a00c0b2f2..a8478db83 100644 --- a/docs/classes/PlaceOfWorship.html +++ b/docs/classes/PlaceOfWorship.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PlanAction.html b/docs/classes/PlanAction.html index 097a49b12..d1a450d1c 100644 --- a/docs/classes/PlanAction.html +++ b/docs/classes/PlanAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PlayAction.html b/docs/classes/PlayAction.html index d1f108423..63851b8b3 100644 --- a/docs/classes/PlayAction.html +++ b/docs/classes/PlayAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Playground.html b/docs/classes/Playground.html index 881fe0ba3..ef329ee20 100644 --- a/docs/classes/Playground.html +++ b/docs/classes/Playground.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Plumber.html b/docs/classes/Plumber.html index 9b8ca6439..c2f658132 100644 --- a/docs/classes/Plumber.html +++ b/docs/classes/Plumber.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PoliceStation.html b/docs/classes/PoliceStation.html index 0be598283..b22bf5110 100644 --- a/docs/classes/PoliceStation.html +++ b/docs/classes/PoliceStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Pond.html b/docs/classes/Pond.html index b8409cf82..fe6485923 100644 --- a/docs/classes/Pond.html +++ b/docs/classes/Pond.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PostOffice.html b/docs/classes/PostOffice.html index 67af2e656..cc655322b 100644 --- a/docs/classes/PostOffice.html +++ b/docs/classes/PostOffice.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PostalAddress.html b/docs/classes/PostalAddress.html index c95e62c58..827fd85c7 100644 --- a/docs/classes/PostalAddress.html +++ b/docs/classes/PostalAddress.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PrependAction.html b/docs/classes/PrependAction.html index cf3bee377..aa0b3108b 100644 --- a/docs/classes/PrependAction.html +++ b/docs/classes/PrependAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Preschool.html b/docs/classes/Preschool.html index 65013fc1c..66666fc48 100644 --- a/docs/classes/Preschool.html +++ b/docs/classes/Preschool.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PresentationDigitalDocument.html b/docs/classes/PresentationDigitalDocument.html index 8efae1d19..e3cda3ae9 100644 --- a/docs/classes/PresentationDigitalDocument.html +++ b/docs/classes/PresentationDigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PriceSpecification.html b/docs/classes/PriceSpecification.html index fee4d8bcb..e1f6d0447 100644 --- a/docs/classes/PriceSpecification.html +++ b/docs/classes/PriceSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProcessProfile.html b/docs/classes/ProcessProfile.html index a7e200c3b..d1fd09858 100644 --- a/docs/classes/ProcessProfile.html +++ b/docs/classes/ProcessProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Product.html b/docs/classes/Product.html index e6dfde923..00a5fe8e3 100644 --- a/docs/classes/Product.html +++ b/docs/classes/Product.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProductModel.html b/docs/classes/ProductModel.html index 568eb62bd..f1202b53f 100644 --- a/docs/classes/ProductModel.html +++ b/docs/classes/ProductModel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProfessionalDoctorate.html b/docs/classes/ProfessionalDoctorate.html index f1ce861a2..54be05645 100644 --- a/docs/classes/ProfessionalDoctorate.html +++ b/docs/classes/ProfessionalDoctorate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProfessionalService.html b/docs/classes/ProfessionalService.html index 185c7a7c5..b0cc0b6ba 100644 --- a/docs/classes/ProfessionalService.html +++ b/docs/classes/ProfessionalService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProficiencyScale.html b/docs/classes/ProficiencyScale.html index 03c9a6379..d6c95d698 100644 --- a/docs/classes/ProficiencyScale.html +++ b/docs/classes/ProficiencyScale.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProfilePage.html b/docs/classes/ProfilePage.html index d19cc3d7d..d4c7b71ed 100644 --- a/docs/classes/ProfilePage.html +++ b/docs/classes/ProfilePage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ProfileProcessor.html b/docs/classes/ProfileProcessor.html index 3047ebd82..a9ed76346 100644 --- a/docs/classes/ProfileProcessor.html +++ b/docs/classes/ProfileProcessor.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

ProfileProcessor Class

- Defined in: src/main/js/cass/cass.rollup.js:3899 + Defined in: src/main/js/cass/cass.rollup.js:3906
Module: org.cassproject diff --git a/docs/classes/ProgramMembership.html b/docs/classes/ProgramMembership.html index 66bfdda79..29996d296 100644 --- a/docs/classes/ProgramMembership.html +++ b/docs/classes/ProgramMembership.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PropertyValue.html b/docs/classes/PropertyValue.html index 9734ce301..1e429d91f 100644 --- a/docs/classes/PropertyValue.html +++ b/docs/classes/PropertyValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PropertyValueSpecification.html b/docs/classes/PropertyValueSpecification.html index 311949d4f..758442516 100644 --- a/docs/classes/PropertyValueSpecification.html +++ b/docs/classes/PropertyValueSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PublicSwimmingPool.html b/docs/classes/PublicSwimmingPool.html index 6553f4e3f..f288e30c0 100644 --- a/docs/classes/PublicSwimmingPool.html +++ b/docs/classes/PublicSwimmingPool.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PublicationEvent.html b/docs/classes/PublicationEvent.html index 4d7094a4b..fd2e0e376 100644 --- a/docs/classes/PublicationEvent.html +++ b/docs/classes/PublicationEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PublicationIssue.html b/docs/classes/PublicationIssue.html index 4a67d4700..a4a0d8dac 100644 --- a/docs/classes/PublicationIssue.html +++ b/docs/classes/PublicationIssue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/PublicationVolume.html b/docs/classes/PublicationVolume.html index c44a18f52..e53be7e97 100644 --- a/docs/classes/PublicationVolume.html +++ b/docs/classes/PublicationVolume.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QACredentialOrganization.html b/docs/classes/QACredentialOrganization.html index bc0fcff93..e79442028 100644 --- a/docs/classes/QACredentialOrganization.html +++ b/docs/classes/QACredentialOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QAPage.html b/docs/classes/QAPage.html index 816798ddd..6f93e6693 100644 --- a/docs/classes/QAPage.html +++ b/docs/classes/QAPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QualitativeValue.html b/docs/classes/QualitativeValue.html index a492994fb..1daade90f 100644 --- a/docs/classes/QualitativeValue.html +++ b/docs/classes/QualitativeValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QualityAssuranceCredential.html b/docs/classes/QualityAssuranceCredential.html index 7a862cf2d..0a4f01ceb 100644 --- a/docs/classes/QualityAssuranceCredential.html +++ b/docs/classes/QualityAssuranceCredential.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QuantitativeValue.html b/docs/classes/QuantitativeValue.html index 30d1c9274..1bce353ff 100644 --- a/docs/classes/QuantitativeValue.html +++ b/docs/classes/QuantitativeValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Quantity.html b/docs/classes/Quantity.html index 78748ef47..8f56e2a04 100644 --- a/docs/classes/Quantity.html +++ b/docs/classes/Quantity.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Question.html b/docs/classes/Question.html index 31505e3e5..3cbe6ebbf 100644 --- a/docs/classes/Question.html +++ b/docs/classes/Question.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/QuoteAction.html b/docs/classes/QuoteAction.html index 134bc0739..b4d62343e 100644 --- a/docs/classes/QuoteAction.html +++ b/docs/classes/QuoteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RVPark.html b/docs/classes/RVPark.html index c495bb2ff..1e0fd8ff4 100644 --- a/docs/classes/RVPark.html +++ b/docs/classes/RVPark.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioChannel.html b/docs/classes/RadioChannel.html index 3e3132ae7..d4013c838 100644 --- a/docs/classes/RadioChannel.html +++ b/docs/classes/RadioChannel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioClip.html b/docs/classes/RadioClip.html index 32d3baad2..30dd7346d 100644 --- a/docs/classes/RadioClip.html +++ b/docs/classes/RadioClip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioEpisode.html b/docs/classes/RadioEpisode.html index 318323e2a..d26216ff9 100644 --- a/docs/classes/RadioEpisode.html +++ b/docs/classes/RadioEpisode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioSeason.html b/docs/classes/RadioSeason.html index 2d5b682ee..daf6d71dd 100644 --- a/docs/classes/RadioSeason.html +++ b/docs/classes/RadioSeason.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioSeries.html b/docs/classes/RadioSeries.html index 9a4b7d33d..f9215669d 100644 --- a/docs/classes/RadioSeries.html +++ b/docs/classes/RadioSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RadioStation.html b/docs/classes/RadioStation.html index f17b22538..b3c0bc0f6 100644 --- a/docs/classes/RadioStation.html +++ b/docs/classes/RadioStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Rating.html b/docs/classes/Rating.html index 0a3921dcb..3c98dcafc 100644 --- a/docs/classes/Rating.html +++ b/docs/classes/Rating.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReactAction.html b/docs/classes/ReactAction.html index d16f8994f..66b96d9be 100644 --- a/docs/classes/ReactAction.html +++ b/docs/classes/ReactAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReadAction.html b/docs/classes/ReadAction.html index 69d7bbd67..4252a9e25 100644 --- a/docs/classes/ReadAction.html +++ b/docs/classes/ReadAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RealEstateAgent.html b/docs/classes/RealEstateAgent.html index aec1b6f5b..a728278b0 100644 --- a/docs/classes/RealEstateAgent.html +++ b/docs/classes/RealEstateAgent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReceiveAction.html b/docs/classes/ReceiveAction.html index 8854bc6c2..4f401fc68 100644 --- a/docs/classes/ReceiveAction.html +++ b/docs/classes/ReceiveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Recipe.html b/docs/classes/Recipe.html index 0156ff110..8bd6d1be9 100644 --- a/docs/classes/Recipe.html +++ b/docs/classes/Recipe.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RecognizeAction.html b/docs/classes/RecognizeAction.html index 0ebb9d783..a18562f57 100644 --- a/docs/classes/RecognizeAction.html +++ b/docs/classes/RecognizeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RecyclingCenter.html b/docs/classes/RecyclingCenter.html index 0e2efc7d3..49de992ea 100644 --- a/docs/classes/RecyclingCenter.html +++ b/docs/classes/RecyclingCenter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RegisterAction.html b/docs/classes/RegisterAction.html index e2271b82a..b8754a695 100644 --- a/docs/classes/RegisterAction.html +++ b/docs/classes/RegisterAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RegulateAction.html b/docs/classes/RegulateAction.html index cdfb95d91..2b1ba7f79 100644 --- a/docs/classes/RegulateAction.html +++ b/docs/classes/RegulateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RejectAction.html b/docs/classes/RejectAction.html index 623c3c85d..767d57b45 100644 --- a/docs/classes/RejectAction.html +++ b/docs/classes/RejectAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Relation.html b/docs/classes/Relation.html index 98e3721e5..fa466b857 100644 --- a/docs/classes/Relation.html +++ b/docs/classes/Relation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RelationshipPacketGenerator.html b/docs/classes/RelationshipPacketGenerator.html index 27f142baf..44b3c8858 100644 --- a/docs/classes/RelationshipPacketGenerator.html +++ b/docs/classes/RelationshipPacketGenerator.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RenewAction.html b/docs/classes/RenewAction.html index cca002559..7bd71608c 100644 --- a/docs/classes/RenewAction.html +++ b/docs/classes/RenewAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RentAction.html b/docs/classes/RentAction.html index 74d7a0f73..04a8388a2 100644 --- a/docs/classes/RentAction.html +++ b/docs/classes/RentAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RentalCarReservation.html b/docs/classes/RentalCarReservation.html index bb7232568..517df317f 100644 --- a/docs/classes/RentalCarReservation.html +++ b/docs/classes/RentalCarReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReplaceAction.html b/docs/classes/ReplaceAction.html index 1009910ba..367e4840f 100644 --- a/docs/classes/ReplaceAction.html +++ b/docs/classes/ReplaceAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReplyAction.html b/docs/classes/ReplyAction.html index 81c4e003f..ad5fa2204 100644 --- a/docs/classes/ReplyAction.html +++ b/docs/classes/ReplyAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Report.html b/docs/classes/Report.html index 3484c3a57..e98b806cc 100644 --- a/docs/classes/Report.html +++ b/docs/classes/Report.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ResearchDoctorate.html b/docs/classes/ResearchDoctorate.html index dba04072d..8cea1612c 100644 --- a/docs/classes/ResearchDoctorate.html +++ b/docs/classes/ResearchDoctorate.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Reservation.html b/docs/classes/Reservation.html index 173c15085..fa0494cc0 100644 --- a/docs/classes/Reservation.html +++ b/docs/classes/Reservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReservationPackage.html b/docs/classes/ReservationPackage.html index b3910ad72..429b1b017 100644 --- a/docs/classes/ReservationPackage.html +++ b/docs/classes/ReservationPackage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReservationStatusType.html b/docs/classes/ReservationStatusType.html index af45510d1..17525ad8e 100644 --- a/docs/classes/ReservationStatusType.html +++ b/docs/classes/ReservationStatusType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReserveAction.html b/docs/classes/ReserveAction.html index d5b8b11eb..4c99c1f54 100644 --- a/docs/classes/ReserveAction.html +++ b/docs/classes/ReserveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Reservoir.html b/docs/classes/Reservoir.html index 0e2f65497..f847a8919 100644 --- a/docs/classes/Reservoir.html +++ b/docs/classes/Reservoir.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Residence.html b/docs/classes/Residence.html index 1906fa54a..15af02b1e 100644 --- a/docs/classes/Residence.html +++ b/docs/classes/Residence.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Resort.html b/docs/classes/Resort.html index 006f173b8..fa1152e7b 100644 --- a/docs/classes/Resort.html +++ b/docs/classes/Resort.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Restaurant.html b/docs/classes/Restaurant.html index 03eb4ff96..4a855f8e2 100644 --- a/docs/classes/Restaurant.html +++ b/docs/classes/Restaurant.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RestrictedDiet.html b/docs/classes/RestrictedDiet.html index d9935f3f7..c7218f79e 100644 --- a/docs/classes/RestrictedDiet.html +++ b/docs/classes/RestrictedDiet.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ResumeAction.html b/docs/classes/ResumeAction.html index 52ab60288..4f697706f 100644 --- a/docs/classes/ResumeAction.html +++ b/docs/classes/ResumeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReturnAction.html b/docs/classes/ReturnAction.html index 4aa6f6e53..6439a50a6 100644 --- a/docs/classes/ReturnAction.html +++ b/docs/classes/ReturnAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Review.html b/docs/classes/Review.html index 140a1ccf7..d611d9018 100644 --- a/docs/classes/Review.html +++ b/docs/classes/Review.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ReviewAction.html b/docs/classes/ReviewAction.html index 4223ef548..f2579b8a7 100644 --- a/docs/classes/ReviewAction.html +++ b/docs/classes/ReviewAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RevocationProfile.html b/docs/classes/RevocationProfile.html index d0ac534d7..688c1ad53 100644 --- a/docs/classes/RevocationProfile.html +++ b/docs/classes/RevocationProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RevokeAction.html b/docs/classes/RevokeAction.html index 348ebf0ea..d706327a1 100644 --- a/docs/classes/RevokeAction.html +++ b/docs/classes/RevokeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RightsAction.html b/docs/classes/RightsAction.html index 66b06885f..06ab3393f 100644 --- a/docs/classes/RightsAction.html +++ b/docs/classes/RightsAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RiverBodyOfWater.html b/docs/classes/RiverBodyOfWater.html index 21c10f093..853bb51f1 100644 --- a/docs/classes/RiverBodyOfWater.html +++ b/docs/classes/RiverBodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Role.html b/docs/classes/Role.html index 3dab231f2..b7fb92869 100644 --- a/docs/classes/Role.html +++ b/docs/classes/Role.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RollupRule.html b/docs/classes/RollupRule.html index 64055c553..d706dd457 100644 --- a/docs/classes/RollupRule.html +++ b/docs/classes/RollupRule.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RoofingContractor.html b/docs/classes/RoofingContractor.html index 119b535c6..99a3505e1 100644 --- a/docs/classes/RoofingContractor.html +++ b/docs/classes/RoofingContractor.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Room.html b/docs/classes/Room.html index 9bdaef068..86f447838 100644 --- a/docs/classes/Room.html +++ b/docs/classes/Room.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RsvpAction.html b/docs/classes/RsvpAction.html index 1d8ef7281..4847bcd6f 100644 --- a/docs/classes/RsvpAction.html +++ b/docs/classes/RsvpAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/RsvpResponseType.html b/docs/classes/RsvpResponseType.html index 6932656a5..f98b83c88 100644 --- a/docs/classes/RsvpResponseType.html +++ b/docs/classes/RsvpResponseType.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SaleEvent.html b/docs/classes/SaleEvent.html index a6acb41ee..6041c9251 100644 --- a/docs/classes/SaleEvent.html +++ b/docs/classes/SaleEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ScheduleAction.html b/docs/classes/ScheduleAction.html index ccc8619fc..f8a4db786 100644 --- a/docs/classes/ScheduleAction.html +++ b/docs/classes/ScheduleAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ScholarlyArticle.html b/docs/classes/ScholarlyArticle.html index 98c48ae1f..db09fc80b 100644 --- a/docs/classes/ScholarlyArticle.html +++ b/docs/classes/ScholarlyArticle.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/School.html b/docs/classes/School.html index 33f7d5727..05f05f3e7 100644 --- a/docs/classes/School.html +++ b/docs/classes/School.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ScreeningEvent.html b/docs/classes/ScreeningEvent.html index 51e2b8ddc..27d3d533f 100644 --- a/docs/classes/ScreeningEvent.html +++ b/docs/classes/ScreeningEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Screenmanager.html b/docs/classes/Screenmanager.html index 5a4727f4c..e85d44991 100644 --- a/docs/classes/Screenmanager.html +++ b/docs/classes/Screenmanager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Sculpture.html b/docs/classes/Sculpture.html index 4533c780f..178e1a62e 100644 --- a/docs/classes/Sculpture.html +++ b/docs/classes/Sculpture.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SeaBodyOfWater.html b/docs/classes/SeaBodyOfWater.html index f6746d5e9..3b625aa9d 100644 --- a/docs/classes/SeaBodyOfWater.html +++ b/docs/classes/SeaBodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SearchAction.html b/docs/classes/SearchAction.html index b5a3ebc0c..5f8d72e9a 100644 --- a/docs/classes/SearchAction.html +++ b/docs/classes/SearchAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SearchResultsPage.html b/docs/classes/SearchResultsPage.html index 62db4bfd7..3d0d47ada 100644 --- a/docs/classes/SearchResultsPage.html +++ b/docs/classes/SearchResultsPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Season.html b/docs/classes/Season.html index 43b6d4f81..5a9e84a93 100644 --- a/docs/classes/Season.html +++ b/docs/classes/Season.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Seat.html b/docs/classes/Seat.html index 3232409be..7f951fa5c 100644 --- a/docs/classes/Seat.html +++ b/docs/classes/Seat.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SecondarySchoolDiploma.html b/docs/classes/SecondarySchoolDiploma.html index b3e8cd19f..8cad7fc6c 100644 --- a/docs/classes/SecondarySchoolDiploma.html +++ b/docs/classes/SecondarySchoolDiploma.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SelfStorage.html b/docs/classes/SelfStorage.html index 488857a9f..2527a932a 100644 --- a/docs/classes/SelfStorage.html +++ b/docs/classes/SelfStorage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SellAction.html b/docs/classes/SellAction.html index 3cc853d36..da29fdf1a 100644 --- a/docs/classes/SellAction.html +++ b/docs/classes/SellAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SendAction.html b/docs/classes/SendAction.html index 3b78dbb00..34c89e7cd 100644 --- a/docs/classes/SendAction.html +++ b/docs/classes/SendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Series.html b/docs/classes/Series.html index 3952790c8..b269ac61d 100644 --- a/docs/classes/Series.html +++ b/docs/classes/Series.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Service.html b/docs/classes/Service.html index 931b0ffd6..668443c16 100644 --- a/docs/classes/Service.html +++ b/docs/classes/Service.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ServiceChannel.html b/docs/classes/ServiceChannel.html index 5c06d5481..ecfc4dbe8 100644 --- a/docs/classes/ServiceChannel.html +++ b/docs/classes/ServiceChannel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ShareAction.html b/docs/classes/ShareAction.html index 87f18e1ad..0d21f07af 100644 --- a/docs/classes/ShareAction.html +++ b/docs/classes/ShareAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ShoeStore.html b/docs/classes/ShoeStore.html index f4c172c2d..0cdd4b4ea 100644 --- a/docs/classes/ShoeStore.html +++ b/docs/classes/ShoeStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ShoppingCenter.html b/docs/classes/ShoppingCenter.html index e3a838e1c..ff8700eed 100644 --- a/docs/classes/ShoppingCenter.html +++ b/docs/classes/ShoppingCenter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SingleFamilyResidence.html b/docs/classes/SingleFamilyResidence.html index 09a6933b1..4232bb7b9 100644 --- a/docs/classes/SingleFamilyResidence.html +++ b/docs/classes/SingleFamilyResidence.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SiteNavigationElement.html b/docs/classes/SiteNavigationElement.html index 15184bea1..0a1f79487 100644 --- a/docs/classes/SiteNavigationElement.html +++ b/docs/classes/SiteNavigationElement.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SkiResort.html b/docs/classes/SkiResort.html index 27ae63d33..8c28fee47 100644 --- a/docs/classes/SkiResort.html +++ b/docs/classes/SkiResort.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SocialEvent.html b/docs/classes/SocialEvent.html index d8e79c961..0a85a2a80 100644 --- a/docs/classes/SocialEvent.html +++ b/docs/classes/SocialEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SocialMediaPosting.html b/docs/classes/SocialMediaPosting.html index 6cc674d79..4037942e4 100644 --- a/docs/classes/SocialMediaPosting.html +++ b/docs/classes/SocialMediaPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SoftwareApplication.html b/docs/classes/SoftwareApplication.html index 056732796..ec832cb1c 100644 --- a/docs/classes/SoftwareApplication.html +++ b/docs/classes/SoftwareApplication.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SoftwareSourceCode.html b/docs/classes/SoftwareSourceCode.html index 6824b8dc3..7ca17d285 100644 --- a/docs/classes/SoftwareSourceCode.html +++ b/docs/classes/SoftwareSourceCode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SomeProducts.html b/docs/classes/SomeProducts.html index 700eef7a8..16eae60f3 100644 --- a/docs/classes/SomeProducts.html +++ b/docs/classes/SomeProducts.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Specialty.html b/docs/classes/Specialty.html index 6435c5a35..1565129eb 100644 --- a/docs/classes/Specialty.html +++ b/docs/classes/Specialty.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportingGoodsStore.html b/docs/classes/SportingGoodsStore.html index 7a6ae61a1..751129463 100644 --- a/docs/classes/SportingGoodsStore.html +++ b/docs/classes/SportingGoodsStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportsActivityLocation.html b/docs/classes/SportsActivityLocation.html index b85cd212b..ebdff77a6 100644 --- a/docs/classes/SportsActivityLocation.html +++ b/docs/classes/SportsActivityLocation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportsClub.html b/docs/classes/SportsClub.html index 81d0f7a4c..3362e86d6 100644 --- a/docs/classes/SportsClub.html +++ b/docs/classes/SportsClub.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportsEvent.html b/docs/classes/SportsEvent.html index 6265baa08..c68710216 100644 --- a/docs/classes/SportsEvent.html +++ b/docs/classes/SportsEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportsOrganization.html b/docs/classes/SportsOrganization.html index 25ee5a8e6..a0885b836 100644 --- a/docs/classes/SportsOrganization.html +++ b/docs/classes/SportsOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SportsTeam.html b/docs/classes/SportsTeam.html index 0ce049da4..7b07b8c2c 100644 --- a/docs/classes/SportsTeam.html +++ b/docs/classes/SportsTeam.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SpreadsheetDigitalDocument.html b/docs/classes/SpreadsheetDigitalDocument.html index e98777b5a..616cf5c37 100644 --- a/docs/classes/SpreadsheetDigitalDocument.html +++ b/docs/classes/SpreadsheetDigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/StadiumOrArena.html b/docs/classes/StadiumOrArena.html index 054d236ac..de1ac13c8 100644 --- a/docs/classes/StadiumOrArena.html +++ b/docs/classes/StadiumOrArena.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/State.html b/docs/classes/State.html index 76c8c4c7d..a39884839 100644 --- a/docs/classes/State.html +++ b/docs/classes/State.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SteeringPositionValue.html b/docs/classes/SteeringPositionValue.html index 0f4d1339f..c32ff6bdb 100644 --- a/docs/classes/SteeringPositionValue.html +++ b/docs/classes/SteeringPositionValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Store.html b/docs/classes/Store.html index ba4bfad82..608c74e24 100644 --- a/docs/classes/Store.html +++ b/docs/classes/Store.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/StructuredValue.html b/docs/classes/StructuredValue.html index bc67e0677..4b6f7fc44 100644 --- a/docs/classes/StructuredValue.html +++ b/docs/classes/StructuredValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SubscribeAction.html b/docs/classes/SubscribeAction.html index 01f94f99f..a03912d5a 100644 --- a/docs/classes/SubscribeAction.html +++ b/docs/classes/SubscribeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SubwayStation.html b/docs/classes/SubwayStation.html index 384b6c046..0bf952880 100644 --- a/docs/classes/SubwayStation.html +++ b/docs/classes/SubwayStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Suite.html b/docs/classes/Suite.html index ddd953f6b..8af284462 100644 --- a/docs/classes/Suite.html +++ b/docs/classes/Suite.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/SuspendAction.html b/docs/classes/SuspendAction.html index edfdb8ba9..3d0cb5fe4 100644 --- a/docs/classes/SuspendAction.html +++ b/docs/classes/SuspendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Synagogue.html b/docs/classes/Synagogue.html index c6ff6988f..9bd628d4b 100644 --- a/docs/classes/Synagogue.html +++ b/docs/classes/Synagogue.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TVClip.html b/docs/classes/TVClip.html index 25b4c0e15..60c9d2627 100644 --- a/docs/classes/TVClip.html +++ b/docs/classes/TVClip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TVEpisode.html b/docs/classes/TVEpisode.html index e0451f4b6..9206b86f0 100644 --- a/docs/classes/TVEpisode.html +++ b/docs/classes/TVEpisode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TVSeason.html b/docs/classes/TVSeason.html index db9f1a540..9bfbfd1c1 100644 --- a/docs/classes/TVSeason.html +++ b/docs/classes/TVSeason.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TVSeries.html b/docs/classes/TVSeries.html index 7cb25c69b..8ad74622b 100644 --- a/docs/classes/TVSeries.html +++ b/docs/classes/TVSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Table.html b/docs/classes/Table.html index f44ef07bf..ecb8af59a 100644 --- a/docs/classes/Table.html +++ b/docs/classes/Table.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TakeAction.html b/docs/classes/TakeAction.html index e08b9addf..87165e8f2 100644 --- a/docs/classes/TakeAction.html +++ b/docs/classes/TakeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Task.html b/docs/classes/Task.html index e4ecfb9c8..706d36014 100644 --- a/docs/classes/Task.html +++ b/docs/classes/Task.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -825,7 +825,7 @@

Task Class

- Defined in: src/main/js/cass/ec.base.js:1233 + Defined in: src/main/js/cass/ec.base.js:1238
Module: com.eduworks.ec @@ -887,7 +887,7 @@

updateFrame

Defined in - src/main/js/cass/ec.base.js:1251 + src/main/js/cass/ec.base.js:1256

diff --git a/docs/classes/TaskProfile.html b/docs/classes/TaskProfile.html index f2bcbf2b9..28462efcc 100644 --- a/docs/classes/TaskProfile.html +++ b/docs/classes/TaskProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TattooParlor.html b/docs/classes/TattooParlor.html index 33f0b5f8e..21d53669a 100644 --- a/docs/classes/TattooParlor.html +++ b/docs/classes/TattooParlor.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Taxi.html b/docs/classes/Taxi.html index 5259a7bc9..5d1bf97b1 100644 --- a/docs/classes/Taxi.html +++ b/docs/classes/Taxi.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TaxiReservation.html b/docs/classes/TaxiReservation.html index 82aa63fb9..f5422b6eb 100644 --- a/docs/classes/TaxiReservation.html +++ b/docs/classes/TaxiReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TaxiService.html b/docs/classes/TaxiService.html index 8a60b40d3..602c39d6b 100644 --- a/docs/classes/TaxiService.html +++ b/docs/classes/TaxiService.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TaxiStand.html b/docs/classes/TaxiStand.html index f3c270f28..759158067 100644 --- a/docs/classes/TaxiStand.html +++ b/docs/classes/TaxiStand.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TechArticle.html b/docs/classes/TechArticle.html index 1893cb036..47c8394b6 100644 --- a/docs/classes/TechArticle.html +++ b/docs/classes/TechArticle.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TelevisionChannel.html b/docs/classes/TelevisionChannel.html index dedadb1b4..0218fd8ed 100644 --- a/docs/classes/TelevisionChannel.html +++ b/docs/classes/TelevisionChannel.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TelevisionStation.html b/docs/classes/TelevisionStation.html index 0f80d25ba..f83ab43d8 100644 --- a/docs/classes/TelevisionStation.html +++ b/docs/classes/TelevisionStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TennisComplex.html b/docs/classes/TennisComplex.html index 6838086a7..1a1fbe50c 100644 --- a/docs/classes/TennisComplex.html +++ b/docs/classes/TennisComplex.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TextDigitalDocument.html b/docs/classes/TextDigitalDocument.html index fa05137b9..f0c926f50 100644 --- a/docs/classes/TextDigitalDocument.html +++ b/docs/classes/TextDigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TheaterEvent.html b/docs/classes/TheaterEvent.html index afe90be1d..e321391cd 100644 --- a/docs/classes/TheaterEvent.html +++ b/docs/classes/TheaterEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TheaterGroup.html b/docs/classes/TheaterGroup.html index b62b0727e..e86373b4f 100644 --- a/docs/classes/TheaterGroup.html +++ b/docs/classes/TheaterGroup.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Thing.html b/docs/classes/Thing.html index 0b232ec0f..afe19ca11 100644 --- a/docs/classes/Thing.html +++ b/docs/classes/Thing.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Ticket.html b/docs/classes/Ticket.html index d2fea24f0..694436c8c 100644 --- a/docs/classes/Ticket.html +++ b/docs/classes/Ticket.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TieAction.html b/docs/classes/TieAction.html index 5e1d61b26..4b7de4335 100644 --- a/docs/classes/TieAction.html +++ b/docs/classes/TieAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TipAction.html b/docs/classes/TipAction.html index 376bb5090..63aa0e71d 100644 --- a/docs/classes/TipAction.html +++ b/docs/classes/TipAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TireShop.html b/docs/classes/TireShop.html index 4e21bcfb3..6cb580a4f 100644 --- a/docs/classes/TireShop.html +++ b/docs/classes/TireShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TouristAttraction.html b/docs/classes/TouristAttraction.html index e0d51153a..6977bd51a 100644 --- a/docs/classes/TouristAttraction.html +++ b/docs/classes/TouristAttraction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TouristInformationCenter.html b/docs/classes/TouristInformationCenter.html index 91726cf8e..baf90ff20 100644 --- a/docs/classes/TouristInformationCenter.html +++ b/docs/classes/TouristInformationCenter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ToyStore.html b/docs/classes/ToyStore.html index 21712690d..b1732fa86 100644 --- a/docs/classes/ToyStore.html +++ b/docs/classes/ToyStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TrackAction.html b/docs/classes/TrackAction.html index dc54d4555..4e5e21b02 100644 --- a/docs/classes/TrackAction.html +++ b/docs/classes/TrackAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TradeAction.html b/docs/classes/TradeAction.html index ae017b114..c5b36097e 100644 --- a/docs/classes/TradeAction.html +++ b/docs/classes/TradeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TrainReservation.html b/docs/classes/TrainReservation.html index f384d4338..42e40b3f0 100644 --- a/docs/classes/TrainReservation.html +++ b/docs/classes/TrainReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TrainStation.html b/docs/classes/TrainStation.html index 9b505f8e0..10bca61f7 100644 --- a/docs/classes/TrainStation.html +++ b/docs/classes/TrainStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TrainTrip.html b/docs/classes/TrainTrip.html index f94c4be60..c091a75b1 100644 --- a/docs/classes/TrainTrip.html +++ b/docs/classes/TrainTrip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TransferAction.html b/docs/classes/TransferAction.html index 12ba567e6..bdac84062 100644 --- a/docs/classes/TransferAction.html +++ b/docs/classes/TransferAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TravelAction.html b/docs/classes/TravelAction.html index 77020e909..b36781f21 100644 --- a/docs/classes/TravelAction.html +++ b/docs/classes/TravelAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TravelAgency.html b/docs/classes/TravelAgency.html index bf324d9d0..9280be04f 100644 --- a/docs/classes/TravelAgency.html +++ b/docs/classes/TravelAgency.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Triple.html b/docs/classes/Triple.html index 00c2bcce6..8688c73d8 100644 --- a/docs/classes/Triple.html +++ b/docs/classes/Triple.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/TypeAndQuantityNode.html b/docs/classes/TypeAndQuantityNode.html index b7ae7db0a..4ecfa0da7 100644 --- a/docs/classes/TypeAndQuantityNode.html +++ b/docs/classes/TypeAndQuantityNode.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UnRegisterAction.html b/docs/classes/UnRegisterAction.html index 01cdf40e2..8cd96a033 100644 --- a/docs/classes/UnRegisterAction.html +++ b/docs/classes/UnRegisterAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UnitPriceSpecification.html b/docs/classes/UnitPriceSpecification.html index 32f148778..3f2fe545b 100644 --- a/docs/classes/UnitPriceSpecification.html +++ b/docs/classes/UnitPriceSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UpdateAction.html b/docs/classes/UpdateAction.html index d77662ecd..1d802c1e5 100644 --- a/docs/classes/UpdateAction.html +++ b/docs/classes/UpdateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UseAction.html b/docs/classes/UseAction.html index 9bc023d29..4621ab25e 100644 --- a/docs/classes/UseAction.html +++ b/docs/classes/UseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserBlocks.html b/docs/classes/UserBlocks.html index 21bf9ff51..afbe4d3be 100644 --- a/docs/classes/UserBlocks.html +++ b/docs/classes/UserBlocks.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserCheckins.html b/docs/classes/UserCheckins.html index bbf7e8b21..abfb0068a 100644 --- a/docs/classes/UserCheckins.html +++ b/docs/classes/UserCheckins.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserComments.html b/docs/classes/UserComments.html index a8b416013..15cce0ab9 100644 --- a/docs/classes/UserComments.html +++ b/docs/classes/UserComments.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserDownloads.html b/docs/classes/UserDownloads.html index d412fe41b..e0fdffa38 100644 --- a/docs/classes/UserDownloads.html +++ b/docs/classes/UserDownloads.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserInteraction.html b/docs/classes/UserInteraction.html index 34ea07983..755d0d7ee 100644 --- a/docs/classes/UserInteraction.html +++ b/docs/classes/UserInteraction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserLikes.html b/docs/classes/UserLikes.html index 5210df52c..8934a756f 100644 --- a/docs/classes/UserLikes.html +++ b/docs/classes/UserLikes.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserPageVisits.html b/docs/classes/UserPageVisits.html index c5d11624e..3a0bad980 100644 --- a/docs/classes/UserPageVisits.html +++ b/docs/classes/UserPageVisits.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserPlays.html b/docs/classes/UserPlays.html index 68e25e33d..eccdf9200 100644 --- a/docs/classes/UserPlays.html +++ b/docs/classes/UserPlays.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserPlusOnes.html b/docs/classes/UserPlusOnes.html index 40bc64184..5b2509620 100644 --- a/docs/classes/UserPlusOnes.html +++ b/docs/classes/UserPlusOnes.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/UserTweets.html b/docs/classes/UserTweets.html index b3e2d2ab0..8757ce9cb 100644 --- a/docs/classes/UserTweets.html +++ b/docs/classes/UserTweets.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Vehicle.html b/docs/classes/Vehicle.html index bd2ee4b0e..3496167ba 100644 --- a/docs/classes/Vehicle.html +++ b/docs/classes/Vehicle.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VerificationServiceProfile.html b/docs/classes/VerificationServiceProfile.html index 47daef0cb..cd8708b7b 100644 --- a/docs/classes/VerificationServiceProfile.html +++ b/docs/classes/VerificationServiceProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VideoGallery.html b/docs/classes/VideoGallery.html index d525ffde4..4db470476 100644 --- a/docs/classes/VideoGallery.html +++ b/docs/classes/VideoGallery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VideoGame.html b/docs/classes/VideoGame.html index e68f70687..62fcddc13 100644 --- a/docs/classes/VideoGame.html +++ b/docs/classes/VideoGame.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VideoGameClip.html b/docs/classes/VideoGameClip.html index 71318ddb4..a58dbc8e3 100644 --- a/docs/classes/VideoGameClip.html +++ b/docs/classes/VideoGameClip.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VideoGameSeries.html b/docs/classes/VideoGameSeries.html index ba6e4c907..a3248cffe 100644 --- a/docs/classes/VideoGameSeries.html +++ b/docs/classes/VideoGameSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VideoObject.html b/docs/classes/VideoObject.html index fee4858e9..b4e3696f6 100644 --- a/docs/classes/VideoObject.html +++ b/docs/classes/VideoObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ViewAction.html b/docs/classes/ViewAction.html index 1e20cc3b9..d6f93f892 100644 --- a/docs/classes/ViewAction.html +++ b/docs/classes/ViewAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/ViewManager.html b/docs/classes/ViewManager.html index b72a94acc..a83c9657c 100644 --- a/docs/classes/ViewManager.html +++ b/docs/classes/ViewManager.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VisualArtsEvent.html b/docs/classes/VisualArtsEvent.html index 5f8aeafbd..ed5f94088 100644 --- a/docs/classes/VisualArtsEvent.html +++ b/docs/classes/VisualArtsEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VisualArtwork.html b/docs/classes/VisualArtwork.html index ea0468d7d..e784d20d7 100644 --- a/docs/classes/VisualArtwork.html +++ b/docs/classes/VisualArtwork.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Volcano.html b/docs/classes/Volcano.html index 6c8336939..37036c711 100644 --- a/docs/classes/Volcano.html +++ b/docs/classes/Volcano.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/VoteAction.html b/docs/classes/VoteAction.html index 21996a87e..cce016ec7 100644 --- a/docs/classes/VoteAction.html +++ b/docs/classes/VoteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WPAdBlock.html b/docs/classes/WPAdBlock.html index 7b7eb3abe..c92a8e773 100644 --- a/docs/classes/WPAdBlock.html +++ b/docs/classes/WPAdBlock.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WPFooter.html b/docs/classes/WPFooter.html index 13c347ba5..33af0b7d0 100644 --- a/docs/classes/WPFooter.html +++ b/docs/classes/WPFooter.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WPHeader.html b/docs/classes/WPHeader.html index 7e287e687..1a401ea95 100644 --- a/docs/classes/WPHeader.html +++ b/docs/classes/WPHeader.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WPSideBar.html b/docs/classes/WPSideBar.html index a412c6b41..4b514b846 100644 --- a/docs/classes/WPSideBar.html +++ b/docs/classes/WPSideBar.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WantAction.html b/docs/classes/WantAction.html index 3c9be3092..d3c1d2dff 100644 --- a/docs/classes/WantAction.html +++ b/docs/classes/WantAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WarrantyPromise.html b/docs/classes/WarrantyPromise.html index 29585a70a..76322ce71 100644 --- a/docs/classes/WarrantyPromise.html +++ b/docs/classes/WarrantyPromise.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WarrantyScope.html b/docs/classes/WarrantyScope.html index 30f0c88f0..e14156880 100644 --- a/docs/classes/WarrantyScope.html +++ b/docs/classes/WarrantyScope.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WatchAction.html b/docs/classes/WatchAction.html index 5af35d08e..10329e042 100644 --- a/docs/classes/WatchAction.html +++ b/docs/classes/WatchAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Waterfall.html b/docs/classes/Waterfall.html index 4ea889aca..42702b278 100644 --- a/docs/classes/Waterfall.html +++ b/docs/classes/Waterfall.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WearAction.html b/docs/classes/WearAction.html index 5686d65a1..893d41f89 100644 --- a/docs/classes/WearAction.html +++ b/docs/classes/WearAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WebApplication.html b/docs/classes/WebApplication.html index 0037709fd..057e124bc 100644 --- a/docs/classes/WebApplication.html +++ b/docs/classes/WebApplication.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WebPage.html b/docs/classes/WebPage.html index 72f139fca..4d9c5e39e 100644 --- a/docs/classes/WebPage.html +++ b/docs/classes/WebPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WebPageElement.html b/docs/classes/WebPageElement.html index e869da738..1f0c3aea4 100644 --- a/docs/classes/WebPageElement.html +++ b/docs/classes/WebPageElement.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WebSite.html b/docs/classes/WebSite.html index 84ef6c681..eba910072 100644 --- a/docs/classes/WebSite.html +++ b/docs/classes/WebSite.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WholesaleStore.html b/docs/classes/WholesaleStore.html index 7cb6d4d1c..6daf09b83 100644 --- a/docs/classes/WholesaleStore.html +++ b/docs/classes/WholesaleStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WinAction.html b/docs/classes/WinAction.html index d34b3a480..0b9178227 100644 --- a/docs/classes/WinAction.html +++ b/docs/classes/WinAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Winery.html b/docs/classes/Winery.html index 149eb60f4..597d9812c 100644 --- a/docs/classes/Winery.html +++ b/docs/classes/Winery.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/WriteAction.html b/docs/classes/WriteAction.html index 4542961d9..947d3c34c 100644 --- a/docs/classes/WriteAction.html +++ b/docs/classes/WriteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/XapiConfig.html b/docs/classes/XapiConfig.html index dbda299d8..2b25745a4 100644 --- a/docs/classes/XapiConfig.html +++ b/docs/classes/XapiConfig.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/classes/Zoo.html b/docs/classes/Zoo.html index 8199997cd..2220f60de 100644 --- a/docs/classes/Zoo.html +++ b/docs/classes/Zoo.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/data.json b/docs/data.json index 18c54222d..83551817e 100644 --- a/docs/data.json +++ b/docs/data.json @@ -2,7 +2,7 @@ "project": { "name": "CASS Javascript Library", "description": "CASS Javascript Library API: ", - "version": "1.2.33", + "version": "1.2.34", "url": "http://cassproject.org/", "logo": "http://docs.cassproject.org/img/customLogo-blue.png" }, @@ -1928,7 +1928,7 @@ "module": "org.cassproject", "namespace": "", "file": "src/main/js/cass/cass.import.js", - "line": 674, + "line": 679, "description": "Importer methods to copy or link to competencies that already\nexist in another framework in a CASS instance.", "author": "devlin.junker@eduworks.com" }, @@ -1943,7 +1943,7 @@ "module": "org.cassproject", "namespace": "", "file": "src/main/js/cass/cass.import.js", - "line": 851, + "line": 856, "description": "Export methods to handle exporting two CSV file , one of competencies\nand one of relationships representing a framework", "author": "fritz.ray@eduworks.com" }, @@ -1958,7 +1958,7 @@ "module": "org.cassproject", "namespace": "", "file": "src/main/js/cass/cass.import.js", - "line": 1039, + "line": 1044, "description": "Import methods to handle an CSV file of competencies and a\nCSV file of relationships and store them in a CASS instance", "author": "fritz.ray@eduworks.com" }, @@ -2033,7 +2033,7 @@ "module": "org.cassproject", "namespace": "", "file": "src/main/js/cass/cass.rollup.js", - "line": 3899, + "line": 3906, "description": "Processor used in determining all the competencies a for which a user has assertions.\nUtilizes EcFrameworkGraph", "author": "tom.buskirk@eduworks.com" }, @@ -2153,7 +2153,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ebac.repository.js", - "line": 2484, + "line": 2489, "description": "Implementation of a file with methods for communicating with repository services", "author": "devlin.junker@eduworks.com" }, @@ -2228,7 +2228,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 974, + "line": 979, "description": "A graph consisting of a set of vertices of type V\nset and a set of edges of type E. Edges of this\ngraph type have exactly two endpoints; whether these endpoints\nmust be distinct depends on the implementation.\n

\nThis interface permits, but does not enforce, any of the following\ncommon variations of graphs:\n

\nExtensions or implementations of this interface\nmay enforce or disallow any or all of these variations.\n

\n

Definitions (with respect to a given vertex v):\n

", "author": "Tom Buskirk (tom.buskirk@eduworks.com)", "extends": "Hypergraph" @@ -2244,7 +2244,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1197, + "line": 1202, "description": "Object Helper Functions", "author": "fritz.ray@eduworks.com" }, @@ -2259,7 +2259,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1233, + "line": 1238, "description": "Class with static methods to prevent unnecessary overhead with small operations that don't prevent drawing,\nbut to setTimeout on methods that slow down the browser sufficiently to interfere with drawing.\nUses a framerate timer to determine between the two." }, "EcDirectedGraph": { @@ -2273,7 +2273,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1317, + "line": 1322, "description": "A directed implementation of {{#crossLink \"Graph\"}}Graph{{/crossLink}}. Edges have types. Two vertices may have many edges between them.", "params": [ { @@ -2299,7 +2299,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1629, + "line": 1634, "description": "Pattern (probably similar to Promise) that provides fine grained control over asynchronous execution.\nWill iterate over all items in an array and perform 'each(item,callback)'.\nEvery 'each' needs to call the callback. This callback can be passed down through several asynchronous calls.\nWhen all callbacks have been called, 'after(array)' is called.", "author": "fritz.ray@eduworks.com" }, @@ -17098,7 +17098,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 692, + "line": 697, "description": "Copies or links competencies that exist in one framework in a CASS instance,\nto another different framework in the same CASS instance.", "params": [ { @@ -17147,7 +17147,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 900, + "line": 905, "description": "Method to export the CSV files of competencies and relationships for a framework", "params": [ { @@ -17175,7 +17175,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 1056, + "line": 1061, "description": "Analyzes a CSV File to return the column names to the user for specifying\nwhich columns contain which data. This should be called before import.", "params": [ { @@ -17204,7 +17204,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 1085, + "line": 1090, "description": "Helper function to transform a competencies oldID to match the new server url", "params": [ { @@ -17234,7 +17234,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 1106, + "line": 1111, "description": "Method to create competencies (and relationships if the parameters are passed in)\nbased on a CSV file and references to which columns correspond to which pieces\nof data.", "params": [ { @@ -17323,7 +17323,7 @@ }, { "file": "src/main/js/cass/cass.import.js", - "line": 1229, + "line": 1234, "description": "Handles actually importing the relationships from the relationship CSV file", "params": [ { @@ -17991,7 +17991,7 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 2714, + "line": 2721, "description": "Helper method to populate the graph with assertion data, based on propagation rules implicit in the relations (see devs.cassproject.org, Relations). Does not draw conclusions. Must be able to decrypt 'negative' value.", "params": [ { @@ -18015,7 +18015,7 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 2797, + "line": 2804, "description": "Fetches the Meta Competency (additional state information used to compute profiles or other data) for a competency.", "params": [ { @@ -18035,14 +18035,14 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 4536, + "line": 4543, "description": "IF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

\nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

\nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\n

\nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE INDETERMINANT", "class": "ProfileProcessor", "module": "org.cassproject" }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 4716, + "line": 4723, "description": "IF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

\nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

\nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\n

\nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE INDETERMINANT", "class": "ProfileProcessor", "module": "org.cassproject" @@ -20085,7 +20085,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1543, + "line": 1545, "description": "Attempts to delete a piece of data.\n

\nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20113,7 +20113,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1561, + "line": 1563, "description": "Attempts to delete a piece of data.\n

\nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20141,7 +20141,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1615, + "line": 1617, "description": "Attempts to delete a piece of data.\n

\nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20169,7 +20169,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1663, + "line": 1666, "description": "Retrieves data from the server and caches it for use later during the\napplication. This should be called before the data is needed if possible,\nso loading displays can be faster.", "params": [ { @@ -20191,7 +20191,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1708, + "line": 1711, "description": "Retrieves data from the server and caches it for use later during the\napplication. This should be called before the data is needed if possible,\nso loading displays can be faster.", "params": [ { @@ -20213,7 +20213,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1746, + "line": 1750, "description": "Returns an array of JSON-LD objects from the places designated by the given URIs.\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20245,7 +20245,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1792, + "line": 1796, "description": "Search a repository for JSON-LD compatible data.\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20277,7 +20277,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1810, + "line": 1814, "description": "Search a repository for JSON-LD compatible data synchronously.\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20297,7 +20297,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1824, + "line": 1828, "description": "Search a repository for JSON-LD compatible data.\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20334,7 +20334,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1934, + "line": 1938, "description": "Search a repository for JSON-LD compatible data synchronously.\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20359,7 +20359,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2052, + "line": 2056, "description": "Searches known repository endpoints to set the server configuration for\nthis repositories instance", "memberof": "EcRepository", "itemtype": "method", @@ -20369,7 +20369,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2126, + "line": 2130, "description": "Searches known repository endpoints to set the server configuration for\nthis repositories instance", "memberof": "EcRepository", "itemtype": "method", @@ -20379,7 +20379,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2197, + "line": 2201, "description": "Handles the actual detection of repository endpoint /ping service", "params": [ { @@ -20402,7 +20402,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2243, + "line": 2247, "description": "Handles the actual detection of repository endpoint /ping service", "params": [ { @@ -20425,7 +20425,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2286, + "line": 2290, "description": "Lists all types visible to the current user in the repository\n

\nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20447,7 +20447,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2306, + "line": 2310, "description": "Backs up the skyrepo elasticsearch database to the server backup directory", "params": [ { @@ -20474,7 +20474,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2318, + "line": 2322, "description": "Restores the skyrepo elasticsearch backup from the server backup directory", "params": [ { @@ -20501,7 +20501,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2330, + "line": 2334, "description": "Wipes all data from the the skyrepo elasticsearch, can only be restored by using backup restore", "params": [ { @@ -20528,7 +20528,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2342, + "line": 2346, "description": "Handles the search results in search by params, before returning them\nwith the callback passed into search method", "params": [ { @@ -20561,7 +20561,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2379, + "line": 2384, "description": "Fetches the admin keys from the server to compare for check if current\nuser is an admin user", "params": [ { @@ -20583,7 +20583,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2497, + "line": 2502, "description": "Factory method for creating a file with certain values", "params": [ { @@ -20615,7 +20615,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2519, + "line": 2524, "description": "Retrieves a file from the server specified by it's ID", "params": [ { @@ -20643,7 +20643,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2539, + "line": 2544, "description": "Searches the repository given for files that match the query passed in", "params": [ { @@ -20680,7 +20680,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2562, + "line": 2567, "description": "Saves this file in the repository using the repository web services", "params": [ { @@ -20702,7 +20702,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2583, + "line": 2588, "description": "Deletes the file from the repository using repository web services", "params": [ { @@ -21736,7 +21736,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 893, + "line": 898, "description": "DELETEs something at a remote endpoint. Composed of a server endpoint\n(root URL) and a service (service path).", "params": [ { @@ -21768,7 +21768,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1017, + "line": 1022, "description": "Returns a Collection view of the incoming edges incident to vertex\nin this graph.", "params": [ { @@ -21786,7 +21786,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1027, + "line": 1032, "description": "Returns a Collection view of the outgoing edges incident to vertex\nin this graph.", "params": [ { @@ -21804,7 +21804,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1037, + "line": 1042, "description": "Returns a Collection view of the predecessors of vertex\nin this graph. A predecessor of vertex is defined as a vertex v\nwhich is connected to\nvertex by an edge e, where e is an outgoing edge of\nv and an incoming edge of vertex.", "params": [ { @@ -21822,7 +21822,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1050, + "line": 1055, "description": "Returns a Collection view of the successors of vertex\nin this graph. A successor of vertex is defined as a vertex v\nwhich is connected to\nvertex by an edge e, where e is an incoming edge of\nv and an outgoing edge of vertex.", "params": [ { @@ -21840,7 +21840,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1063, + "line": 1068, "description": "Returns the number of incoming edges incident to vertex.\nEquivalent to getInEdges(vertex).size().", "params": [ { @@ -21858,7 +21858,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1072, + "line": 1077, "description": "Returns the number of outgoing edges incident to vertex.\nEquivalent to getOutEdges(vertex).size().", "params": [ { @@ -21876,7 +21876,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1081, + "line": 1086, "description": "Returns true if v1 is a predecessor of v2 in this graph.\nEquivalent to v1.getPredecessors().contains(v2).", "params": [ { @@ -21898,7 +21898,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1091, + "line": 1096, "description": "Returns true if v1 is a successor of v2 in this graph.\nEquivalent to v1.getSuccessors().contains(v2).", "params": [ { @@ -21920,7 +21920,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1101, + "line": 1106, "description": "Returns the number of predecessors that vertex has in this graph.\nEquivalent to vertex.getPredecessors().size().", "params": [ { @@ -21938,7 +21938,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1110, + "line": 1115, "description": "Returns the number of successors that vertex has in this graph.\nEquivalent to vertex.getSuccessors().size().", "params": [ { @@ -21956,7 +21956,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1119, + "line": 1124, "description": "If directed_edge is a directed edge in this graph, returns the source;\notherwise returns null.\nThe source of a directed edge d is defined to be the vertex for which\nd is an outgoing edge.\ndirected_edge is guaranteed to be a directed edge if\nits EdgeType is DIRECTED.", "params": [ { @@ -21974,7 +21974,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1132, + "line": 1137, "description": "If directed_edge is a directed edge in this graph, returns the destination;\notherwise returns null.\nThe destination of a directed edge d is defined to be the vertex\nincident to d for which\nd is an incoming edge.\ndirected_edge is guaranteed to be a directed edge if\nits EdgeType is DIRECTED.", "params": [ { @@ -21992,7 +21992,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1146, + "line": 1151, "description": "Returns true if vertex is the source of edge.\nEquivalent to getSource(edge).equals(vertex).", "params": [ { @@ -22014,7 +22014,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1156, + "line": 1161, "description": "Returns true if vertex is the destination of edge.\nEquivalent to getDest(edge).equals(vertex).", "params": [ { @@ -22034,7 +22034,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1165, + "line": 1170, "description": "Adds edge e to this graph such that it connects\nvertex v1 to v2.\nEquivalent to addEdge(e, new Pair(v1, v2)).\nIf this graph does not contain v1, v2,\nor both, implementations may choose to either silently add\nthe vertices to the graph or throw an IllegalArgumentException.\nIf this graph assigns edge types to its edges, the edge type of\ne will be the default for this graph.\nSee Hypergraph.addEdge() for a listing of possible reasons\nfor failure.", "params": [ { @@ -22068,7 +22068,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1186, + "line": 1191, "description": "Returns the vertex at the other end of edge from vertex.\n(That is, returns the vertex incident to edge which is not vertex.)", "params": [ { @@ -22090,7 +22090,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1206, + "line": 1211, "description": "Returns true if the result is an object.", "params": [ { @@ -22110,7 +22110,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1221, + "line": 1226, "description": "Returns keys on the object", "params": [ { @@ -22130,7 +22130,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1251, + "line": 1256, "description": "Updates the framerate timer/counter.", "itemtype": "method", "name": "updateFrame", @@ -22140,7 +22140,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1265, + "line": 1270, "description": "Invoke a method now or later based on whether some time has passed since we last drew the screen.", "params": [ { @@ -22157,7 +22157,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1287, + "line": 1292, "description": "Invoke a method at some point in the future, allowing draw methods to occur periodically.", "params": [ { @@ -22174,7 +22174,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1647, + "line": 1652, "description": "Counter that counts down when each callback is called. Lots of tricks can be done to cause after to proc in different ways.", "itemtype": "property", "name": "counter", @@ -22184,7 +22184,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1654, + "line": 1659, "description": "\"Each\" method. See class description.", "params": [ { @@ -22211,7 +22211,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1673, + "line": 1678, "description": "\"Each\" method. Allows for replacing values in the array. See class description.", "params": [ { @@ -22238,7 +22238,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1722, + "line": 1727, "description": "Stops any remaining objects from being iterated over, if they have not already. Will prevent 'after' from being called.", "itemtype": "method", "name": "stop", @@ -22248,7 +22248,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1731, + "line": 1736, "description": "Stops any remaining objects from being iterated over, if they have not already. Will allow 'after' to be called.", "itemtype": "method", "name": "stop", @@ -22258,7 +22258,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1740, + "line": 1745, "description": "Is preventing 'after' from being called?", "return": { "description": "whether it is stopped." @@ -66311,27 +66311,27 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:692" + "line": " src/main/js/cass/cass.import.js:697" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:900" + "line": " src/main/js/cass/cass.import.js:905" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:1056" + "line": " src/main/js/cass/cass.import.js:1061" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:1085" + "line": " src/main/js/cass/cass.import.js:1090" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:1106" + "line": " src/main/js/cass/cass.import.js:1111" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.import.js:1229" + "line": " src/main/js/cass/cass.import.js:1234" }, { "message": "unknown tag: internal", @@ -66343,7 +66343,7 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.rollup.js:2797" + "line": " src/main/js/cass/cass.rollup.js:2804" }, { "message": "unknown tag: memberof", @@ -66675,111 +66675,111 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1543" + "line": " src/main/js/cass/ebac.repository.js:1545" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1561" + "line": " src/main/js/cass/ebac.repository.js:1563" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1615" + "line": " src/main/js/cass/ebac.repository.js:1617" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1663" + "line": " src/main/js/cass/ebac.repository.js:1666" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1708" + "line": " src/main/js/cass/ebac.repository.js:1711" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1746" + "line": " src/main/js/cass/ebac.repository.js:1750" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1792" + "line": " src/main/js/cass/ebac.repository.js:1796" }, { "message": "replacing incorrect tag: returns with return", - "line": " src/main/js/cass/ebac.repository.js:1810" + "line": " src/main/js/cass/ebac.repository.js:1814" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1810" + "line": " src/main/js/cass/ebac.repository.js:1814" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1824" + "line": " src/main/js/cass/ebac.repository.js:1828" }, { "message": "replacing incorrect tag: returns with return", - "line": " src/main/js/cass/ebac.repository.js:1934" + "line": " src/main/js/cass/ebac.repository.js:1938" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1934" + "line": " src/main/js/cass/ebac.repository.js:1938" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2052" + "line": " src/main/js/cass/ebac.repository.js:2056" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2126" + "line": " src/main/js/cass/ebac.repository.js:2130" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2197" + "line": " src/main/js/cass/ebac.repository.js:2201" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2243" + "line": " src/main/js/cass/ebac.repository.js:2247" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2286" + "line": " src/main/js/cass/ebac.repository.js:2290" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2306" + "line": " src/main/js/cass/ebac.repository.js:2310" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2318" + "line": " src/main/js/cass/ebac.repository.js:2322" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2330" + "line": " src/main/js/cass/ebac.repository.js:2334" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2342" + "line": " src/main/js/cass/ebac.repository.js:2346" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2379" + "line": " src/main/js/cass/ebac.repository.js:2384" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2497" + "line": " src/main/js/cass/ebac.repository.js:2502" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2519" + "line": " src/main/js/cass/ebac.repository.js:2524" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2539" + "line": " src/main/js/cass/ebac.repository.js:2544" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2562" + "line": " src/main/js/cass/ebac.repository.js:2567" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2583" + "line": " src/main/js/cass/ebac.repository.js:2588" }, { "message": "unknown tag: memberof", @@ -66815,23 +66815,23 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1654" + "line": " src/main/js/cass/ec.base.js:1659" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1673" + "line": " src/main/js/cass/ec.base.js:1678" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1722" + "line": " src/main/js/cass/ec.base.js:1727" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1731" + "line": " src/main/js/cass/ec.base.js:1736" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1740" + "line": " src/main/js/cass/ec.base.js:1745" }, { "message": "unknown tag: memberof", @@ -67559,15 +67559,15 @@ }, { "message": "Missing item type\nHelper method to populate the graph with assertion data, based on propagation rules implicit in the relations (see devs.cassproject.org, Relations). Does not draw conclusions. Must be able to decrypt 'negative' value.", - "line": " src/main/js/cass/cass.rollup.js:2714" + "line": " src/main/js/cass/cass.rollup.js:2721" }, { "message": "Missing item type\nIF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

\nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

\nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\n

\nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE INDETERMINANT", - "line": " src/main/js/cass/cass.rollup.js:4536" + "line": " src/main/js/cass/cass.rollup.js:4543" }, { "message": "Missing item type\nIF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

\nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

\nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\n

\nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

\nELSE INDETERMINANT\n

\nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

\nELSE INDETERMINANT", - "line": " src/main/js/cass/cass.rollup.js:4716" + "line": " src/main/js/cass/cass.rollup.js:4723" }, { "message": "Missing item type\nCreated by fray on 5/9/17.", @@ -67587,15 +67587,15 @@ }, { "message": "Missing item type\nReturns true if vertex is the destination of edge.\nEquivalent to getDest(edge).equals(vertex).", - "line": " src/main/js/cass/ec.base.js:1156" + "line": " src/main/js/cass/ec.base.js:1161" }, { "message": "Missing item type\nInvoke a method now or later based on whether some time has passed since we last drew the screen.", - "line": " src/main/js/cass/ec.base.js:1265" + "line": " src/main/js/cass/ec.base.js:1270" }, { "message": "Missing item type\nInvoke a method at some point in the future, allowing draw methods to occur periodically.", - "line": " src/main/js/cass/ec.base.js:1287" + "line": " src/main/js/cass/ec.base.js:1292" }, { "message": "Missing item type\nSTJS Wrapper for the Browser Native History Object", diff --git a/docs/files/src_main_js_cass_cass.adapter.js.html b/docs/files/src_main_js_cass_cass.adapter.js.html index 0bb67e04e..0a189997a 100644 --- a/docs/files/src_main_js_cass_cass.adapter.js.html +++ b/docs/files/src_main_js_cass_cass.adapter.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_cass.competency.js.html b/docs/files/src_main_js_cass_cass.competency.js.html index ed86314f9..7f408a439 100644 --- a/docs/files/src_main_js_cass_cass.competency.js.html +++ b/docs/files/src_main_js_cass_cass.competency.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_cass.import.js.html b/docs/files/src_main_js_cass_cass.import.js.html index 7d1c6a490..026c15443 100644 --- a/docs/files/src_main_js_cass_cass.import.js.html +++ b/docs/files/src_main_js_cass_cass.import.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -1440,10 +1440,10 @@

File: src/main/js/cass/cass.import.js

var competencies = new Array(); var alignments = new Array(); for (var i = 0; i < lines.length; i++) - TabStructuredImport.parseLinesIntoHierarchy(lines, competencies, alignments, i, serverUrl, hashNameForId); + TabStructuredImport.parseLinesIntoHierarchy(lines, competencies, alignments, i, serverUrl, hashNameForId, repo); success(competencies, alignments); }; - constructor.parseLinesIntoHierarchy = function(lines, competencies, alignments, index, serverUrl, hashNameForId) { + constructor.parseLinesIntoHierarchy = function(lines, competencies, alignments, index, serverUrl, hashNameForId, repo) { var parentI = -1; for (var i = index - 1; i >= 0; i--) { if (TabStructuredImport.tabs(lines[i]) < TabStructuredImport.tabs(lines[index])) { @@ -1462,6 +1462,8 @@

File: src/main/js/cass/cass.import.js

c = new EcCompetency(); if (hashNameForId) c.assignId(serverUrl, EcCrypto.md5(lines[index].trim())); + else if (serverUrl != repo.selectedServer) + c.generateShortId(serverUrl); else c.generateId(serverUrl); c.setName(lines[index]); @@ -1477,7 +1479,10 @@

File: src/main/js/cass/cass.import.js

} if (parent != null) { var a = new EcAlignment(); - a.generateId(serverUrl); + if (serverUrl != repo.selectedServer) + a.generateShortId(serverUrl); + else + a.generateId(serverUrl); a.relationType = EcAlignment.NARROWS; a.source = c.shortId(); a.target = parent.shortId(); diff --git a/docs/files/src_main_js_cass_cass.rollup.js.html b/docs/files/src_main_js_cass_cass.rollup.js.html index f170e5e8e..70bf41dd0 100644 --- a/docs/files/src_main_js_cass_cass.rollup.js.html +++ b/docs/files/src_main_js_cass_cass.rollup.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -3502,7 +3502,14 @@

File: src/main/js/cass/cass.rollup.js

prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - repo.multiget(framework.competency.concat(framework.relation), function(data) { + var precache = new Array(); + if (framework.competency != null) { + precache = precache.concat(framework.competency); + } + if (framework.relation != null) { + precache = precache.concat(framework.relation); + } + repo.multiget(precache, function(data) { var competencyTemplate = new EcCompetency(); var alignmentTemplate = new EcAlignment(); var eah = new EcAsyncHelper(); diff --git a/docs/files/src_main_js_cass_ebac.identity.js.html b/docs/files/src_main_js_cass_ebac.identity.js.html index 63a256760..62d7f2997 100644 --- a/docs/files/src_main_js_cass_ebac.identity.js.html +++ b/docs/files/src_main_js_cass_ebac.identity.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_ebac.repository.js.html b/docs/files/src_main_js_cass_ebac.repository.js.html index ea778496c..b2a9073ad 100644 --- a/docs/files/src_main_js_cass_ebac.repository.js.html +++ b/docs/files/src_main_js_cass_ebac.repository.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -2327,6 +2327,8 @@

File: src/main/js/cass/ebac.repository.js

if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + if (repo != null) + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(repo.selectedServer, data.getGuid())]; } if (data.invalid()) { failure("Data is malformed."); @@ -2457,6 +2459,7 @@

File: src/main/js/cass/ebac.repository.js

if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, data.getGuid())]; } var targetUrl; if (EcRepository.shouldTryUrl(data.id)) @@ -2562,6 +2565,7 @@

File: src/main/js/cass/ebac.repository.js

} (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(me.selectedServer, d.getGuid())] = d; } } if (success != null) { @@ -3192,6 +3196,7 @@

File: src/main/js/cass/ebac.repository.js

if (EcRepository.caching) { (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, d.getGuid())] = d; } if (eachSuccess != null) { eachSuccess(results[i]); diff --git a/docs/files/src_main_js_cass_ec.base.js.html b/docs/files/src_main_js_cass_ec.base.js.html index 3319575cc..c46ba08af 100644 --- a/docs/files/src_main_js_cass_ec.base.js.html +++ b/docs/files/src_main_js_cass_ec.base.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
@@ -1694,6 +1694,11 @@

File: src/main/js/cass/ec.base.js

if (failure != null) failure(xhrx.responseText); }; + xhr.onerror = function(e) { + if (failure != null) { + failure(null); + } + }; } if (xhr != null) { if (EcRemote.async) diff --git a/docs/files/src_main_js_cass_ec.crypto.js.html b/docs/files/src_main_js_cass_ec.crypto.js.html index 9df11b091..209f22d4e 100644 --- a/docs/files/src_main_js_cass_ec.crypto.js.html +++ b/docs/files/src_main_js_cass_ec.crypto.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_ec.ui.framework.js.html b/docs/files/src_main_js_cass_ec.ui.framework.js.html index 329ff32b8..296ef0fda 100644 --- a/docs/files/src_main_js_cass_ec.ui.framework.js.html +++ b/docs/files/src_main_js_cass_ec.ui.framework.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_jsonld.js.html b/docs/files/src_main_js_cass_jsonld.js.html index d53c03ed8..57471204e 100644 --- a/docs/files/src_main_js_cass_jsonld.js.html +++ b/docs/files/src_main_js_cass_jsonld.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html index 43c7fcb84..07d6eacc4 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html index 68e6d265b..ce38544ef 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html index 4a4618922..269cc486b 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.credentialengine.js.html b/docs/files/src_main_js_cass_org.credentialengine.js.html index 65cbb2913..d494caadf 100644 --- a/docs/files/src_main_js_cass_org.credentialengine.js.html +++ b/docs/files/src_main_js_cass_org.credentialengine.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.json-ld.js.html b/docs/files/src_main_js_cass_org.json-ld.js.html index f7da0a383..33f29ee79 100644 --- a/docs/files/src_main_js_cass_org.json-ld.js.html +++ b/docs/files/src_main_js_cass_org.json-ld.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.schema.js.html b/docs/files/src_main_js_cass_org.schema.js.html index 98dabbd8e..77662eb8b 100644 --- a/docs/files/src_main_js_cass_org.schema.js.html +++ b/docs/files/src_main_js_cass_org.schema.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_org.w3.skos.js.html b/docs/files/src_main_js_cass_org.w3.skos.js.html index f83b02594..703c9989d 100644 --- a/docs/files/src_main_js_cass_org.w3.skos.js.html +++ b/docs/files/src_main_js_cass_org.w3.skos.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/files/src_main_js_cass_pem-jwk.js.html b/docs/files/src_main_js_cass_pem-jwk.js.html index 3668607e3..a3a6be7c7 100644 --- a/docs/files/src_main_js_cass_pem-jwk.js.html +++ b/docs/files/src_main_js_cass_pem-jwk.js.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/index.html b/docs/index.html index d8a04d066..12685794d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/com.eduworks.ec.html b/docs/modules/com.eduworks.ec.html index 7274e9707..2f31f137a 100644 --- a/docs/modules/com.eduworks.ec.html +++ b/docs/modules/com.eduworks.ec.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/com.eduworks.ec.ui.html b/docs/modules/com.eduworks.ec.ui.html index cd1d07523..5a708d29b 100644 --- a/docs/modules/com.eduworks.ec.ui.html +++ b/docs/modules/com.eduworks.ec.ui.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/org.cassproject.html b/docs/modules/org.cassproject.html index f6cd9f15a..75b28c05a 100644 --- a/docs/modules/org.cassproject.html +++ b/docs/modules/org.cassproject.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/org.credentialengine.html b/docs/modules/org.credentialengine.html index 846eeae1f..0789d0a2b 100644 --- a/docs/modules/org.credentialengine.html +++ b/docs/modules/org.credentialengine.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/org.json.ld.html b/docs/modules/org.json.ld.html index 65aac94b8..5b0c56523 100644 --- a/docs/modules/org.json.ld.html +++ b/docs/modules/org.json.ld.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/org.schema.html b/docs/modules/org.schema.html index d5f08f1ea..95c1ffdbd 100644 --- a/docs/modules/org.schema.html +++ b/docs/modules/org.schema.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/docs/modules/org.w3.skos.html b/docs/modules/org.w3.skos.html index 79088be93..6001ffcc4 100644 --- a/docs/modules/org.w3.skos.html +++ b/docs/modules/org.w3.skos.html @@ -17,7 +17,7 @@

- API Docs for: 1.2.33 + API Docs for: 1.2.34
diff --git a/pom.xml b/pom.xml index 46070850a..96f86c532 100644 --- a/pom.xml +++ b/pom.xml @@ -4,11 +4,11 @@ org.cassproject cass war - 1.2.33 + 1.2.34 UTF-8 - 2.11.6 + 2.11.8 5.16.2 diff --git a/src/main/js/cass.js b/src/main/js/cass.js index 8dfac0e5b..800f5ad59 100644 --- a/src/main/js/cass.js +++ b/src/main/js/cass.js @@ -33601,6 +33601,11 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { if (failure != null) failure(xhrx.responseText); }; + xhr.onerror = function(e) { + if (failure != null) { + failure(null); + } + }; } if (xhr != null) { if (EcRemote.async) @@ -83591,6 +83596,8 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + if (repo != null) + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(repo.selectedServer, data.getGuid())]; } if (data.invalid()) { failure("Data is malformed."); @@ -83721,6 +83728,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, data.getGuid())]; } var targetUrl; if (EcRepository.shouldTryUrl(data.id)) @@ -83826,6 +83834,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy } (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(me.selectedServer, d.getGuid())] = d; } } if (success != null) { @@ -84456,6 +84465,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, d.getGuid())] = d; } if (eachSuccess != null) { eachSuccess(results[i]); @@ -87477,10 +87487,10 @@ TabStructuredImport = stjs.extend(TabStructuredImport, null, [], function(constr var competencies = new Array(); var alignments = new Array(); for (var i = 0; i < lines.length; i++) - TabStructuredImport.parseLinesIntoHierarchy(lines, competencies, alignments, i, serverUrl, hashNameForId); + TabStructuredImport.parseLinesIntoHierarchy(lines, competencies, alignments, i, serverUrl, hashNameForId, repo); success(competencies, alignments); }; - constructor.parseLinesIntoHierarchy = function(lines, competencies, alignments, index, serverUrl, hashNameForId) { + constructor.parseLinesIntoHierarchy = function(lines, competencies, alignments, index, serverUrl, hashNameForId, repo) { var parentI = -1; for (var i = index - 1; i >= 0; i--) { if (TabStructuredImport.tabs(lines[i]) < TabStructuredImport.tabs(lines[index])) { @@ -87499,6 +87509,8 @@ TabStructuredImport = stjs.extend(TabStructuredImport, null, [], function(constr c = new EcCompetency(); if (hashNameForId) c.assignId(serverUrl, EcCrypto.md5(lines[index].trim())); + else if (serverUrl != repo.selectedServer) + c.generateShortId(serverUrl); else c.generateId(serverUrl); c.setName(lines[index]); @@ -87514,7 +87526,10 @@ TabStructuredImport = stjs.extend(TabStructuredImport, null, [], function(constr } if (parent != null) { var a = new EcAlignment(); - a.generateId(serverUrl); + if (serverUrl != repo.selectedServer) + a.generateShortId(serverUrl); + else + a.generateId(serverUrl); a.relationType = EcAlignment.NARROWS; a.source = c.shortId(); a.target = parent.shortId(); @@ -91656,7 +91671,14 @@ EcFrameworkGraph = stjs.extend(EcFrameworkGraph, EcDirectedGraph, [], function(c prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - repo.multiget(framework.competency.concat(framework.relation), function(data) { + var precache = new Array(); + if (framework.competency != null) { + precache = precache.concat(framework.competency); + } + if (framework.relation != null) { + precache = precache.concat(framework.relation); + } + repo.multiget(precache, function(data) { var competencyTemplate = new EcCompetency(); var alignmentTemplate = new EcAlignment(); var eah = new EcAsyncHelper(); diff --git a/src/main/js/cass.min.js b/src/main/js/cass.min.js index 0a56d7fa0..06c900e42 100644 --- a/src/main/js/cass.min.js +++ b/src/main/js/cass.min.js @@ -1,16 +1,16 @@ -var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(d,a,b){if(b.get||b.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[a]=b.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; -$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(d){return $jscomp.SYMBOL_PREFIX+(d||"")+$jscomp.symbolCounter_++}; -$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var a=0;return $jscomp.iteratorPrototype(function(){return a=this.length()};c.ByteStringBuffer.prototype.putByte=function(a){return this.putBytes(String.fromCharCode(a))}; c.ByteStringBuffer.prototype.fillWithByte=function(a,b){a=String.fromCharCode(a);for(var c=this.data;0>>=1,0>8& 255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt24=function(a){return this.putBytes(String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt32=function(a){return this.putBytes(String.fromCharCode(a>>24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt16Le=function(a){return this.putBytes(String.fromCharCode(a&255)+String.fromCharCode(a>> @@ -21,11 +21,11 @@ function(){var a=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+ function(a){var b=this.getInt(a);a=2<=a&&(b-=a<<1),b};c.ByteStringBuffer.prototype.getBytes=function(a){var b;return a?(a=Math.min(this.length(),a),b=this.data.slice(this.read,this.read+a),this.read+=a):0===a?b="":(b=0===this.read?this.data:this.data.slice(this.read),this.clear()),b};c.ByteStringBuffer.prototype.bytes=function(a){return"undefined"==typeof a?this.data.slice(this.read):this.data.slice(this.read,this.read+a)};c.ByteStringBuffer.prototype.at=function(a){return this.data.charCodeAt(this.read+ a)};c.ByteStringBuffer.prototype.setAt=function(a,b){return this.data=this.data.substr(0,this.read+a)+String.fromCharCode(b)+this.data.substr(this.read+a+1),this};c.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};c.ByteStringBuffer.prototype.copy=function(){var a=c.createBuffer(this.data);return a.read=this.read,a};c.ByteStringBuffer.prototype.compact=function(){return 0c&&(a+="0");a+=c.toString(16)}return a};c.ByteStringBuffer.prototype.toString=function(){return c.decodeUtf8(this.bytes())};c.DataBuffer=function(a,b){b=b||{};this.read=b.readOffset|| -0;this.growSize=b.growSize||1024;var f=c.isArrayBuffer(a),k=c.isArrayBufferView(a);f||k?(f?this.data=new DataView(a):this.data=new DataView(a.buffer,a.byteOffset,a.byteLength),this.write="writeOffset"in b?b.writeOffset:this.data.byteLength):(this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!==a&&void 0!==a&&this.putBytes(a),"writeOffset"in b&&(this.write=b.writeOffset))};c.DataBuffer.prototype.length=function(){return this.write-this.read};c.DataBuffer.prototype.isEmpty=function(){return 0>= +0;this.growSize=b.growSize||1024;var g=c.isArrayBuffer(a),k=c.isArrayBufferView(a);g||k?(g?this.data=new DataView(a):this.data=new DataView(a.buffer,a.byteOffset,a.byteLength),this.write="writeOffset"in b?b.writeOffset:this.data.byteLength):(this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!==a&&void 0!==a&&this.putBytes(a),"writeOffset"in b&&(this.write=b.writeOffset))};c.DataBuffer.prototype.length=function(){return this.write-this.read};c.DataBuffer.prototype.isEmpty=function(){return 0>= this.length()};c.DataBuffer.prototype.accommodate=function(a,b){if(this.length()>=a)return this;b=Math.max(b||this.growSize,a);a=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength);b=new Uint8Array(this.length()+b);return b.set(a),this.data=new DataView(b.buffer),this};c.DataBuffer.prototype.putByte=function(a){return this.accommodate(1),this.data.setUint8(this.write++,a),this};c.DataBuffer.prototype.fillWithByte=function(a,b){this.accommodate(b);for(var c=0;c>8&65535),this.data.setInt8(this.write,a>>16&255),this.write+=3,this};c.DataBuffer.prototype.putInt32=function(a){return this.accommodate(4), this.data.setInt32(this.write,a),this.write+=4,this};c.DataBuffer.prototype.putInt16Le=function(a){return this.accommodate(2),this.data.setInt16(this.write,a,!0),this.write+=2,this};c.DataBuffer.prototype.putInt24Le=function(a){return this.accommodate(3),this.data.setInt8(this.write,a>>16&255),this.data.setInt16(this.write,a>>8&65535,!0),this.write+=3,this};c.DataBuffer.prototype.putInt32Le=function(a){return this.accommodate(4),this.data.setInt32(this.write,a,!0),this.write+=4,this};c.DataBuffer.prototype.putInt= function(a,b){this.accommodate(b/8);do b-=8,this.data.setInt8(this.write++,a>>b&255);while(0a&&(a+=2<c&&(a+="0");a+=c.toString(16)}return a};c.DataBuffer.prototype.toString= function(a){var b=new Uint8Array(this.data,this.read,this.length());a=a||"utf8";if("binary"===a||"raw"===a)return c.binary.raw.encode(b);if("hex"===a)return c.binary.hex.encode(b);if("base64"===a)return c.binary.base64.encode(b);if("utf8"===a)return c.text.utf8.decode(b);if("utf16"===a)return c.text.utf16.decode(b);throw Error("Invalid encoding: "+a);};c.createBuffer=function(a,b){return b=b||"raw",void 0!==a&&"utf8"===b&&(a=c.encodeUtf8(a)),new c.ByteBuffer(a)};c.fillString=function(a,b){for(var c= -"";0>>=1,0> -24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255)};var k=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];c.encode64=function(a,b){for(var c="",f="",k,e,g,m=0;m> -2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|e>>4),isNaN(e)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((e&15)<<2|g>>6),c+=isNaN(g)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(g&63)),b&&c.length>b&&(f+=c.substr(0,b)+"\r\n",c=c.substr(b));return f+=c,f};c.decode64=function(a){a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var b="",c,f,e,z,g=0;g>4),64!==e&&(b+=String.fromCharCode((f&15)<<4|e>>2),64!==z&&(b+=String.fromCharCode((e&3)<<6|z)));return b};c.encodeUtf8=function(a){return unescape(encodeURIComponent(a))};c.decodeUtf8=function(a){return decodeURIComponent(escape(a))};c.binary={raw:{},hex:{},base64:{}};c.binary.raw.encode=function(a){return String.fromCharCode.apply(null,a)};c.binary.raw.decode=function(a,b,c){var f=b; -f||(f=new Uint8Array(a.length));for(var k=c=c||0,e=0;e> -2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|e>>4),isNaN(e)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((e&15)<<2|g>>6),c+=isNaN(g)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(g&63)),b&&c.length>b&&(f+=c.substr(0,b)+"\r\n",c=c.substr(b));return f+=c,f};c.binary.base64.decode=function(a,b,c){var f=b;f||(f=new Uint8Array(3*Math.ceil(a.length/4)));a=a.replace(/[^A-Za-z0-9\+\/\=]/g, -"");c=c||0;for(var e,z,g,m,h=0,n=c;h>4,64!==g&&(f[n++]=(z&15)<<4|g>>2,64!==m&&(f[n++]=(g&3)<<6|m));return b?n-c:f.subarray(0,n)};c.text={utf8:{},utf16:{}};c.text.utf8.encode=function(a,b,f){a=c.encodeUtf8(a);var k=b;k||(k=new Uint8Array(a.length));for(var e=f=f||0,z=0;za?"-":"";var e=parseInt(a=Math.abs(+a|| -0).toFixed(k),10)+"",g=3e;++e)if(a[e]&&0!==a[e].length){var g=c.hexToBytes(a[e]);2>g.length&&k.putByte(0);k.putBytes(g)}else k.fillWithByte(0,f),f=0;return k.getBytes()}; -c.bytesToIP=function(a){return 4===a.length?c.bytesToIPv4(a):16===a.length?c.bytesToIPv6(a):null};c.bytesToIPv4=function(a){if(4!==a.length)return null;for(var b=[],c=0;cf[k].end-f[k].start&&(k= -f.length-1)):f.push({start:h,end:h})}b.push(g)}0z.st&&k.stk.st&&z.st>>=1,0> +24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255)};var k=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];c.encode64=function(a,b){for(var c="",g="",k,d,f,m=0;m> +2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|d>>4),isNaN(d)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((d&15)<<2|f>>6),c+=isNaN(f)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(f&63)),b&&c.length>b&&(g+=c.substr(0,b)+"\r\n",c=c.substr(b));return g+=c,g};c.decode64=function(a){a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var b="",c,g,d,B,f=0;f>4),64!==d&&(b+=String.fromCharCode((g&15)<<4|d>>2),64!==B&&(b+=String.fromCharCode((d&3)<<6|B)));return b};c.encodeUtf8=function(a){return unescape(encodeURIComponent(a))};c.decodeUtf8=function(a){return decodeURIComponent(escape(a))};c.binary={raw:{},hex:{},base64:{}};c.binary.raw.encode=function(a){return String.fromCharCode.apply(null,a)};c.binary.raw.decode=function(a,b,c){var g=b; +g||(g=new Uint8Array(a.length));for(var k=c=c||0,d=0;d> +2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|d>>4),isNaN(d)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((d&15)<<2|f>>6),c+=isNaN(f)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(f&63)),b&&c.length>b&&(g+=c.substr(0,b)+"\r\n",c=c.substr(b));return g+=c,g};c.binary.base64.decode=function(a,b,c){var g=b;g||(g=new Uint8Array(3*Math.ceil(a.length/4)));a=a.replace(/[^A-Za-z0-9\+\/\=]/g, +"");c=c||0;for(var d,B,f,m,h=0,n=c;h>4,64!==f&&(g[n++]=(B&15)<<4|f>>2,64!==m&&(g[n++]=(f&3)<<6|m));return b?n-c:g.subarray(0,n)};c.text={utf8:{},utf16:{}};c.text.utf8.encode=function(a,b,g){a=c.encodeUtf8(a);var k=b;k||(k=new Uint8Array(a.length));for(var d=g=g||0,B=0;Ba?"-":"";var d=parseInt(a=Math.abs(+a|| +0).toFixed(k),10)+"",f=3d;++d)if(a[d]&&0!==a[d].length){var f=c.hexToBytes(a[d]);2>f.length&&k.putByte(0);k.putBytes(f)}else k.fillWithByte(0,g),g=0;return k.getBytes()}; +c.bytesToIP=function(a){return 4===a.length?c.bytesToIPv4(a):16===a.length?c.bytesToIPv6(a):null};c.bytesToIPv4=function(a){if(4!==a.length)return null;for(var b=[],c=0;cg[k].end-g[k].start&&(k= +g.length-1)):g.push({start:h,end:h})}b.push(f)}0m.st&&k.stk.st&&m.stthis.blockSize<<2?!1:(a.truncate(b),!0)};e.cbc=function(a){a=a||{};this.name="CBC";this.cipher=a.cipher;this.blockSize=a.blockSize||16;this._ints=this.blockSize/4;this._inBlock=Array(this._ints);this._outBlock=Array(this._ints)};e.cbc.prototype.start=function(a){if(null===a.iv){if(!this._prev)throw Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._prev=this._iv.slice(0)}};e.cbc.prototype.encrypt= -function(a,b,c){if(a.length()this.blockSize<<2?!1:(a.truncate(b),!0)};e.cfb=function(b){b=b||{};this.name="CFB";this.cipher=b.cipher;this.blockSize=b.blockSize||16;this._ints=this.blockSize/4;this._inBlock=null;this._outBlock=Array(this._ints);this._partialBlock= -Array(this._ints);this._partialOutput=a.util.createBuffer();this._partialBytes=0};e.cfb.prototype.start=function(a){if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._inBlock=this._iv.slice(0);this._partialBytes=0};e.cfb.prototype.encrypt=function(a,b,c){var f=a.length();if(0===f)return!0;this.cipher.encrypt(this._inBlock,this._outBlock);if(0===this._partialBytes&&f>=this.blockSize)for(var k=0;k=this.blockSize)for(var k=0;k=this.blockSize)for(var k= -0;k=this.blockSize)for(var e=0;e=this.blockSize){for(var e=0;ef;++f)a[f/32|0]&1<<31-f%32&&(c[0]^=b[0],c[1]^=b[1],c[2]^=b[2],c[3]^=b[3]),this.pow(b,b);return c};e.gcm.prototype.pow=function(a,b){for(var c=a[3]&1,f=3;0>>1|(a[f-1]&1)<<31;b[0]=a[0]>>>1;c&&(b[0]^=this._R)};e.gcm.prototype.tableMultiply=function(a){for(var b=[0,0,0,0],c=0;32>c;++c){var f=this._m[c][a[c/8|0]>>>4*(7-c%8)&15];b[0]^=f[0];b[1]^=f[1];b[2]^=f[2];b[3]^=f[3]}return b};e.gcm.prototype.ghash=function(a,b,c){return b[0]^=c[0],b[1]^=c[1],b[2]^=c[2],b[3]^=c[3],this.tableMultiply(b)}; -e.gcm.prototype.generateHashTable=function(a,b){for(var c=8/b,f=4*c,c=16*c,k=Array(c),e=0;e>>1,f=Array(b);f[c]=a.slice(0);for(var k=c>>>1;0>=1;for(k=2;kb;++b)a[b]=b<<1,a[b+ -128]=b+128<<1^283;l=Array(256);q=Array(256);D=Array(4);x=Array(4);for(b=0;4>b;++b)D[b]=Array(256),x[b]=Array(256);for(var c=0,f=0,e,k,g,m,n,b=0;256>b;++b){m=f^f<<1^f<<2^f<<3^f<<4;m=m>>8^m&255^99;l[c]=m;q[m]=c;n=a[m];e=a[c];k=a[e];g=a[k];n^=n<<24^m<<16^m<<8^m;k=(e^k^g)<<24^(c^g)<<16^(c^k^g)<<8^c^e^g;for(var r=0;4>r;++r)D[r][c]=n,x[r][m]=k,n=n<<24|n>>>8,k=k<<24|k>>>8;0===c?c=f=1:(c=e^a[a[a[e^g]]],f^=a[a[f]])}}function e(a,b){a=a.slice(0);for(var c,f=1,e=a.length,k=d*(e+6+1),g=e;g>>16&255]<<24^l[c>>>8&255]<<16^l[c&255]<<8^l[c>>>24]^A[f]<<24,f++):6>>24]<<24^l[c>>>16&255]<<16^l[c>>>8&255]<<8^l[c&255]),a[g]=a[g-e]^c;if(b){c=x[0];for(var f=x[1],e=x[2],m=x[3],h=a.slice(0),k=a.length,g=0,n=k-d;g>>24]]^f[l[b>>>16&255]]^e[l[b>>>8&255]]^m[l[b&255]];a=h}return a}function k(a,b,c,f){var e=a.length/4-1,k,g,m,h,n;f?(k=x[0], -g=x[1],m=x[2],h=x[3],n=q):(k=D[0],g=D[1],m=D[2],h=D[3],n=l);var r,p,d,u,v,w;r=b[0]^a[0];p=b[f?3:1]^a[1];d=b[2]^a[2];b=b[f?1:3]^a[3];for(var C=3,F=1;F>>24]^g[p>>>16&255]^m[d>>>8&255]^h[b&255]^a[++C],v=k[p>>>24]^g[d>>>16&255]^m[b>>>8&255]^h[r&255]^a[++C],w=k[d>>>24]^g[b>>>16&255]^m[r>>>8&255]^h[p&255]^a[++C],b=k[b>>>24]^g[r>>>16&255]^m[p>>>8&255]^h[d&255]^a[++C],r=u,p=v,d=w;c[0]=n[r>>>24]<<24^n[p>>>16&255]<<16^n[d>>>8&255]<<8^n[b&255]^a[++C];c[f?3:1]=n[p>>>24]<<24^n[d>>>16&255]<<16^n[b>>> -8&255]<<8^n[r&255]^a[++C];c[2]=n[d>>>24]<<24^n[b>>>16&255]<<16^n[r>>>8&255]<<8^n[p&255]^a[++C];c[f?1:3]=n[b>>>24]<<24^n[r>>>16&255]<<16^n[p>>>8&255]<<8^n[d&255]^a[++C]}function g(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var e=f.start;return f.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k=c,c={});c=c||{};c.output=k;c.iv=b;e.call(f,c)},f}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, -c,f){a=g({key:a,output:c,decrypt:!1,mode:f});return a.start(b),a};a.aes.createEncryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!1,mode:b})};a.aes.startDecrypting=function(a,b,c,f){a=g({key:a,output:c,decrypt:!0,mode:f});return a.start(b),a};a.aes.createDecryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!0,mode:b})};a.aes.Algorithm=function(a,b){h||c();var f=this;f.name=a;f.mode=new b({blockSize:16,cipher:{encrypt:function(a,b){return k(f._w,a,b,!1)},decrypt:function(a, -b){return k(f._w,a,b,!0)}}});f._init=!1};a.aes.Algorithm.prototype.initialize=function(b){if(!this._init){var c=b.key,f;if("string"!=typeof c||16!==c.length&&24!==c.length&&32!==c.length){if(a.util.isArray(c)&&(16===c.length||24===c.length||32===c.length)){f=c;for(var c=a.util.createBuffer(),k=0;k>>=2,k=0;kthis.blockSize<<2?!1:(a.truncate(b),!0)};d.cbc=function(a){a=a||{};this.name="CBC";this.cipher=a.cipher;this.blockSize=a.blockSize||16;this._ints=this.blockSize/4;this._inBlock=Array(this._ints);this._outBlock=Array(this._ints)};d.cbc.prototype.start=function(a){if(null===a.iv){if(!this._prev)throw Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._prev=this._iv.slice(0)}};d.cbc.prototype.encrypt= +function(a,b,c){if(a.length()this.blockSize<<2?!1:(a.truncate(b),!0)};d.cfb=function(b){b=b||{};this.name="CFB";this.cipher=b.cipher;this.blockSize=b.blockSize||16;this._ints=this.blockSize/4;this._inBlock=null;this._outBlock=Array(this._ints);this._partialBlock= +Array(this._ints);this._partialOutput=a.util.createBuffer();this._partialBytes=0};d.cfb.prototype.start=function(a){if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._inBlock=this._iv.slice(0);this._partialBytes=0};d.cfb.prototype.encrypt=function(a,b,c){var g=a.length();if(0===g)return!0;this.cipher.encrypt(this._inBlock,this._outBlock);if(0===this._partialBytes&&g>=this.blockSize)for(var k=0;k=this.blockSize)for(var k=0;k=this.blockSize)for(var k= +0;k=this.blockSize)for(var d=0;d=this.blockSize){for(var d=0;dg;++g)a[g/32|0]&1<<31-g%32&&(c[0]^=b[0],c[1]^=b[1],c[2]^=b[2],c[3]^=b[3]),this.pow(b,b);return c};d.gcm.prototype.pow=function(a,b){for(var c=a[3]&1,g=3;0>>1|(a[g-1]&1)<<31;b[0]=a[0]>>>1;c&&(b[0]^=this._R)};d.gcm.prototype.tableMultiply=function(a){for(var b=[0,0,0,0],c=0;32>c;++c){var g=this._m[c][a[c/8|0]>>>4*(7-c%8)&15];b[0]^=g[0];b[1]^=g[1];b[2]^=g[2];b[3]^=g[3]}return b};d.gcm.prototype.ghash=function(a,b,c){return b[0]^=c[0],b[1]^=c[1],b[2]^=c[2],b[3]^=c[3],this.tableMultiply(b)}; +d.gcm.prototype.generateHashTable=function(a,b){for(var c=8/b,g=4*c,c=16*c,k=Array(c),d=0;d>>1,g=Array(b);g[c]=a.slice(0);for(var k=c>>>1;0>=1;for(k=2;kb;++b)a[b]=b<<1,a[b+ +128]=b+128<<1^283;l=Array(256);q=Array(256);D=Array(4);x=Array(4);for(b=0;4>b;++b)D[b]=Array(256),x[b]=Array(256);for(var c=0,g=0,d,k,f,m,n,b=0;256>b;++b){m=g^g<<1^g<<2^g<<3^g<<4;m=m>>8^m&255^99;l[c]=m;q[m]=c;n=a[m];d=a[c];k=a[d];f=a[k];n^=n<<24^m<<16^m<<8^m;k=(d^k^f)<<24^(c^f)<<16^(c^k^f)<<8^c^d^f;for(var r=0;4>r;++r)D[r][c]=n,x[r][m]=k,n=n<<24|n>>>8,k=k<<24|k>>>8;0===c?c=g=1:(c=d^a[a[a[d^f]]],g^=a[a[g]])}}function d(a,b){a=a.slice(0);for(var c,g=1,d=a.length,k=e*(d+6+1),f=d;f>>16&255]<<24^l[c>>>8&255]<<16^l[c&255]<<8^l[c>>>24]^z[g]<<24,g++):6>>24]<<24^l[c>>>16&255]<<16^l[c>>>8&255]<<8^l[c&255]),a[f]=a[f-d]^c;if(b){c=x[0];for(var g=x[1],d=x[2],m=x[3],h=a.slice(0),k=a.length,f=0,n=k-e;f>>24]]^g[l[b>>>16&255]]^d[l[b>>>8&255]]^m[l[b&255]];a=h}return a}function k(a,b,c,g){var d=a.length/4-1,k,f,m,h,n;g?(k=x[0], +f=x[1],m=x[2],h=x[3],n=q):(k=D[0],f=D[1],m=D[2],h=D[3],n=l);var r,p,e,u,v,w;r=b[0]^a[0];p=b[g?3:1]^a[1];e=b[2]^a[2];b=b[g?1:3]^a[3];for(var C=3,F=1;F>>24]^f[p>>>16&255]^m[e>>>8&255]^h[b&255]^a[++C],v=k[p>>>24]^f[e>>>16&255]^m[b>>>8&255]^h[r&255]^a[++C],w=k[e>>>24]^f[b>>>16&255]^m[r>>>8&255]^h[p&255]^a[++C],b=k[b>>>24]^f[r>>>16&255]^m[p>>>8&255]^h[e&255]^a[++C],r=u,p=v,e=w;c[0]=n[r>>>24]<<24^n[p>>>16&255]<<16^n[e>>>8&255]<<8^n[b&255]^a[++C];c[g?3:1]=n[p>>>24]<<24^n[e>>>16&255]<<16^n[b>>> +8&255]<<8^n[r&255]^a[++C];c[2]=n[e>>>24]<<24^n[b>>>16&255]<<16^n[r>>>8&255]<<8^n[p&255]^a[++C];c[g?1:3]=n[b>>>24]<<24^n[r>>>16&255]<<16^n[p>>>8&255]<<8^n[e&255]^a[++C]}function f(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),g;b.decrypt?g=a.cipher.createDecipher(c,b.key):g=a.cipher.createCipher(c,b.key);var d=g.start;return g.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k=c,c={});c=c||{};c.output=k;c.iv=b;d.call(g,c)},g}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, +c,g){a=f({key:a,output:c,decrypt:!1,mode:g});return a.start(b),a};a.aes.createEncryptionCipher=function(a,b){return f({key:a,output:null,decrypt:!1,mode:b})};a.aes.startDecrypting=function(a,b,c,g){a=f({key:a,output:c,decrypt:!0,mode:g});return a.start(b),a};a.aes.createDecryptionCipher=function(a,b){return f({key:a,output:null,decrypt:!0,mode:b})};a.aes.Algorithm=function(a,b){h||c();var g=this;g.name=a;g.mode=new b({blockSize:16,cipher:{encrypt:function(a,b){return k(g._w,a,b,!1)},decrypt:function(a, +b){return k(g._w,a,b,!0)}}});g._init=!1};a.aes.Algorithm.prototype.initialize=function(b){if(!this._init){var c=b.key,g;if("string"!=typeof c||16!==c.length&&24!==c.length&&32!==c.length){if(a.util.isArray(c)&&(16===c.length||24===c.length||32===c.length)){g=c;for(var c=a.util.createBuffer(),k=0;k>>=2,k=0;kf.length()){var k=Error("Too few bytes to parse DER.");throw k.bytes=f.length(),k;}var g=f.getByte(),k=g&192,m=g&31,h=c(f);if(f.length()=k.length())f.putByte(k.length()&127);else{g=k.length();c="";do c+=String.fromCharCode(g&255),g>>>=8;while(0>>=7,f||(g|=128),e.push(g),f=!1;while(0g.length()){var k=Error("Too few bytes to parse DER.");throw k.bytes=g.length(),k;}var f=g.getByte(),k=f&192,m=f&31,h=c(g);if(g.length()=k.length())g.putByte(k.length()&127);else{f=k.length();c="";do c+=String.fromCharCode(f&255),f>>>=8;while(0>>=7,g||(f|=128),d.push(f),g=!1;while(0c[a].length&&(b+="0"),b+=c[a];return b+="Z",b};b.dateToGeneralizedTime=function(a){if("string"==typeof a)return a;var b="",c=[];c.push(""+a.getUTCFullYear());c.push(""+(a.getUTCMonth()+1));c.push(""+a.getUTCDate());c.push(""+a.getUTCHours());c.push(""+a.getUTCMinutes());c.push(""+a.getUTCSeconds());for(a=0;ac[a].length&&(b+="0"),b+=c[a];return b+="Z",b};b.integerToDer=function(b){var c= -a.util.createBuffer();if(-128<=b&&128>b)return c.putSignedInt(b,8);if(-32768<=b&&32768>b)return c.putSignedInt(b,16);if(-8388608<=b&&8388608>b)return c.putSignedInt(b,24);if(-2147483648<=b&&2147483648>b)return c.putSignedInt(b,32);c=Error("Integer too large; max is 32-bits.");throw c.integer=b,c;};b.derToInteger=function(b){"string"==typeof b&&(b=a.util.createBuffer(b));var c=8*b.length();if(32b;++b)d[b]=Math.floor(4294967296*Math.abs(Math.sin(b+1)));l=!0}function c(a,b,c){for(var f,e,k,m,n,z,r,l=c.length();64<=l;){e=a.h0;k=a.h1;m=a.h2;n=a.h3;for(r=0;16>r;++r)b[r]=c.getInt32Le(),f=n^k&(m^n),f=e+f+d[r]+b[r],z=h[r],e=n,n=m,m=k,k+=f<>>32-z;for(;32>r;++r)f=m^n&(k^m),f=e+ -f+d[r]+b[g[r]],z=h[r],e=n,n=m,m=k,k+=f<>>32-z;for(;48>r;++r)f=k^m^n,f=e+f+d[r]+b[g[r]],z=h[r],e=n,n=m,m=k,k+=f<>>32-z;for(;64>r;++r)f=m^(k|~n),f=e+f+d[r]+b[g[r]],z=h[r],e=n,n=m,m=k,k+=f<>>32-z;a.h0=a.h0+e|0;a.h1=a.h1+k|0;a.h2=a.h2+m|0;a.h3=a.h3+n|0;l-=64}}var e=a.md5=a.md5||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.md5=a.md.algorithms.md5=e;e.create=function(){l||b();var f=null,e=a.util.createBuffer(),g=Array(16),m={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0, -messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],e=a.util.createBuffer(),f={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},m},m.start(),m.update=function(b,k){return"utf8"===k&&(b=a.util.encodeUtf8(b)),m.messageLength+=b.length,m.messageLength64[0]+=b.length/4294967296>>>0,m.messageLength64[1]+=b.length>>>0,e.putBytes(b),c(f,g,e),(2048>>28);var h={h0:f.h0,h1:f.h1,h2:f.h2,h3:f.h3};c(h,g,b);b=a.util.createBuffer();return b.putInt32Le(h.h0),b.putInt32Le(h.h1),b.putInt32Le(h.h2),b.putInt32Le(h.h3),b},m};var k=null,g=null,h=null,d=null,l=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a, -module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.md5)return b.md5;b.defined.md5=!0;for(var e=0;ed;++d)f=c.getInt32(),b[d]=f,n=m^k&(g^m),f=(e<<5|e>>>27)+n+h+1518500249+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;20>d;++d)f=b[d-3]^b[d-8]^b[d-14]^b[d-16],f=f<<1|f>>>31,b[d]=f,n=m^k&(g^m),f=(e<<5|e>>>27)+n+h+1518500249+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;32>d;++d)f=b[d-3]^b[d-8]^b[d-14]^b[d-16],f=f<<1|f>>>31,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+1859775393+f,h=m,m= -g,g=k<<30|k>>>2,k=e,e=f;for(;40>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+1859775393+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;60>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k&g|m&(k^g),f=(e<<5|e>>>27)+n+h+2400959708+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;80>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+3395469782+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;a.h0=a.h0+e|0;a.h1=a.h1+k|0;a.h2=a.h2+g|0;a.h3=a.h3+m| -0;a.h4=a.h4+h|0;r-=64}}var c=a.sha1=a.sha1||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha1=a.md.algorithms.sha1=c;c.create=function(){k||(e=String.fromCharCode(128),e+=a.util.fillString(String.fromCharCode(0),64),k=!0);var c=null,f=a.util.createBuffer(),g=Array(80),m={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],f=a.util.createBuffer(),c={h0:1732584193,h1:4023233417, -h2:2562383102,h3:271733878,h4:3285377520},m},m.start(),m.update=function(e,k){return"utf8"===k&&(e=a.util.encodeUtf8(e)),m.messageLength+=e.length,m.messageLength64[0]+=e.length/4294967296>>>0,m.messageLength64[1]+=e.length>>>0,f.putBytes(e),b(c,g,f),(2048>>28);k.putInt32(m.messageLength64[1]<< -3);var h={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4};b(h,g,k);k=a.util.createBuffer();return k.putInt32(h.h0),k.putInt32(h.h1),k.putInt32(h.h2),k.putInt32(h.h3),k.putInt32(h.h4),k},m};var e=null,k=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha1)return b.sha1; -b.defined.sha1=!0;for(var e=0;eh;++h)b[h]=c.getInt32(); -for(;64>h;++h)f=b[h-2],f=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,e=b[h-15],e=(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,b[h]=f+b[h-7]+e+b[h-16]|0;n=a.h0;d=a.h1;r=a.h2;z=a.h3;l=a.h4;p=a.h5;u=a.h6;v=a.h7;for(h=0;64>h;++h)f=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7),k=u^l&(p^u),e=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),m=n&d|r&(n^d),f=v+f+k+g[h]+b[h],e+=m,v=u,u=p,p=l,l=z+f|0,z=r,r=d,d=n,n=f+e|0;a.h0=a.h0+n|0;a.h1=a.h1+d|0;a.h2=a.h2+r|0;a.h3=a.h3+z|0;a.h4=a.h4+l|0;a.h5=a.h5+p|0;a.h6=a.h6+u|0;a.h7=a.h7+v|0;C-= -64}}var c=a.sha256=a.sha256||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha256=a.md.algorithms.sha256=c;c.create=function(){k||(e=String.fromCharCode(128),e+=a.util.fillString(String.fromCharCode(0),64),g=[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],k=!0);var c=null,f=a.util.createBuffer(),m=Array(64),h={algorithm:"sha256",blockLength:64,digestLength:32, -messageLength:0,messageLength64:[0,0]};return h.start=function(){return h.messageLength=0,h.messageLength64=[0,0],f=a.util.createBuffer(),c={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},h},h.start(),h.update=function(e,k){return"utf8"===k&&(e=a.util.encodeUtf8(e)),h.messageLength+=e.length,h.messageLength64[0]+=e.length/4294967296>>>0,h.messageLength64[1]+=e.length>>>0,f.putBytes(e),b(c,m,f),(2048>>28);k.putInt32(h.messageLength64[1]<<3);var g={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4,h5:c.h5,h6:c.h6,h7:c.h7};b(g,m,k);k=a.util.createBuffer();return k.putInt32(g.h0),k.putInt32(g.h1),k.putInt32(g.h2),k.putInt32(g.h3),k.putInt32(g.h4),k.putInt32(g.h5),k.putInt32(g.h6),k.putInt32(g.h7),k},h};var e=null,k=!1,g=null} -if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha256)return b.sha256;b.defined.sha256=!0;for(var e=0;eU;++U)b[U][0]=c.getInt32()>>>0,b[U][1]=c.getInt32()>>>0;for(;80>U;++U)m=b[U-2],r=m[0],m=m[1],f=((r>>>19|m<<13)^(m>>>29|r<<3)^r>>>6)>>>0,e=((r<<13|m>>>19)^(m<<3|r>>>29)^(r<<26|m>>>6))>>> -0,m=b[U-15],r=m[0],m=m[1],k=((r>>>1|m<<31)^(r>>>8|m<<24)^r>>>7)>>>0,g=((r<<31|m>>>1)^(r<<24|m>>>8)^(r<<25|m>>>7))>>>0,r=b[U-7],l=b[U-16],m=e+r[1]+g+l[1],b[U][0]=f+r[0]+k+l[0]+(m/4294967296>>>0)>>>0,b[U][1]=m>>>0;r=a[0][0];l=a[0][1];p=a[1][0];u=a[1][1];v=a[2][0];I=a[2][1];C=a[3][0];q=a[3][1];A=a[4][0];S=a[4][1];K=a[5][0];N=a[5][1];R=a[6][0];P=a[6][1];H=a[7][0];M=a[7][1];for(U=0;80>U;++U)f=((A>>>14|S<<18)^(A>>>18|S<<14)^(S>>>9|A<<23))>>>0,m=((A<<18|S>>>14)^(A<<14|S>>>18)^(S<<23|A>>>9))>>>0,e=(R^A&(K^ -R))>>>0,n=(P^S&(N^P))>>>0,k=((r>>>28|l<<4)^(l>>>2|r<<30)^(l>>>7|r<<25))>>>0,g=((r<<4|l>>>28)^(l<<30|r>>>2)^(l<<25|r>>>7))>>>0,z=(r&p|v&(r^p))>>>0,d=(l&u|I&(l^u))>>>0,m=M+m+n+h[U][1]+b[U][1],f=H+f+e+h[U][0]+b[U][0]+(m/4294967296>>>0)>>>0,e=m>>>0,m=g+d,k=k+z+(m/4294967296>>>0)>>>0,g=m>>>0,H=R,M=P,R=K,P=N,K=A,N=S,m=q+e,A=C+f+(m/4294967296>>>0)>>>0,S=m>>>0,C=v,q=I,v=p,I=u,p=r,u=l,m=e+g,r=f+k+(m/4294967296>>>0)>>>0,l=m>>>0;m=a[0][1]+l;a[0][0]=a[0][0]+r+(m/4294967296>>>0)>>>0;a[0][1]=m>>>0;m=a[1][1]+u; -a[1][0]=a[1][0]+p+(m/4294967296>>>0)>>>0;a[1][1]=m>>>0;m=a[2][1]+I;a[2][0]=a[2][0]+v+(m/4294967296>>>0)>>>0;a[2][1]=m>>>0;m=a[3][1]+q;a[3][0]=a[3][0]+C+(m/4294967296>>>0)>>>0;a[3][1]=m>>>0;m=a[4][1]+S;a[4][0]=a[4][0]+A+(m/4294967296>>>0)>>>0;a[4][1]=m>>>0;m=a[5][1]+N;a[5][0]=a[5][0]+K+(m/4294967296>>>0)>>>0;a[5][1]=m>>>0;m=a[6][1]+P;a[6][0]=a[6][0]+R+(m/4294967296>>>0)>>>0;a[6][1]=m>>>0;m=a[7][1]+M;a[7][0]=a[7][0]+H+(m/4294967296>>>0)>>>0;a[7][1]=m>>>0;oa-=128}}var c=a.sha512=a.sha512||{};a.md=a.md|| -{};a.md.algorithms=a.md.algorithms||{};a.md.sha512=a.md.algorithms.sha512=c;var e=a.sha384=a.sha512.sha384=a.sha512.sha384||{};e.create=function(){return c.create("SHA-384")};a.md.sha384=a.md.algorithms.sha384=e;a.sha512.sha256=a.sha512.sha256||{create:function(){return c.create("SHA-512/256")}};a.md["sha512/256"]=a.md.algorithms["sha512/256"]=a.sha512.sha256;a.sha512.sha224=a.sha512.sha224||{create:function(){return c.create("SHA-512/224")}};a.md["sha512/224"]=a.md.algorithms["sha512/224"]=a.sha512.sha224; -c.create=function(c){g||(k=String.fromCharCode(128),k+=a.util.fillString(String.fromCharCode(0),128),h=[[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], +a.util.createBuffer();if(-128<=b&&128>b)return c.putSignedInt(b,8);if(-32768<=b&&32768>b)return c.putSignedInt(b,16);if(-8388608<=b&&8388608>b)return c.putSignedInt(b,24);if(-2147483648<=b&&2147483648>b)return c.putSignedInt(b,32);c=Error("Integer too large; max is 32-bits.");throw c.integer=b,c;};b.derToInteger=function(b){"string"==typeof b&&(b=a.util.createBuffer(b));var c=8*b.length();if(32b;++b)e[b]=Math.floor(4294967296*Math.abs(Math.sin(b+1)));l=!0}function c(a,b,c){for(var g,d,k,m,n,B,r,l=c.length();64<=l;){d=a.h0;k=a.h1;m=a.h2;n=a.h3;for(r=0;16>r;++r)b[r]=c.getInt32Le(),g=n^k&(m^n),g=d+g+e[r]+b[r],B=h[r],d=n,n=m,m=k,k+=g<>>32-B;for(;32>r;++r)g=m^n&(k^m),g=d+ +g+e[r]+b[f[r]],B=h[r],d=n,n=m,m=k,k+=g<>>32-B;for(;48>r;++r)g=k^m^n,g=d+g+e[r]+b[f[r]],B=h[r],d=n,n=m,m=k,k+=g<>>32-B;for(;64>r;++r)g=m^(k|~n),g=d+g+e[r]+b[f[r]],B=h[r],d=n,n=m,m=k,k+=g<>>32-B;a.h0=a.h0+d|0;a.h1=a.h1+k|0;a.h2=a.h2+m|0;a.h3=a.h3+n|0;l-=64}}var d=a.md5=a.md5||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.md5=a.md.algorithms.md5=d;d.create=function(){l||b();var g=null,d=a.util.createBuffer(),f=Array(16),m={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0, +messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],d=a.util.createBuffer(),g={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},m},m.start(),m.update=function(b,k){return"utf8"===k&&(b=a.util.encodeUtf8(b)),m.messageLength+=b.length,m.messageLength64[0]+=b.length/4294967296>>>0,m.messageLength64[1]+=b.length>>>0,d.putBytes(b),c(g,f,d),(2048>>28);var h={h0:g.h0,h1:g.h1,h2:g.h2,h3:g.h3};c(h,f,b);b=a.util.createBuffer();return b.putInt32Le(h.h0),b.putInt32Le(h.h1),b.putInt32Le(h.h2),b.putInt32Le(h.h3),b},m};var k=null,f=null,h=null,e=null,l=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a, +module)}}var f,e=function(a,b){b.exports=function(b){var g=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.md5)return b.md5;b.defined.md5=!0;for(var d=0;de;++e)g=c.getInt32(),b[e]=g,n=m^k&(f^m),g=(d<<5|d>>>27)+n+h+1518500249+g,h=m,m=f,f=k<<30|k>>>2,k=d,d=g;for(;20>e;++e)g=b[e-3]^b[e-8]^b[e-14]^b[e-16],g=g<<1|g>>>31,b[e]=g,n=m^k&(f^m),g=(d<<5|d>>>27)+n+h+1518500249+g,h=m,m=f,f=k<<30|k>>>2,k=d,d=g;for(;32>e;++e)g=b[e-3]^b[e-8]^b[e-14]^b[e-16],g=g<<1|g>>>31,b[e]=g,n=k^f^m,g=(d<<5|d>>>27)+n+h+1859775393+g,h=m,m= +f,f=k<<30|k>>>2,k=d,d=g;for(;40>e;++e)g=b[e-6]^b[e-16]^b[e-28]^b[e-32],g=g<<2|g>>>30,b[e]=g,n=k^f^m,g=(d<<5|d>>>27)+n+h+1859775393+g,h=m,m=f,f=k<<30|k>>>2,k=d,d=g;for(;60>e;++e)g=b[e-6]^b[e-16]^b[e-28]^b[e-32],g=g<<2|g>>>30,b[e]=g,n=k&f|m&(k^f),g=(d<<5|d>>>27)+n+h+2400959708+g,h=m,m=f,f=k<<30|k>>>2,k=d,d=g;for(;80>e;++e)g=b[e-6]^b[e-16]^b[e-28]^b[e-32],g=g<<2|g>>>30,b[e]=g,n=k^f^m,g=(d<<5|d>>>27)+n+h+3395469782+g,h=m,m=f,f=k<<30|k>>>2,k=d,d=g;a.h0=a.h0+d|0;a.h1=a.h1+k|0;a.h2=a.h2+f|0;a.h3=a.h3+m| +0;a.h4=a.h4+h|0;r-=64}}var c=a.sha1=a.sha1||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha1=a.md.algorithms.sha1=c;c.create=function(){k||(d=String.fromCharCode(128),d+=a.util.fillString(String.fromCharCode(0),64),k=!0);var c=null,g=a.util.createBuffer(),f=Array(80),m={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],g=a.util.createBuffer(),c={h0:1732584193,h1:4023233417, +h2:2562383102,h3:271733878,h4:3285377520},m},m.start(),m.update=function(d,k){return"utf8"===k&&(d=a.util.encodeUtf8(d)),m.messageLength+=d.length,m.messageLength64[0]+=d.length/4294967296>>>0,m.messageLength64[1]+=d.length>>>0,g.putBytes(d),b(c,f,g),(2048>>28);k.putInt32(m.messageLength64[1]<< +3);var h={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4};b(h,f,k);k=a.util.createBuffer();return k.putInt32(h.h0),k.putInt32(h.h1),k.putInt32(h.h2),k.putInt32(h.h3),k.putInt32(h.h4),k},m};var d=null,k=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var g=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha1)return b.sha1; +b.defined.sha1=!0;for(var d=0;dh;++h)b[h]=c.getInt32(); +for(;64>h;++h)g=b[h-2],g=(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10,d=b[h-15],d=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,b[h]=g+b[h-7]+d+b[h-16]|0;n=a.h0;e=a.h1;r=a.h2;B=a.h3;l=a.h4;p=a.h5;u=a.h6;v=a.h7;for(h=0;64>h;++h)g=(l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7),k=u^l&(p^u),d=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),m=n&e|r&(n^e),g=v+g+k+f[h]+b[h],d+=m,v=u,u=p,p=l,l=B+g|0,B=r,r=e,e=n,n=g+d|0;a.h0=a.h0+n|0;a.h1=a.h1+e|0;a.h2=a.h2+r|0;a.h3=a.h3+B|0;a.h4=a.h4+l|0;a.h5=a.h5+p|0;a.h6=a.h6+u|0;a.h7=a.h7+v|0;C-= +64}}var c=a.sha256=a.sha256||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha256=a.md.algorithms.sha256=c;c.create=function(){k||(d=String.fromCharCode(128),d+=a.util.fillString(String.fromCharCode(0),64),f=[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],k=!0);var c=null,g=a.util.createBuffer(),m=Array(64),h={algorithm:"sha256",blockLength:64,digestLength:32, +messageLength:0,messageLength64:[0,0]};return h.start=function(){return h.messageLength=0,h.messageLength64=[0,0],g=a.util.createBuffer(),c={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},h},h.start(),h.update=function(d,k){return"utf8"===k&&(d=a.util.encodeUtf8(d)),h.messageLength+=d.length,h.messageLength64[0]+=d.length/4294967296>>>0,h.messageLength64[1]+=d.length>>>0,g.putBytes(d),b(c,m,g),(2048>>28);k.putInt32(h.messageLength64[1]<<3);var f={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4,h5:c.h5,h6:c.h6,h7:c.h7};b(f,m,k);k=a.util.createBuffer();return k.putInt32(f.h0),k.putInt32(f.h1),k.putInt32(f.h2),k.putInt32(f.h3),k.putInt32(f.h4),k.putInt32(f.h5),k.putInt32(f.h6),k.putInt32(f.h7),k},h};var d=null,k=!1,f=null} +if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var g=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha256)return b.sha256;b.defined.sha256=!0;for(var d=0;dU;++U)b[U][0]=c.getInt32()>>>0,b[U][1]=c.getInt32()>>>0;for(;80>U;++U)m=b[U-2],r=m[0],m=m[1],g=((r>>>19|m<<13)^(m>>>29|r<<3)^r>>>6)>>>0,d=((r<<13|m>>>19)^(m<<3|r>>>29)^(r<<26|m>>>6))>>> +0,m=b[U-15],r=m[0],m=m[1],k=((r>>>1|m<<31)^(r>>>8|m<<24)^r>>>7)>>>0,f=((r<<31|m>>>1)^(r<<24|m>>>8)^(r<<25|m>>>7))>>>0,r=b[U-7],l=b[U-16],m=d+r[1]+f+l[1],b[U][0]=g+r[0]+k+l[0]+(m/4294967296>>>0)>>>0,b[U][1]=m>>>0;r=a[0][0];l=a[0][1];p=a[1][0];u=a[1][1];v=a[2][0];I=a[2][1];C=a[3][0];q=a[3][1];z=a[4][0];S=a[4][1];K=a[5][0];N=a[5][1];R=a[6][0];P=a[6][1];H=a[7][0];M=a[7][1];for(U=0;80>U;++U)g=((z>>>14|S<<18)^(z>>>18|S<<14)^(S>>>9|z<<23))>>>0,m=((z<<18|S>>>14)^(z<<14|S>>>18)^(S<<23|z>>>9))>>>0,d=(R^z&(K^ +R))>>>0,n=(P^S&(N^P))>>>0,k=((r>>>28|l<<4)^(l>>>2|r<<30)^(l>>>7|r<<25))>>>0,f=((r<<4|l>>>28)^(l<<30|r>>>2)^(l<<25|r>>>7))>>>0,B=(r&p|v&(r^p))>>>0,e=(l&u|I&(l^u))>>>0,m=M+m+n+h[U][1]+b[U][1],g=H+g+d+h[U][0]+b[U][0]+(m/4294967296>>>0)>>>0,d=m>>>0,m=f+e,k=k+B+(m/4294967296>>>0)>>>0,f=m>>>0,H=R,M=P,R=K,P=N,K=z,N=S,m=q+d,z=C+g+(m/4294967296>>>0)>>>0,S=m>>>0,C=v,q=I,v=p,I=u,p=r,u=l,m=d+f,r=g+k+(m/4294967296>>>0)>>>0,l=m>>>0;m=a[0][1]+l;a[0][0]=a[0][0]+r+(m/4294967296>>>0)>>>0;a[0][1]=m>>>0;m=a[1][1]+u; +a[1][0]=a[1][0]+p+(m/4294967296>>>0)>>>0;a[1][1]=m>>>0;m=a[2][1]+I;a[2][0]=a[2][0]+v+(m/4294967296>>>0)>>>0;a[2][1]=m>>>0;m=a[3][1]+q;a[3][0]=a[3][0]+C+(m/4294967296>>>0)>>>0;a[3][1]=m>>>0;m=a[4][1]+S;a[4][0]=a[4][0]+z+(m/4294967296>>>0)>>>0;a[4][1]=m>>>0;m=a[5][1]+N;a[5][0]=a[5][0]+K+(m/4294967296>>>0)>>>0;a[5][1]=m>>>0;m=a[6][1]+P;a[6][0]=a[6][0]+R+(m/4294967296>>>0)>>>0;a[6][1]=m>>>0;m=a[7][1]+M;a[7][0]=a[7][0]+H+(m/4294967296>>>0)>>>0;a[7][1]=m>>>0;oa-=128}}var c=a.sha512=a.sha512||{};a.md=a.md|| +{};a.md.algorithms=a.md.algorithms||{};a.md.sha512=a.md.algorithms.sha512=c;var d=a.sha384=a.sha512.sha384=a.sha512.sha384||{};d.create=function(){return c.create("SHA-384")};a.md.sha384=a.md.algorithms.sha384=d;a.sha512.sha256=a.sha512.sha256||{create:function(){return c.create("SHA-512/256")}};a.md["sha512/256"]=a.md.algorithms["sha512/256"]=a.sha512.sha256;a.sha512.sha224=a.sha512.sha224||{create:function(){return c.create("SHA-512/224")}};a.md["sha512/224"]=a.md.algorithms["sha512/224"]=a.sha512.sha224; +c.create=function(c){f||(k=String.fromCharCode(128),k+=a.util.fillString(String.fromCharCode(0),128),h=[[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]],d={"SHA-512":[[1779033703,4089235720], +[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]],e={"SHA-512":[[1779033703,4089235720], [3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],"SHA-384":[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],"SHA-512/256":[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,2827943907],[3193839141, -1401305490],[721525244,746961066],[246885852,2177182882]],"SHA-512/224":[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]]},g=!0);"undefined"==typeof c&&(c="SHA-512");if(c in d){for(var f=d[c],e=null,m=a.util.createBuffer(),n=Array(80),r=0;80>r;++r)n[r]=Array(2);var l={algorithm:c.replace("-","").toLowerCase(),blockLength:128,digestLength:64,messageLength:0,messageLength128:[0, -0,0,0]};return l.start=function(){l.messageLength=0;l.messageLength128=[0,0,0,0];m=a.util.createBuffer();e=Array(f.length);for(var b=0;b>>0,f>>>0];for(var k=3;0<=k;--k)l.messageLength128[k]+=f[1],f[1]=f[0]+(l.messageLength128[k]/4294967296>>>0),l.messageLength128[k]>>>=0,f[0]=f[1]/4294967296>>>0;return m.putBytes(c),b(e,n,m),(2048h;++h)g[h]=l.messageLength128[h]<<3|l.messageLength128[h-1]>>>28;g[3]=l.messageLength128[3]<<3;f.putInt32(g[0]);f.putInt32(g[1]);f.putInt32(g[2]);f.putInt32(g[3]);g=Array(e.length);for(h=0;hb.blockLength&&(b.start(),b.update(k.bytes()),k=b.digest());c=a.util.createBuffer();e=a.util.createBuffer();m=k.length();for(g=0;g>>4^n)&252645135;n^=b;f^=b<<4;b=(f>>>16^n)&65535;n^=b;f^=b<<16;b=(n>>>2^f)&858993459;f^=b;n^=b<<2;b=(n>>>8^f)&16711935;f^=b;n^=b<<8;b=(f>>>1^n)&1431655765;n^=b;f^=b<<1;f=f<<1|f>>>31;for(var n=n<<1|n>>>31,r=0;r>>4|n<<28)^a[v+1];b=f;f=n;n=b^(g[w>>>24&63]|d[w>>>16&63]|q[w>>>8&63]|D[w&63]| -k[I>>>24&63]|h[I>>>16&63]|l[I>>>8&63]|A[I&63])}b=f;f=n;n=b}f=f>>>1|f<<31;n=n>>>1|n<<31;b=(f>>>1^n)&1431655765;n^=b;f^=b<<1;b=(n>>>8^f)&16711935;f^=b;n^=b<<8;b=(n>>>2^f)&858993459;f^=b;n^=b<<2;b=(f>>>16^n)&65535;n^=b;f^=b<<16;b=(f>>>4^n)&252645135;c[0]=f^b<<4;c[1]=n^b}function e(b){b=b||{};var c="DES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var e=f.start;return f.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k= -c,c={});c=c||{};c.output=k;c.iv=b;e.call(f,c)},f}a.des=a.des||{};a.des.startEncrypting=function(a,b,c,f){a=e({key:a,output:c,decrypt:!1,mode:f||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createEncryptionCipher=function(a,b){return e({key:a,output:null,decrypt:!1,mode:b})};a.des.startDecrypting=function(a,b,c,f){a=e({key:a,output:c,decrypt:!0,mode:f||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createDecryptionCipher=function(a,b){return e({key:a,output:null,decrypt:!0,mode:b})};a.des.Algorithm= -function(a,b){var f=this;f.name=a;f.mode=new b({blockSize:8,cipher:{encrypt:function(a,b){return c(f._keys,a,b,!1)},decrypt:function(a,b){return c(f._keys,a,b,!0)}}});f._init=!1};a.des.Algorithm.prototype.initialize=function(b){if(!this._init){b=a.util.createBuffer(b.key);if(0===this.name.indexOf("3DES")&&24!==b.length())throw Error("Invalid Triple-DES key size: "+8*b.length());for(var c=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964], -f=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],e=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],k=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],g=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],h=[0,1024,32,1056,0,1024,32,1056,33554432,33555456, -33554464,33555488,33554432,33555456,33554464,33555488],m=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],n=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],d=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024, -268436480,1032,268436488],r=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],p=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],u=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],v=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],C=8>>4^M)&252645135;M^=x;H^=x<<4;x=(M>>>-16^H)&65535;H^=x;M^=x<<-16;x=(H>>>2^M)&858993459;M^=x;H^=x<<2;x=(M>>>-16^H)&65535;H^=x;M^=x<<-16;x=(H>>>1^M)&1431655765;M^=x;H^=x<<1;x=(M>>>8^H)&16711935;H^=x;M^=x<<8;x=(H>>>1^M)&1431655765;M^=x;H^=x<<1;x=H<<8|M>>>20&240;for(var H=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=x,U=0;U>>26,M=M<<2|M>>>26):(H=H<<1|H>>>27,M=M<<1|M>>>27);var H=H&-15,M=M&-15,oa=c[H>>>28]|f[H>>>24&15]| -e[H>>>20&15]|k[H>>>16&15]|g[H>>>12&15]|h[H>>>8&15]|m[H>>>4&15],pa=n[M>>>28]|d[M>>>24&15]|l[M>>>20&15]|r[M>>>16&15]|p[M>>>12&15]|u[M>>>8&15]|v[M>>>4&15];x=(pa>>>16^oa)&65535;q[A++]=oa^x;q[A++]=pa^x<<16}}this._keys=q;this._init=!0}};b("DES-ECB",a.cipher.modes.ecb);b("DES-CBC",a.cipher.modes.cbc);b("DES-CFB",a.cipher.modes.cfb);b("DES-OFB",a.cipher.modes.ofb);b("DES-CTR",a.cipher.modes.ctr);b("3DES-ECB",a.cipher.modes.ecb);b("3DES-CBC",a.cipher.modes.cbc);b("3DES-CFB",a.cipher.modes.cfb);b("3DES-OFB", +1401305490],[721525244,746961066],[246885852,2177182882]],"SHA-512/224":[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]]},f=!0);"undefined"==typeof c&&(c="SHA-512");if(c in e){for(var g=e[c],d=null,m=a.util.createBuffer(),n=Array(80),r=0;80>r;++r)n[r]=Array(2);var l={algorithm:c.replace("-","").toLowerCase(),blockLength:128,digestLength:64,messageLength:0,messageLength128:[0, +0,0,0]};return l.start=function(){l.messageLength=0;l.messageLength128=[0,0,0,0];m=a.util.createBuffer();d=Array(g.length);for(var b=0;b>>0,g>>>0];for(var k=3;0<=k;--k)l.messageLength128[k]+=g[1],g[1]=g[0]+(l.messageLength128[k]/4294967296>>>0),l.messageLength128[k]>>>=0,g[0]=g[1]/4294967296>>>0;return m.putBytes(c),b(d,n,m),(2048h;++h)f[h]=l.messageLength128[h]<<3|l.messageLength128[h-1]>>>28;f[3]=l.messageLength128[3]<<3;g.putInt32(f[0]);g.putInt32(f[1]);g.putInt32(f[2]);g.putInt32(f[3]);f=Array(d.length);for(h=0;hb.blockLength&&(b.start(),b.update(k.bytes()),k=b.digest());c=a.util.createBuffer();d=a.util.createBuffer();m=k.length();for(f=0;f>>4^n)&252645135;n^=b;g^=b<<4;b=(g>>>16^n)&65535;n^=b;g^=b<<16;b=(n>>>2^g)&858993459;g^=b;n^=b<<2;b=(n>>>8^g)&16711935;g^=b;n^=b<<8;b=(g>>>1^n)&1431655765;n^=b;g^=b<<1;g=g<<1|g>>>31;for(var n=n<<1|n>>>31,r=0;r>>4|n<<28)^a[v+1];b=g;g=n;n=b^(f[w>>>24&63]|e[w>>>16&63]|q[w>>>8&63]|D[w&63]| +k[I>>>24&63]|h[I>>>16&63]|l[I>>>8&63]|z[I&63])}b=g;g=n;n=b}g=g>>>1|g<<31;n=n>>>1|n<<31;b=(g>>>1^n)&1431655765;n^=b;g^=b<<1;b=(n>>>8^g)&16711935;g^=b;n^=b<<8;b=(n>>>2^g)&858993459;g^=b;n^=b<<2;b=(g>>>16^n)&65535;n^=b;g^=b<<16;b=(g>>>4^n)&252645135;c[0]=g^b<<4;c[1]=n^b}function d(b){b=b||{};var c="DES-"+(b.mode||"CBC").toUpperCase(),g;b.decrypt?g=a.cipher.createDecipher(c,b.key):g=a.cipher.createCipher(c,b.key);var d=g.start;return g.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k= +c,c={});c=c||{};c.output=k;c.iv=b;d.call(g,c)},g}a.des=a.des||{};a.des.startEncrypting=function(a,b,c,g){a=d({key:a,output:c,decrypt:!1,mode:g||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createEncryptionCipher=function(a,b){return d({key:a,output:null,decrypt:!1,mode:b})};a.des.startDecrypting=function(a,b,c,g){a=d({key:a,output:c,decrypt:!0,mode:g||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createDecryptionCipher=function(a,b){return d({key:a,output:null,decrypt:!0,mode:b})};a.des.Algorithm= +function(a,b){var g=this;g.name=a;g.mode=new b({blockSize:8,cipher:{encrypt:function(a,b){return c(g._keys,a,b,!1)},decrypt:function(a,b){return c(g._keys,a,b,!0)}}});g._init=!1};a.des.Algorithm.prototype.initialize=function(b){if(!this._init){b=a.util.createBuffer(b.key);if(0===this.name.indexOf("3DES")&&24!==b.length())throw Error("Invalid Triple-DES key size: "+8*b.length());for(var c=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964], +g=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],d=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],k=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],f=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],h=[0,1024,32,1056,0,1024,32,1056,33554432,33555456, +33554464,33555488,33554432,33555456,33554464,33555488],m=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],n=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],e=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024, +268436480,1032,268436488],r=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],p=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],u=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],v=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],C=8>>4^M)&252645135;M^=x;H^=x<<4;x=(M>>>-16^H)&65535;H^=x;M^=x<<-16;x=(H>>>2^M)&858993459;M^=x;H^=x<<2;x=(M>>>-16^H)&65535;H^=x;M^=x<<-16;x=(H>>>1^M)&1431655765;M^=x;H^=x<<1;x=(M>>>8^H)&16711935;H^=x;M^=x<<8;x=(H>>>1^M)&1431655765;M^=x;H^=x<<1;x=H<<8|M>>>20&240;for(var H=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=x,U=0;U>>26,M=M<<2|M>>>26):(H=H<<1|H>>>27,M=M<<1|M>>>27);var H=H&-15,M=M&-15,oa=c[H>>>28]|g[H>>>24&15]| +d[H>>>20&15]|k[H>>>16&15]|f[H>>>12&15]|h[H>>>8&15]|m[H>>>4&15],pa=n[M>>>28]|e[M>>>24&15]|l[M>>>20&15]|r[M>>>16&15]|p[M>>>12&15]|u[M>>>8&15]|v[M>>>4&15];x=(pa>>>16^oa)&65535;q[z++]=oa^x;q[z++]=pa^x<<16}}this._keys=q;this._init=!0}};b("DES-ECB",a.cipher.modes.ecb);b("DES-CBC",a.cipher.modes.cbc);b("DES-CFB",a.cipher.modes.cfb);b("DES-OFB",a.cipher.modes.ofb);b("DES-CTR",a.cipher.modes.ctr);b("3DES-ECB",a.cipher.modes.ecb);b("3DES-CBC",a.cipher.modes.cbc);b("3DES-CFB",a.cipher.modes.cfb);b("3DES-OFB", a.cipher.modes.ofb);b("3DES-CTR",a.cipher.modes.ctr);var k=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756], -g=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616, +f=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616, 1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],h=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736, -134348800,134218248,520,134348800,131592,8,134348808,131584],d=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824, +134348800,134218248,520,134348800,131592,8,134348808,131584],e=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824, 34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112, 34078976,1073742080],q=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0, -541081600,536870912,4194320,536887312],A=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912, +541081600,536870912,4194320,536887312],z=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912, 2048,2097154],D=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696]} -if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.des)return b.des;b.defined.des=!0;for(var e=0;er)return m(null,v);u.start(null,null);u.update(c);u.update(b.util.int32ToBytes(q)); -z=C=u.digest().getBytes();t=2;d()}function d(){if(t<=g)return u.start(null,null),u.update(C),G=u.digest().getBytes(),z=b.util.xorBytes(z,G,l),C=G,++t,b.util.setImmediate(d);v+=q4294967295*l){a=Error("Derived key is too long.");if(m)return m(a);throw a;}var r=Math.ceil(k/l),p=k-(r-1)*l,u=b.hmac.create(); -u.start(h,a);var v="",z,G,C;if(!m){for(var q=1;q<=r;++q){u.start(null,null);u.update(c);u.update(b.util.int32ToBytes(q));z=C=u.digest().getBytes();for(var t=2;t<=g;++t)u.start(null,null),u.update(C),G=u.digest().getBytes(),z=b.util.xorBytes(z,G,l),C=G;v+=qc;++c)b=31===b?2147483648:b<<2,0===b%k.reseeds&&(a.update(k.pools[c].digest().getBytes()),k.pools[c].start());b=a.digest().getBytes();a.start();a.update(b);a=a.digest().getBytes();k.key=k.plugin.formatKey(b);k.seed=k.plugin.formatSeed(a);k.reseeds=4294967295===k.reseeds?0:k.reseeds+1;k.generated=0}function g(a){var c=null;if("undefined"!=typeof window){var f=window.crypto||window.msCrypto;f&&f.getRandomValues&&(c=function(a){return f.getRandomValues(a)})}var e=b.util.createBuffer();if(c)for(;e.length()< -a;){var k=Math.max(1,Math.min(a-e.length(),65536)/4),g=new Uint32Array(Math.floor(k));try{for(c(g),k=0;k>16),k+=(c&32767)<<16,k+=c>>15,k=(k&2147483647)+(k>>31),c=k&4294967295,k=0;3>k;++k)g=c>>>(k<<3),g^=Math.floor(256*Math.random()),e.putByte(String.fromCharCode(g&255));return e.getBytes(a)} -var k={plugin:a,key:null,seed:null,time:null,reseeds:0,generated:0};a=a.md;for(var h=Array(32),m=0;32>m;++m)h[m]=a.create();return k.pools=h,k.pool=0,k.generate=function(a,f){function e(d){if(d)return f(d);if(z.length()>=a)return f(null,z.getBytes(a));1048575> -f&255);k.collect(c)},k.registerWorker=function(a){a===self?k.seedFile=function(a,b){function c(a){a=a.data;a.forge&&a.forge.prng&&(self.removeEventListener("message",c),b(a.forge.prng.err,a.forge.prng.bytes))}self.addEventListener("message",c);self.postMessage({forge:{prng:{needed:a}}})}:a.addEventListener("message",function(b){b=b.data;b.forge&&b.forge.prng&&k.seedFile(b.forge.prng.needed,function(b,c){a.postMessage({forge:{prng:{err:b,bytes:c}}})})})},k}}if("function"!=typeof b){if("object"!=typeof module|| -!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.prng)return b.prng;b.defined.prng=!0;for(var e=0;er)return m(null,v);u.start(null,null);u.update(c);u.update(b.util.int32ToBytes(q)); +B=C=u.digest().getBytes();t=2;e()}function e(){if(t<=f)return u.start(null,null),u.update(C),G=u.digest().getBytes(),B=b.util.xorBytes(B,G,l),C=G,++t,b.util.setImmediate(e);v+=q4294967295*l){a=Error("Derived key is too long.");if(m)return m(a);throw a;}var r=Math.ceil(k/l),p=k-(r-1)*l,u=b.hmac.create(); +u.start(h,a);var v="",B,G,C;if(!m){for(var q=1;q<=r;++q){u.start(null,null);u.update(c);u.update(b.util.int32ToBytes(q));B=C=u.digest().getBytes();for(var t=2;t<=f;++t)u.start(null,null),u.update(C),G=u.digest().getBytes(),B=b.util.xorBytes(B,G,l),C=G;v+=qc;++c)b=31===b?2147483648:b<<2,0===b%k.reseeds&&(a.update(k.pools[c].digest().getBytes()),k.pools[c].start());b=a.digest().getBytes();a.start();a.update(b);a=a.digest().getBytes();k.key=k.plugin.formatKey(b);k.seed=k.plugin.formatSeed(a);k.reseeds=4294967295===k.reseeds?0:k.reseeds+1;k.generated=0}function f(a){var c=null;if("undefined"!=typeof window){var g=window.crypto||window.msCrypto;g&&g.getRandomValues&&(c=function(a){return g.getRandomValues(a)})}var d=b.util.createBuffer();if(c)for(;d.length()< +a;){var k=Math.max(1,Math.min(a-d.length(),65536)/4),f=new Uint32Array(Math.floor(k));try{for(c(f),k=0;k>16),k+=(c&32767)<<16,k+=c>>15,k=(k&2147483647)+(k>>31),c=k&4294967295,k=0;3>k;++k)f=c>>>(k<<3),f^=Math.floor(256*Math.random()),d.putByte(String.fromCharCode(f&255));return d.getBytes(a)} +var k={plugin:a,key:null,seed:null,time:null,reseeds:0,generated:0};a=a.md;for(var h=Array(32),m=0;32>m;++m)h[m]=a.create();return k.pools=h,k.pool=0,k.generate=function(a,g){function d(e){if(e)return g(e);if(B.length()>=a)return g(null,B.getBytes(a));1048575> +g&255);k.collect(c)},k.registerWorker=function(a){a===self?k.seedFile=function(a,b){function c(a){a=a.data;a.forge&&a.forge.prng&&(self.removeEventListener("message",c),b(a.forge.prng.err,a.forge.prng.bytes))}self.addEventListener("message",c);self.postMessage({forge:{prng:{needed:a}}})}:a.addEventListener("message",function(b){b=b.data;b.forge&&b.forge.prng&&k.seedFile(b.forge.prng.needed,function(b,c){a.postMessage({forge:{prng:{err:b,bytes:c}}})})})},k}}if("function"!=typeof b){if("object"!=typeof module|| +!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var g=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.prng)return b.prng;b.defined.prng=!0;for(var d=0;d>(k&7),g;for(g=c;128>g;g++)e.putByte(b[e.at(g-1)+e.at(g-c)&255]);e.setAt(128-f,b[e.at(128- -f)&k]);for(g=127-f;0<=g;g--)e.setAt(g,b[e.at(g+1)^e.at(g+f)]);return e};var e=function(b,f,e){var k=!1,g=null,h=null,m=null,n,d,l,r,p=[];b=a.rc2.expandKey(b,f);for(l=0;64>l;l++)p.push(b.getInt16Le());e?(n=function(a){for(l=0;4>l;l++){a[l]+=p[r]+(a[(l+3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);var b=a[l],f=c[l];a[l]=b<>16-f;r++}},d=function(a){for(l=0;4>l;l++)a[l]+=p[a[(l+3)%4]&63]}):(n=function(a){for(l=3;0<=l;l--){var b=a[l],f=c[l];a[l]=(b&65535)>>f|b<<16-f&65535;a[l]-=p[r]+(a[(l+ -3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);r--}},d=function(a){for(l=3;0<=l;l--)a[l]-=p[a[(l+3)%4]&63]});var u=null;return u={start:function(b,c){b&&"string"==typeof b&&(b=a.util.createBuffer(b));k=!1;g=a.util.createBuffer();h=c||new a.util.createBuffer;m=b;u.output=h},update:function(a){for(k||g.putBuffer(a);8<=g.length();){a=[[5,n],[1,d],[6,n],[1,d],[5,n]];var b=[];for(l=0;4>l;l++){var c=g.getInt16Le();null!==m&&(e?c^=m.getInt16Le():m.putInt16Le(c));b.push(c&65535)}r=e?0:63;for(c=0;cl;l++)null!==m&&(e?m.putInt16Le(b[l]):b[l]^=m.getInt16Le()),h.putInt16Le(b[l])}},finish:function(a){var b=!0;if(e)if(a)b=a(8,g,!e);else{var c=8===g.length()?8:8-g.length();g.fillWithByte(c,c)}b&&(k=!0,u.update());!e&&(b=0===g.length())&&(a?b=a(8,h,!e):(a=h.length(),c=h.at(a-1),c>a?b=!1:h.truncate(c)));return b}},u};a.rc2.startEncrypting=function(b,c,f){b=a.rc2.createEncryptionCipher(b,128);return b.start(c,f),b};a.rc2.createEncryptionCipher=function(a,b){return e(a, -b,!0)};a.rc2.startDecrypting=function(b,c,f){b=a.rc2.createDecryptionCipher(b,128);return b.start(c,f),b};a.rc2.createDecryptionCipher=function(a,b){return e(a,b,!1)}}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rc2)return b.rc2;b.defined.rc2=!0;for(var e= -0;e>=15;0<=--g;){var h=this.data[a]&32767,m=this.data[a++]>>15,z=b*h+m*k,h=k*h+((z&32767)<<15)+c.data[e]+(f&1073741823);f=(h>>>30)+(z>>>15)+b*m+(f>>>30);c.data[e++]=h&1073741823}return f}function k(a,b,c,e,f,g){var k=b&16383;for(b>>=14;0<=--g;){var h=this.data[a]&16383,m= -this.data[a++]>>14,z=b*h+m*k,h=k*h+((z&16383)<<14)+c.data[e]+f;f=(h>>28)+(z>>14)+b*m;c.data[e++]=h&268435455}return f}function h(a,b){a=L[a.charCodeAt(b)];return null==a?-1:a}function d(a){var b=c();return b.fromInt(a),b}function l(a){var b=1,c;return 0!=(c=a>>>16)&&(a=c,b+=16),0!=(c=a>>8)&&(a=c,b+=8),0!=(c=a>>4)&&(a=c,b+=4),0!=(c=a>>2)&&(a=c,b+=2),0!=a>>1&&(b+=1),b}function q(a){this.m=a}function A(a){this.m=a;this.mp=a.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<=t;++t)L[E++]=t;E=97;for(t=10;36>t;++t)L[E++]=t;E=65;for(t=10;36>t;++t)L[E++]=t;q.prototype.convert=function(a){return 0>a.s||0<=a.compareTo(this.m)?a.mod(this.m):a};q.prototype.revert=function(a){return a};q.prototype.reduce=function(a){a.divRemTo(this.m,null, -a)};q.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};q.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};A.prototype.convert=function(a){var e=c();return a.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),0>a.s&&0>15)*this.mpl&this.um)<<15)&a.DM,c=b+this.m.t;for(a.data[c]+=this.m.am(0,e,a,b,0,this.m.t);a.data[c]>=a.DV;)a.data[c]-=a.DV,a.data[++c]++}a.clamp();a.drShiftTo(this.m.t,a);0<=a.compareTo(this.m)&&a.subTo(this.m,a)};A.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};A.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};b.prototype.copyTo=function(a){for(var b=this.t-1;0<=b;--b)a.data[b]=this.data[b];a.t=this.t;a.s=this.s};b.prototype.fromInt=function(a){this.t= -1;this.s=0>a?-1:0;0a?this.data[0]=a+this.DV:this.t=0};b.prototype.fromString=function(a,c){if(16==c)c=4;else if(8==c)c=3;else if(256==c)c=8;else if(2==c)c=1;else if(32==c)c=5;else{if(4!=c){this.fromRadix(a,c);return}c=2}this.s=this.t=0;for(var e=a.length,f=!1,g=0;0<=--e;){var k=8==c?a[e]&255:h(a,e);0>k?"-"==a.charAt(e)&&(f=!0):(f=!1,0==g?this.data[this.t++]=k:g+c>this.DB?(this.data[this.t-1]|=(k&(1<>this.DB-g):this.data[this.t-1]|=k<=this.DB&&(g-=this.DB))}8==c&&0!=(a[0]&128)&&(this.s=-1,0>e|g,g=(this.data[k]&f)<=this.t)b.t=0;else{a%=this.DB;var e=this.DB-a,f=(1<>a;for(var g=c+1;g>a;0>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;c>=this.DB;e-=a.s}b.s=0>e?-1:0;-1>e?b.data[c++]=this.DV+e:0=b.DV&&(a.data[c+b.t]-=b.DV,a.data[c+b.t+1]=1)}0=g.t)){var k=this.abs();if(k.t>this.F2:0),n=this.FV/d,d=(1<m&&b.ZERO.subTo(f,f)}}}};b.prototype.invDigit=function(){if(1>this.t)return 0;var a=this.data[0];if(0==(a&1))return 0;var b=a&3;return b=b*(2-(a&15)*b)& -15,b=b*(2-(a&255)*b)&255,b=b*(2-((a&65535)*b&65535))&65535,b=b*(2-a*b%this.DV)%this.DV,0a)return b.ONE;var f=c(),g=c(),k=e.convert(this),h=l(a)-1;for(k.copyTo(f);0<=--h;)if(e.sqrTo(f,g),0<(a&1<this.s)return"-"+this.negate().toString(a);if(16==a)a=4;else if(8==a)a= -3;else if(2==a)a=1;else if(32==a)a=5;else{if(4!=a)return this.toRadix(a);a=2}var b=(1<>k)&&(e=!0,f="0123456789abcdefghijklmnopqrstuvwxyz".charAt(c));0<=g;)k>(k+=this.DB-a)):(c=this.data[g]>>(k-=a)&b,0>=k&&(k+=this.DB,--g)),0this.s?this.negate():this};b.prototype.compareTo=function(a){var b=this.s-a.s;if(0!=b)return b;var c=this.t,b=c-a.t;if(0!=b)return 0>this.s?-b:b;for(;0<=--c;)if(0!=(b=this.data[c]-a.data[c]))return b;return 0};b.prototype.bitLength=function(){return 0>=this.t?0:this.DB*(this.t-1)+l(this.data[this.t-1]^this.s&this.DM)};b.prototype.mod=function(a){var e=c();return this.abs().divRemTo(a,null,e),0>this.s&&0a||b.isEven()?c=new q(b):c=new A(b),this.exp(a,c)};b.ZERO=d(0);b.ONE=d(1);B.prototype.convert=F;B.prototype.revert=F;B.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c)};B.prototype.sqrTo=function(a,b){a.squareTo(b)};z.prototype.convert=function(a){if(0>a.s||a.t>2*this.m.t)return a.mod(this.m);if(0>a.compareTo(this.m))return a;var b=c();return a.copyTo(b),this.reduce(b),b};z.prototype.revert=function(a){return a};z.prototype.reduce=function(a){a.drShiftTo(this.m.t-1, -this.r2);a.t>this.m.t+1&&(a.t=this.m.t+1,a.clamp());this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);for(this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>a.compareTo(this.r2);)a.dAddOffset(1,this.m.t+1);for(a.subTo(this.r2,a);0<=a.compareTo(this.m);)a.subTo(this.m,a)};z.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};z.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};var O=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113, +2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],c=[1,2,3,5];a.rc2=a.rc2||{};a.rc2.expandKey=function(c,g){"string"==typeof c&&(c=a.util.createBuffer(c));g=g||128;var d=c;c=c.length();var k=g;g=Math.ceil(k/8);var k=255>>(k&7),f;for(f=c;128>f;f++)d.putByte(b[d.at(f-1)+d.at(f-c)&255]);d.setAt(128-g,b[d.at(128- +g)&k]);for(f=127-g;0<=f;f--)d.setAt(f,b[d.at(f+1)^d.at(f+g)]);return d};var d=function(b,g,d){var k=!1,f=null,h=null,m=null,n,e,l,r,p=[];b=a.rc2.expandKey(b,g);for(l=0;64>l;l++)p.push(b.getInt16Le());d?(n=function(a){for(l=0;4>l;l++){a[l]+=p[r]+(a[(l+3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);var b=a[l],g=c[l];a[l]=b<>16-g;r++}},e=function(a){for(l=0;4>l;l++)a[l]+=p[a[(l+3)%4]&63]}):(n=function(a){for(l=3;0<=l;l--){var b=a[l],g=c[l];a[l]=(b&65535)>>g|b<<16-g&65535;a[l]-=p[r]+(a[(l+ +3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);r--}},e=function(a){for(l=3;0<=l;l--)a[l]-=p[a[(l+3)%4]&63]});var u=null;return u={start:function(b,c){b&&"string"==typeof b&&(b=a.util.createBuffer(b));k=!1;f=a.util.createBuffer();h=c||new a.util.createBuffer;m=b;u.output=h},update:function(a){for(k||f.putBuffer(a);8<=f.length();){a=[[5,n],[1,e],[6,n],[1,e],[5,n]];var b=[];for(l=0;4>l;l++){var c=f.getInt16Le();null!==m&&(d?c^=m.getInt16Le():m.putInt16Le(c));b.push(c&65535)}r=d?0:63;for(c=0;cl;l++)null!==m&&(d?m.putInt16Le(b[l]):b[l]^=m.getInt16Le()),h.putInt16Le(b[l])}},finish:function(a){var b=!0;if(d)if(a)b=a(8,f,!d);else{var c=8===f.length()?8:8-f.length();f.fillWithByte(c,c)}b&&(k=!0,u.update());!d&&(b=0===f.length())&&(a?b=a(8,h,!d):(a=h.length(),c=h.at(a-1),c>a?b=!1:h.truncate(c)));return b}},u};a.rc2.startEncrypting=function(b,c,g){b=a.rc2.createEncryptionCipher(b,128);return b.start(c,g),b};a.rc2.createEncryptionCipher=function(a,b){return d(a, +b,!0)};a.rc2.startDecrypting=function(b,c,g){b=a.rc2.createDecryptionCipher(b,128);return b.start(c,g),b};a.rc2.createDecryptionCipher=function(a,b){return d(a,b,!1)}}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var g=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rc2)return b.rc2;b.defined.rc2=!0;for(var d= +0;d>=15;0<=--f;){var h=this.data[a]&32767,m=this.data[a++]>>15,B=b*h+m*k,h=k*h+((B&32767)<<15)+c.data[d]+(g&1073741823);g=(h>>>30)+(B>>>15)+b*m+(g>>>30);c.data[d++]=h&1073741823}return g}function k(a,b,c,d,g,f){var k=b&16383;for(b>>=14;0<=--f;){var h=this.data[a]&16383,m= +this.data[a++]>>14,B=b*h+m*k,h=k*h+((B&16383)<<14)+c.data[d]+g;g=(h>>28)+(B>>14)+b*m;c.data[d++]=h&268435455}return g}function h(a,b){a=L[a.charCodeAt(b)];return null==a?-1:a}function e(a){var b=c();return b.fromInt(a),b}function l(a){var b=1,c;return 0!=(c=a>>>16)&&(a=c,b+=16),0!=(c=a>>8)&&(a=c,b+=8),0!=(c=a>>4)&&(a=c,b+=4),0!=(c=a>>2)&&(a=c,b+=2),0!=a>>1&&(b+=1),b}function q(a){this.m=a}function z(a){this.m=a;this.mp=a.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<=t;++t)L[E++]=t;E=97;for(t=10;36>t;++t)L[E++]=t;E=65;for(t=10;36>t;++t)L[E++]=t;q.prototype.convert=function(a){return 0>a.s||0<=a.compareTo(this.m)?a.mod(this.m):a};q.prototype.revert=function(a){return a};q.prototype.reduce=function(a){a.divRemTo(this.m,null, +a)};q.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};q.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};z.prototype.convert=function(a){var d=c();return a.abs().dlShiftTo(this.m.t,d),d.divRemTo(this.m,null,d),0>a.s&&0>15)*this.mpl&this.um)<<15)&a.DM,c=b+this.m.t;for(a.data[c]+=this.m.am(0,d,a,b,0,this.m.t);a.data[c]>=a.DV;)a.data[c]-=a.DV,a.data[++c]++}a.clamp();a.drShiftTo(this.m.t,a);0<=a.compareTo(this.m)&&a.subTo(this.m,a)};z.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};z.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};b.prototype.copyTo=function(a){for(var b=this.t-1;0<=b;--b)a.data[b]=this.data[b];a.t=this.t;a.s=this.s};b.prototype.fromInt=function(a){this.t= +1;this.s=0>a?-1:0;0a?this.data[0]=a+this.DV:this.t=0};b.prototype.fromString=function(a,c){if(16==c)c=4;else if(8==c)c=3;else if(256==c)c=8;else if(2==c)c=1;else if(32==c)c=5;else{if(4!=c){this.fromRadix(a,c);return}c=2}this.s=this.t=0;for(var d=a.length,g=!1,f=0;0<=--d;){var k=8==c?a[d]&255:h(a,d);0>k?"-"==a.charAt(d)&&(g=!0):(g=!1,0==f?this.data[this.t++]=k:f+c>this.DB?(this.data[this.t-1]|=(k&(1<>this.DB-f):this.data[this.t-1]|=k<=this.DB&&(f-=this.DB))}8==c&&0!=(a[0]&128)&&(this.s=-1,0>d|f,f=(this.data[k]&g)<=this.t)b.t=0;else{a%=this.DB;var d=this.DB-a,g=(1<>a;for(var f=c+1;f>a;0>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d-=a.s}b.s=0>d?-1:0;-1>d?b.data[c++]=this.DV+d:0=b.DV&&(a.data[c+b.t]-=b.DV,a.data[c+b.t+1]=1)}0=f.t)){var k=this.abs();if(k.t>this.F2:0),n=this.FV/e,e=(1<m&&b.ZERO.subTo(g,g)}}}};b.prototype.invDigit=function(){if(1>this.t)return 0;var a=this.data[0];if(0==(a&1))return 0;var b=a&3;return b=b*(2-(a&15)*b)& +15,b=b*(2-(a&255)*b)&255,b=b*(2-((a&65535)*b&65535))&65535,b=b*(2-a*b%this.DV)%this.DV,0a)return b.ONE;var g=c(),f=c(),k=d.convert(this),h=l(a)-1;for(k.copyTo(g);0<=--h;)if(d.sqrTo(g,f),0<(a&1<this.s)return"-"+this.negate().toString(a);if(16==a)a=4;else if(8==a)a= +3;else if(2==a)a=1;else if(32==a)a=5;else{if(4!=a)return this.toRadix(a);a=2}var b=(1<>k)&&(d=!0,g="0123456789abcdefghijklmnopqrstuvwxyz".charAt(c));0<=f;)k>(k+=this.DB-a)):(c=this.data[f]>>(k-=a)&b,0>=k&&(k+=this.DB,--f)),0this.s?this.negate():this};b.prototype.compareTo=function(a){var b=this.s-a.s;if(0!=b)return b;var c=this.t,b=c-a.t;if(0!=b)return 0>this.s?-b:b;for(;0<=--c;)if(0!=(b=this.data[c]-a.data[c]))return b;return 0};b.prototype.bitLength=function(){return 0>=this.t?0:this.DB*(this.t-1)+l(this.data[this.t-1]^this.s&this.DM)};b.prototype.mod=function(a){var d=c();return this.abs().divRemTo(a,null,d),0>this.s&&0a||b.isEven()?c=new q(b):c=new z(b),this.exp(a,c)};b.ZERO=e(0);b.ONE=e(1);A.prototype.convert=F;A.prototype.revert=F;A.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c)};A.prototype.sqrTo=function(a,b){a.squareTo(b)};B.prototype.convert=function(a){if(0>a.s||a.t>2*this.m.t)return a.mod(this.m);if(0>a.compareTo(this.m))return a;var b=c();return a.copyTo(b),this.reduce(b),b};B.prototype.revert=function(a){return a};B.prototype.reduce=function(a){a.drShiftTo(this.m.t-1, +this.r2);a.t>this.m.t+1&&(a.t=this.m.t+1,a.clamp());this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);for(this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>a.compareTo(this.r2);)a.dAddOffset(1,this.m.t+1);for(a.subTo(this.r2,a);0<=a.compareTo(this.m);)a.subTo(this.m,a)};B.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};B.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};var O=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113, 127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],J=67108864/O[O.length-1];b.prototype.chunkSize=function(a){return Math.floor(Math.LN2*this.DB/Math.log(a))};b.prototype.toRadix=function(a){null==a&&(a=10);if(0==this.signum()||2>a||36d?"-"==a.charAt(z)&&0==this.signum()&&(g=!0):(m=c*m+d,++k>=e&&(this.dMultiply(f),this.dAddOffset(m,0),k=0,m=0))}0a)this.fromInt(1);else for(this.fromNumber(a,e),this.testBit(a-1)||this.bitwiseTo(b.ONE.shiftLeft(a-1),x,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(c);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(b.ONE.shiftLeft(a-1),this);else{e=[];var f=a&7;e.length=(a>>3)+1;c.nextBytes(e);0>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;c>=this.DB;e+=a.s}b.s=0>e?-1:0;0e&&(b.data[c++]=this.DV+e);b.t=c;b.clamp()};b.prototype.dMultiply=function(a){this.data[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()};b.prototype.dAddOffset=function(a,b){if(0!=a){for(;this.t<=b;)this.data[this.t++]=0;for(this.data[b]+=a;this.data[b]>=this.DV;)this.data[b]-=this.DV,++b>=this.t&&(this.data[this.t++]= -0),++this.data[b]}};b.prototype.multiplyLowerTo=function(a,b,c){var e=Math.min(this.t+a.t,b);c.s=0;for(c.t=e;0=a)return 0;var b=this.DV%a,c=0>this.s?a-1:0;if(0=e)return!1;for(var f=c.shiftRight(e),g=G(),k,h=0;h=k.compareTo(b.ONE)||0<=k.compareTo(c));k=k.modPow(f,this);if(0!=k.compareTo(b.ONE)&&0!=k.compareTo(c)){for(var m=1;m++e?"-"==a.charAt(B)&&0==this.signum()&&(f=!0):(m=c*m+e,++k>=d&&(this.dMultiply(g),this.dAddOffset(m,0),k=0,m=0))}0a)this.fromInt(1);else for(this.fromNumber(a,d),this.testBit(a-1)||this.bitwiseTo(b.ONE.shiftLeft(a-1),x,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(c);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(b.ONE.shiftLeft(a-1),this);else{d=[];var g=a&7;d.length=(a>>3)+1;c.nextBytes(d);0>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d+=a.s}b.s=0>d?-1:0;0d&&(b.data[c++]=this.DV+d);b.t=c;b.clamp()};b.prototype.dMultiply=function(a){this.data[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()};b.prototype.dAddOffset=function(a,b){if(0!=a){for(;this.t<=b;)this.data[this.t++]=0;for(this.data[b]+=a;this.data[b]>=this.DV;)this.data[b]-=this.DV,++b>=this.t&&(this.data[this.t++]= +0),++this.data[b]}};b.prototype.multiplyLowerTo=function(a,b,c){var d=Math.min(this.t+a.t,b);c.s=0;for(c.t=d;0=a)return 0;var b=this.DV%a,c=0>this.s?a-1:0;if(0=d)return!1;for(var g=c.shiftRight(d),f=G(),k,h=0;h=k.compareTo(b.ONE)||0<=k.compareTo(c));k=k.modPow(g,this);if(0!=k.compareTo(b.ONE)&&0!=k.compareTo(c)){for(var m=1;m++this.s){if(1==this.t)return this.data[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this.data[0];if(0==this.t)return 0}return(this.data[1]&(1<<32-this.DB)-1)<>24};b.prototype.shortValue= -function(){return 0==this.t?this.s:this.data[0]<<16>>16};b.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this.data[0]?0:1};b.prototype.toByteArray=function(){var a=this.t,b=[];b[0]=this.s;var c=this.DB-a*this.DB%8,e,f=0;if(0>c)!=(this.s&this.DM)>>c&&(b[f++]=e|this.s<c?(e=(this.data[a]&(1<>(c+=this.DB-8)):(e=this.data[a]>>(c-=8)&255,0>=c&&(c+=this.DB,--a)),0!=(e&128)&&(e|=-256),0==f&& -(this.s&128)!=(e&128)&&++f,0this.compareTo(a)?this:a};b.prototype.max=function(a){return 0a?this.rShiftTo(-a,b):this.lShiftTo(a,b),b};b.prototype.shiftRight=function(a){var b=c();return 0>a?this.lShiftTo(-a,b):this.rShiftTo(a,b),b};b.prototype.getLowestSetBit=function(){for(var a=0;a>=16,e+=16), -0==(c&255)&&(c>>=8,e+=8),0==(c&15)&&(c>>=4,e+=4),0==(c&3)&&(c>>=2,e+=2),0==(c&1)&&++e,e);return b+a}return 0>this.s?this.t*this.DB:-1};b.prototype.bitCount=function(){for(var a=0,b=this.s&this.DM,c=0;c=this.t?0!=this.s:0!=(this.data[b]&1<=e)return g;18>e?f=1:48>e?f=3:144>e?f=4:768>e?f=5:f=6;8>e?k=new q(b):b.isEven()?k=new z(b):k=new A(b);b=[];var h=3,m=f-1,n=(1<=m?p=a.data[r]>>e-m&n:(p=(a.data[r]&(1<>this.DB+e-m));for(h=f;0==(p&1);)p>>=1,--h;0>(e-=h)&&(e+=this.DB, ---r);if(u)b[p].copyTo(g),u=!1;else{for(;1--e&&(e=this.DB-1,--r)}return k.revert(g)};b.prototype.modInverse=function(a){var c=a.isEven();if(this.isEven()&&c||0==a.signum())return b.ZERO;for(var e=a.clone(),f=this.clone(),g=d(1),k=d(0),h=d(0),m=d(1);0!=e.signum();){for(;e.isEven();)e.rShiftTo(1,e),c?(g.isEven()&&k.isEven()||(g.addTo(this,g),k.subTo(a,k)),g.rShiftTo(1, -g)):k.isEven()||k.subTo(a,k),k.rShiftTo(1,k);for(;f.isEven();)f.rShiftTo(1,f),c?(h.isEven()&&m.isEven()||(h.addTo(this,h),m.subTo(a,m)),h.rShiftTo(1,h)):m.isEven()||m.subTo(a,m),m.rShiftTo(1,m);0<=e.compareTo(f)?(e.subTo(f,e),c&&g.subTo(h,g),k.subTo(m,k)):(f.subTo(e,f),c&&h.subTo(g,h),m.subTo(k,m))}return 0!=f.compareTo(b.ONE)?b.ZERO:0<=m.compareTo(a)?m.subtract(a):0>m.signum()?(m.addTo(a,m),0>m.signum()?m.add(a):m):m};b.prototype.pow=function(a){return this.exp(a,new B)};b.prototype.gcd=function(a){var b= -0>this.s?this.negate():this.clone();a=0>a.s?a.negate():a.clone();0>b.compareTo(a)&&(a=b=a);var c=b.getLowestSetBit(),e=a.getLowestSetBit();if(0>e)return b;c>24&255,k>>16&255,k>>8&255,k&255);e.start();e.update(b+h);f+=e.digest().getBytes()}return f.substring(0,c)}var c=a.pkcs1=a.pkcs1||{};c.encode_rsa_oaep=function(c,e,f,g,k){var h,m,d,n;"string"==typeof f?(h=f,m=g||void 0,d=k||void 0):f&&(h=f.label||void 0,m=f.seed||void 0,d=f.md||void 0,f.mgf1&&f.mgf1.md&&(n=f.mgf1.md));d?d.start():d=a.md.sha1.create();n||(n=d);c=Math.ceil(c.n.bitLength()/8);f=c-2*d.digestLength-2;if(e.length> -f)throw n=Error("RSAES-OAEP input message length is too long."),n.length=e.length,n.maxLength=f,n;h||(h="");d.update(h,"raw");h=d.digest();g="";f-=e.length;for(k=0;k -b&&(m=g(b,e));if(m.isProbablePrime(z))return h(null,m);m.dAddOffset(l[d++%8],0)}while(0>n||+new Date-rb&&(m=g(b,e));f=m.toString(16);a.target.postMessage({hex:f,workLoad:n});m.dAddOffset(l,0)}}z=Math.max(1,z);for(var c=[],f=0;f=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if(!a.prime){var h= -a.prime=a.prime||{},d=a.jsbn.BigInteger,l=[6,4,2,4,2,4,6,2],q=new d(null);q.fromInt(30);var A=function(a,b){return a|b};h.generateProbablePrime=function(c,e,f){"function"==typeof e&&(f=e,e={});e=e||{};var g=e.algorithm||"PRIMEINC";"string"==typeof g&&(g={name:g});g.options=g.options||{};var k=e.prng||a.random;e={nextBytes:function(a){for(var b=k.getBytesSync(a.length),c=0;cc-11)throw f=Error("Message is too long for PKCS#1 v1.5 padding."),f.length=b.length,f.max=c-11,f;f.putByte(0);f.putByte(e);c=c-3-b.length;if(0===e||1===e){e=0===e?0:255;for(var g=0;gb.p.compareTo(b.q)&&(a=b.p,b.p=b.q,b.q=a);0!==b.p.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)? -(b.p=null,f()):0!==b.q.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)?(b.q=null,g(b.qBits,k)):(b.p1=b.p.subtract(h.ONE),b.q1=b.q.subtract(h.ONE),b.phi=b.p1.multiply(b.q1),0!==b.phi.gcd(b.e).compareTo(h.ONE)?(b.p=b.q=null,f()):(b.n=b.p.multiply(b.q),b.n.bitLength()!==b.bits?(b.q=null,g(b.qBits,k)):(a=b.e.modInverse(b.phi),b.keys={privateKey:l.rsa.setPrivateKey(b.n,b.e,a,b.p,b.q,a.mod(b.p1),a.mod(b.q1),b.q.modInverse(b.p)),publicKey:l.rsa.setPublicKey(b.n,b.e)},e(null,b.keys))))}"function"==typeof c&&(e= -c,c={});c=c||{};var m={algorithm:{name:c.algorithm||"PRIMEINC",options:{workers:c.workers||2,workLoad:c.workLoad||100,workerScript:c.workerScript}}};"prng"in c&&(m.prng=c.prng);f()}function g(b){b=b.toString(16);return"8"<=b[0]&&(b="00"+b),a.util.hexToBytes(b)}function k(a){return 100>=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if("undefined"==typeof h)var h=a.jsbn.BigInteger;var d=a.asn1;a.pki=a.pki||{};a.pki.rsa=a.rsa=a.rsa||{};var l=a.pki, -q=[6,4,2,4,2,4,6,2],A={name:"PrivateKeyInfo",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:d.Class.UNIVERSAL, -type:d.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},D={name:"RSAPrivateKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"}, -{name:"RSAPrivateKey.privateExponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2", -tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},x={name:"RSAPublicKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER, -constructed:!1,capture:"publicKeyExponent"}]},w=a.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:d.Class.UNIVERSAL, -type:d.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},y=function(a){var b;if(a.algorithm in l.oids){b=l.oids[a.algorithm];var c=d.oidToDer(b).getBytes();b=d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[]);var e=d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[]);e.value.push(d.create(d.Class.UNIVERSAL,d.Type.OID,!1,c));e.value.push(d.create(d.Class.UNIVERSAL, -d.Type.NULL,!1,""));a=d.create(d.Class.UNIVERSAL,d.Type.OCTETSTRING,!1,a.digest().getBytes());return b.value.push(e),b.value.push(a),d.toDer(b).getBytes()}b=Error("Unknown message digest algorithm.");throw b.algorithm=a.algorithm,b;},B=function(b,c,e){if(e)return b.modPow(c.e,c.n);if(!c.p||!c.q)return b.modPow(c.d,c.n);c.dP||(c.dP=c.d.mod(c.p.subtract(h.ONE)));c.dQ||(c.dQ=c.d.mod(c.q.subtract(h.ONE)));c.qInv||(c.qInv=c.q.modInverse(c.p));do e=(new h(a.util.bytesToHex(a.random.getBytes(c.n.bitLength()/ -8)),16)).mod(c.n);while(e.equals(h.ZERO));b=b.multiply(e.modPow(c.e,c.n)).mod(c.n);var f=b.mod(c.p).modPow(c.dP,c.p);for(b=b.mod(c.q).modPow(c.dQ,c.q);0>f.compareTo(b);)f=f.add(c.p);b=f.subtract(b).multiply(c.qInv).mod(c.p).multiply(c.q).add(b);return b=b.multiply(e.modInverse(c.n)).mod(c.n),b};l.rsa.encrypt=function(c,e,f){var g=f,k,m=Math.ceil(e.n.bitLength()/8);!1!==f&&!0!==f?(g=2===f,k=b(c,e,f)):(k=a.util.createBuffer(),k.putBytes(c));c=new h(k.toHex(),16);e=B(c,e,g).toString(16);g=a.util.createBuffer(); -for(m-=Math.ceil(e.length/2);0>1,pBits:b-(b>>1),pqState:0,num:null, -keys:null},g.e.fromInt(g.eInt),g};l.rsa.stepKeyPairGenerationState=function(a,b){"algorithm"in a||(a.algorithm="PRIMEINC");var c=new h(null);c.fromInt(30);for(var e=0,f=function(a,b){return a|b},g=+new Date,m,d=0;null===a.keys&&(0>=b||dm?a.pqState= -0:a.num.isProbablePrime(k(a.num.bitLength()))?++a.pqState:a.num.dAddOffset(q[e++%8],0):2===a.pqState?a.pqState=0===a.num.subtract(h.ONE).gcd(a.e).compareTo(h.ONE)?3:0:3===a.pqState&&(a.pqState=0,null===a.p?a.p=a.num:a.q=a.num,null!==a.p&&null!==a.q&&++a.state,a.num=null)}else 1===a.state?(0>a.p.compareTo(a.q)&&(a.num=a.p,a.p=a.q,a.q=a.num),++a.state):2===a.state?(a.p1=a.p.subtract(h.ONE),a.q1=a.q.subtract(h.ONE),a.phi=a.p1.multiply(a.q1),++a.state):3===a.state?0===a.phi.gcd(a.e).compareTo(h.ONE)? -++a.state:(a.p=null,a.q=null,a.state=0):4===a.state?(a.n=a.p.multiply(a.q),a.n.bitLength()===a.bits?++a.state:(a.q=null,a.state=0)):5===a.state&&(m=a.e.modInverse(a.phi),a.keys={privateKey:l.rsa.setPrivateKey(a.n,a.e,m,a.p,a.q,m.mod(a.p1),m.mod(a.q1),a.q.modInverse(a.p)),publicKey:l.rsa.setPublicKey(a.n,a.e)});m=+new Date;d+=m-g;g=m}return null!==a.keys};l.rsa.generateKeyPair=function(a,b,c,f){1===arguments.length?"object"==typeof a?(c=a,a=void 0):"function"==typeof a&&(f=a,a=void 0):2===arguments.length? -"number"==typeof a?"function"==typeof b?(f=b,b=void 0):"number"!=typeof b&&(c=b,b=void 0):(c=a,f=b,a=void 0,b=void 0):3===arguments.length&&("number"==typeof b?"function"==typeof c&&(f=c,c=void 0):(f=c,c=b,b=void 0));c=c||{};void 0===a&&(a=c.bits||2048);void 0===b&&(b=c.e||65537);var g=l.rsa.createKeyPairGenerationState(a,b,c);if(!f)return l.rsa.stepKeyPairGenerationState(g,0),g.keys;e(g,c,f)};l.setRsaPublicKey=l.rsa.setPublicKey=function(e,f){var g={n:e,e:f};return g.encrypt=function(c,e,f){"string"== -typeof e?e=e.toUpperCase():void 0===e&&(e="RSAES-PKCS1-V1_5");if("RSAES-PKCS1-V1_5"===e)e={encode:function(a,c,e){return b(a,c,2).getBytes()}};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={encode:function(b,c){return a.pkcs1.encode_rsa_oaep(c,b,f)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(e))e={encode:function(a){return a}};else if("string"==typeof e)throw Error('Unsupported encryption scheme: "'+e+'".');c=e.encode(c,g,!0);return l.rsa.encrypt(c,g,!0)},g.verify=function(a,b,e){"string"==typeof e? -e=e.toUpperCase():void 0===e&&(e="RSASSA-PKCS1-V1_5");if("RSASSA-PKCS1-V1_5"===e)e={verify:function(a,b){b=c(b,g,!0);b=d.fromDer(b);return a===b.value[1].value}};else if("NONE"===e||"NULL"===e||null===e)e={verify:function(a,b){return b=c(b,g,!0),a===b}};b=l.rsa.decrypt(b,g,!0,!1);return e.verify(a,b,g.n.bitLength())},g};l.setRsaPrivateKey=l.rsa.setPrivateKey=function(b,e,f,g,k,h,m,d){var z={n:b,e:e,d:f,p:g,q:k,dP:h,dQ:m,qInv:d};return z.decrypt=function(b,e,f){"string"==typeof e?e=e.toUpperCase(): -void 0===e&&(e="RSAES-PKCS1-V1_5");b=l.rsa.decrypt(b,z,!1,!1);if("RSAES-PKCS1-V1_5"===e)e={decode:c};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={decode:function(b,c){return a.pkcs1.decode_rsa_oaep(c,b,f)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(e))throw Error('Unsupported encryption scheme: "'+e+'".');e={decode:function(a){return a}}}return e.decode(b,z,!1)},z.sign=function(a,b){var c=!1;"string"==typeof b&&(b=b.toUpperCase());if(void 0===b||"RSASSA-PKCS1-V1_5"===b)b={encode:y},c=1;else if("NONE"=== -b||"NULL"===b||null===b)b={encode:function(){return a}},c=1;b=b.encode(a,z.n.bitLength());return l.rsa.encrypt(b,z,c)},z};l.wrapRsaPrivateKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,d.integerToDer(0).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.OID,!1,d.oidToDer(l.oids.rsaEncryption).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.NULL,!1,"")]),d.create(d.Class.UNIVERSAL,d.Type.OCTETSTRING, -!1,d.toDer(a).getBytes())])};l.privateKeyFromAsn1=function(b){var c={},e=[];d.validate(b,A,c,e)&&(b=d.fromDer(a.util.createBuffer(c.privateKey)));c={};e=[];if(!d.validate(b,D,c,e))throw b=Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey."),b.errors=e,b;var f,g,k,m,n,r,p,u;return f=a.util.createBuffer(c.privateKeyModulus).toHex(),g=a.util.createBuffer(c.privateKeyPublicExponent).toHex(),k=a.util.createBuffer(c.privateKeyPrivateExponent).toHex(),m=a.util.createBuffer(c.privateKeyPrime1).toHex(), -n=a.util.createBuffer(c.privateKeyPrime2).toHex(),r=a.util.createBuffer(c.privateKeyExponent1).toHex(),p=a.util.createBuffer(c.privateKeyExponent2).toHex(),u=a.util.createBuffer(c.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new h(f,16),new h(g,16),new h(k,16),new h(m,16),new h(n,16),new h(r,16),new h(p,16),new h(u,16))};l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,d.integerToDer(0).getBytes()), -d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.n)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.e)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.d)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.p)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.q)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.dP)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.dQ)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.qInv))])};l.publicKeyFromAsn1=function(b){var c={},e=[];if(d.validate(b,w,c,e)){e= -d.derToOid(c.publicKeyOid);if(e!==l.oids.rsaEncryption)throw c=Error("Cannot read public key. Unknown OID."),c.oid=e,c;b=c.rsaPublicKey}e=[];if(!d.validate(b,x,c,e))throw c=Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey."),c.errors=e,c;e=a.util.createBuffer(c.publicKeyModulus).toHex();c=a.util.createBuffer(c.publicKeyExponent).toHex();return l.setRsaPublicKey(new h(e,16),new h(c,16))};l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(a){return d.create(d.Class.UNIVERSAL, -d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.OID,!1,d.oidToDer(l.oids.rsaEncryption).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.NULL,!1,"")]),d.create(d.Class.UNIVERSAL,d.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(a)])])};l.publicKeyToRSAPublicKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.n)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.e))])}}if("function"!=typeof b){if("object"!= -typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var e=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rsa)return b.rsa;b.defined.rsa=!0;for(var f=0;f>16};b.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this.data[0]?0:1};b.prototype.toByteArray=function(){var a=this.t,b=[];b[0]=this.s;var c=this.DB-a*this.DB%8,d,g=0;if(0>c)!=(this.s&this.DM)>>c&&(b[g++]=d|this.s<c?(d=(this.data[a]&(1<>(c+=this.DB-8)):(d=this.data[a]>>(c-=8)&255,0>=c&&(c+=this.DB,--a)),0!=(d&128)&&(d|=-256),0==g&& +(this.s&128)!=(d&128)&&++g,0this.compareTo(a)?this:a};b.prototype.max=function(a){return 0a?this.rShiftTo(-a,b):this.lShiftTo(a,b),b};b.prototype.shiftRight=function(a){var b=c();return 0>a?this.lShiftTo(-a,b):this.rShiftTo(a,b),b};b.prototype.getLowestSetBit=function(){for(var a=0;a>=16,d+=16), +0==(c&255)&&(c>>=8,d+=8),0==(c&15)&&(c>>=4,d+=4),0==(c&3)&&(c>>=2,d+=2),0==(c&1)&&++d,d);return b+a}return 0>this.s?this.t*this.DB:-1};b.prototype.bitCount=function(){for(var a=0,b=this.s&this.DM,c=0;c=this.t?0!=this.s:0!=(this.data[b]&1<=d)return f;18>d?g=1:48>d?g=3:144>d?g=4:768>d?g=5:g=6;8>d?k=new q(b):b.isEven()?k=new B(b):k=new z(b);b=[];var h=3,m=g-1,n=(1<=m?p=a.data[r]>>d-m&n:(p=(a.data[r]&(1<>this.DB+d-m));for(h=g;0==(p&1);)p>>=1,--h;0>(d-=h)&&(d+=this.DB, +--r);if(u)b[p].copyTo(f),u=!1;else{for(;1--d&&(d=this.DB-1,--r)}return k.revert(f)};b.prototype.modInverse=function(a){var c=a.isEven();if(this.isEven()&&c||0==a.signum())return b.ZERO;for(var d=a.clone(),g=this.clone(),f=e(1),k=e(0),h=e(0),m=e(1);0!=d.signum();){for(;d.isEven();)d.rShiftTo(1,d),c?(f.isEven()&&k.isEven()||(f.addTo(this,f),k.subTo(a,k)),f.rShiftTo(1, +f)):k.isEven()||k.subTo(a,k),k.rShiftTo(1,k);for(;g.isEven();)g.rShiftTo(1,g),c?(h.isEven()&&m.isEven()||(h.addTo(this,h),m.subTo(a,m)),h.rShiftTo(1,h)):m.isEven()||m.subTo(a,m),m.rShiftTo(1,m);0<=d.compareTo(g)?(d.subTo(g,d),c&&f.subTo(h,f),k.subTo(m,k)):(g.subTo(d,g),c&&h.subTo(f,h),m.subTo(k,m))}return 0!=g.compareTo(b.ONE)?b.ZERO:0<=m.compareTo(a)?m.subtract(a):0>m.signum()?(m.addTo(a,m),0>m.signum()?m.add(a):m):m};b.prototype.pow=function(a){return this.exp(a,new A)};b.prototype.gcd=function(a){var b= +0>this.s?this.negate():this.clone();a=0>a.s?a.negate():a.clone();0>b.compareTo(a)&&(a=b=a);var c=b.getLowestSetBit(),d=a.getLowestSetBit();if(0>d)return b;c>24&255,k>>16&255,k>>8&255,k&255);d.start();d.update(b+h);g+=d.digest().getBytes()}return g.substring(0,c)}var c=a.pkcs1=a.pkcs1||{};c.encode_rsa_oaep=function(c,d,g,f,k){var h,m,e,l;"string"==typeof g?(h=g,m=f||void 0,e=k||void 0):g&&(h=g.label||void 0,m=g.seed||void 0,e=g.md||void 0,g.mgf1&&g.mgf1.md&&(l=g.mgf1.md));e?e.start():e=a.md.sha1.create();l||(l=e);c=Math.ceil(c.n.bitLength()/8);g=c-2*e.digestLength-2;if(d.length> +g)throw l=Error("RSAES-OAEP input message length is too long."),l.length=d.length,l.maxLength=g,l;h||(h="");e.update(h,"raw");h=e.digest();f="";g-=d.length;for(k=0;k +b&&(m=f(b,d));if(m.isProbablePrime(B))return h(null,m);m.dAddOffset(l[e++%8],0)}while(0>n||+new Date-rb&&(m=f(b,d));g=m.toString(16);a.target.postMessage({hex:g,workLoad:l});m.dAddOffset(n,0)}}B=Math.max(1,B);for(var c=[],g=0;g=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if(!a.prime){var h= +a.prime=a.prime||{},e=a.jsbn.BigInteger,l=[6,4,2,4,2,4,6,2],q=new e(null);q.fromInt(30);var z=function(a,b){return a|b};h.generateProbablePrime=function(c,d,g){"function"==typeof d&&(g=d,d={});d=d||{};var f=d.algorithm||"PRIMEINC";"string"==typeof f&&(f={name:f});f.options=f.options||{};var k=d.prng||a.random;d={nextBytes:function(a){for(var b=k.getBytesSync(a.length),c=0;cc-11)throw g=Error("Message is too long for PKCS#1 v1.5 padding."),g.length=b.length,g.max=c-11,g;g.putByte(0);g.putByte(d);c=c-3-b.length;if(0===d||1===d){d=0===d?0:255;for(var f=0;fb.p.compareTo(b.q)&&(a=b.p,b.p=b.q,b.q=a);0!==b.p.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)? +(b.p=null,g()):0!==b.q.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)?(b.q=null,f(b.qBits,k)):(b.p1=b.p.subtract(h.ONE),b.q1=b.q.subtract(h.ONE),b.phi=b.p1.multiply(b.q1),0!==b.phi.gcd(b.e).compareTo(h.ONE)?(b.p=b.q=null,g()):(b.n=b.p.multiply(b.q),b.n.bitLength()!==b.bits?(b.q=null,f(b.qBits,k)):(a=b.e.modInverse(b.phi),b.keys={privateKey:l.rsa.setPrivateKey(b.n,b.e,a,b.p,b.q,a.mod(b.p1),a.mod(b.q1),b.q.modInverse(b.p)),publicKey:l.rsa.setPublicKey(b.n,b.e)},d(null,b.keys))))}"function"==typeof c&&(d= +c,c={});c=c||{};var m={algorithm:{name:c.algorithm||"PRIMEINC",options:{workers:c.workers||2,workLoad:c.workLoad||100,workerScript:c.workerScript}}};"prng"in c&&(m.prng=c.prng);g()}function f(b){b=b.toString(16);return"8"<=b[0]&&(b="00"+b),a.util.hexToBytes(b)}function k(a){return 100>=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if("undefined"==typeof h)var h=a.jsbn.BigInteger;var e=a.asn1;a.pki=a.pki||{};a.pki.rsa=a.rsa=a.rsa||{};var l=a.pki, +q=[6,4,2,4,2,4,6,2],z={name:"PrivateKeyInfo",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:e.Class.UNIVERSAL, +type:e.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},D={name:"RSAPrivateKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"}, +{name:"RSAPrivateKey.privateExponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2", +tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},x={name:"RSAPublicKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER, +constructed:!1,capture:"publicKeyExponent"}]},w=a.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:e.Class.UNIVERSAL, +type:e.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},y=function(a){var b;if(a.algorithm in l.oids){b=l.oids[a.algorithm];var c=e.oidToDer(b).getBytes();b=e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[]);var d=e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[]);d.value.push(e.create(e.Class.UNIVERSAL,e.Type.OID,!1,c));d.value.push(e.create(e.Class.UNIVERSAL, +e.Type.NULL,!1,""));a=e.create(e.Class.UNIVERSAL,e.Type.OCTETSTRING,!1,a.digest().getBytes());return b.value.push(d),b.value.push(a),e.toDer(b).getBytes()}b=Error("Unknown message digest algorithm.");throw b.algorithm=a.algorithm,b;},A=function(b,c,d){if(d)return b.modPow(c.e,c.n);if(!c.p||!c.q)return b.modPow(c.d,c.n);c.dP||(c.dP=c.d.mod(c.p.subtract(h.ONE)));c.dQ||(c.dQ=c.d.mod(c.q.subtract(h.ONE)));c.qInv||(c.qInv=c.q.modInverse(c.p));do d=(new h(a.util.bytesToHex(a.random.getBytes(c.n.bitLength()/ +8)),16)).mod(c.n);while(d.equals(h.ZERO));b=b.multiply(d.modPow(c.e,c.n)).mod(c.n);var g=b.mod(c.p).modPow(c.dP,c.p);for(b=b.mod(c.q).modPow(c.dQ,c.q);0>g.compareTo(b);)g=g.add(c.p);b=g.subtract(b).multiply(c.qInv).mod(c.p).multiply(c.q).add(b);return b=b.multiply(d.modInverse(c.n)).mod(c.n),b};l.rsa.encrypt=function(c,d,g){var f=g,k,m=Math.ceil(d.n.bitLength()/8);!1!==g&&!0!==g?(f=2===g,k=b(c,d,g)):(k=a.util.createBuffer(),k.putBytes(c));c=new h(k.toHex(),16);d=A(c,d,f).toString(16);f=a.util.createBuffer(); +for(m-=Math.ceil(d.length/2);0>1,pBits:b-(b>>1),pqState:0,num:null, +keys:null},f.e.fromInt(f.eInt),f};l.rsa.stepKeyPairGenerationState=function(a,b){"algorithm"in a||(a.algorithm="PRIMEINC");var c=new h(null);c.fromInt(30);for(var d=0,g=function(a,b){return a|b},f=+new Date,m,e=0;null===a.keys&&(0>=b||em?a.pqState= +0:a.num.isProbablePrime(k(a.num.bitLength()))?++a.pqState:a.num.dAddOffset(q[d++%8],0):2===a.pqState?a.pqState=0===a.num.subtract(h.ONE).gcd(a.e).compareTo(h.ONE)?3:0:3===a.pqState&&(a.pqState=0,null===a.p?a.p=a.num:a.q=a.num,null!==a.p&&null!==a.q&&++a.state,a.num=null)}else 1===a.state?(0>a.p.compareTo(a.q)&&(a.num=a.p,a.p=a.q,a.q=a.num),++a.state):2===a.state?(a.p1=a.p.subtract(h.ONE),a.q1=a.q.subtract(h.ONE),a.phi=a.p1.multiply(a.q1),++a.state):3===a.state?0===a.phi.gcd(a.e).compareTo(h.ONE)? +++a.state:(a.p=null,a.q=null,a.state=0):4===a.state?(a.n=a.p.multiply(a.q),a.n.bitLength()===a.bits?++a.state:(a.q=null,a.state=0)):5===a.state&&(m=a.e.modInverse(a.phi),a.keys={privateKey:l.rsa.setPrivateKey(a.n,a.e,m,a.p,a.q,m.mod(a.p1),m.mod(a.q1),a.q.modInverse(a.p)),publicKey:l.rsa.setPublicKey(a.n,a.e)});m=+new Date;e+=m-f;f=m}return null!==a.keys};l.rsa.generateKeyPair=function(a,b,c,g){1===arguments.length?"object"==typeof a?(c=a,a=void 0):"function"==typeof a&&(g=a,a=void 0):2===arguments.length? +"number"==typeof a?"function"==typeof b?(g=b,b=void 0):"number"!=typeof b&&(c=b,b=void 0):(c=a,g=b,a=void 0,b=void 0):3===arguments.length&&("number"==typeof b?"function"==typeof c&&(g=c,c=void 0):(g=c,c=b,b=void 0));c=c||{};void 0===a&&(a=c.bits||2048);void 0===b&&(b=c.e||65537);var f=l.rsa.createKeyPairGenerationState(a,b,c);if(!g)return l.rsa.stepKeyPairGenerationState(f,0),f.keys;d(f,c,g)};l.setRsaPublicKey=l.rsa.setPublicKey=function(d,g){var f={n:d,e:g};return f.encrypt=function(c,d,g){"string"== +typeof d?d=d.toUpperCase():void 0===d&&(d="RSAES-PKCS1-V1_5");if("RSAES-PKCS1-V1_5"===d)d={encode:function(a,c,d){return b(a,c,2).getBytes()}};else if("RSA-OAEP"===d||"RSAES-OAEP"===d)d={encode:function(b,c){return a.pkcs1.encode_rsa_oaep(c,b,g)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(d))d={encode:function(a){return a}};else if("string"==typeof d)throw Error('Unsupported encryption scheme: "'+d+'".');c=d.encode(c,f,!0);return l.rsa.encrypt(c,f,!0)},f.verify=function(a,b,d){"string"==typeof d? +d=d.toUpperCase():void 0===d&&(d="RSASSA-PKCS1-V1_5");if("RSASSA-PKCS1-V1_5"===d)d={verify:function(a,b){b=c(b,f,!0);b=e.fromDer(b);return a===b.value[1].value}};else if("NONE"===d||"NULL"===d||null===d)d={verify:function(a,b){return b=c(b,f,!0),a===b}};b=l.rsa.decrypt(b,f,!0,!1);return d.verify(a,b,f.n.bitLength())},f};l.setRsaPrivateKey=l.rsa.setPrivateKey=function(b,d,g,f,k,h,m,e){var B={n:b,e:d,d:g,p:f,q:k,dP:h,dQ:m,qInv:e};return B.decrypt=function(b,d,g){"string"==typeof d?d=d.toUpperCase(): +void 0===d&&(d="RSAES-PKCS1-V1_5");b=l.rsa.decrypt(b,B,!1,!1);if("RSAES-PKCS1-V1_5"===d)d={decode:c};else if("RSA-OAEP"===d||"RSAES-OAEP"===d)d={decode:function(b,c){return a.pkcs1.decode_rsa_oaep(c,b,g)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(d))throw Error('Unsupported encryption scheme: "'+d+'".');d={decode:function(a){return a}}}return d.decode(b,B,!1)},B.sign=function(a,b){var c=!1;"string"==typeof b&&(b=b.toUpperCase());if(void 0===b||"RSASSA-PKCS1-V1_5"===b)b={encode:y},c=1;else if("NONE"=== +b||"NULL"===b||null===b)b={encode:function(){return a}},c=1;b=b.encode(a,B.n.bitLength());return l.rsa.encrypt(b,B,c)},B};l.wrapRsaPrivateKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,e.integerToDer(0).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.OID,!1,e.oidToDer(l.oids.rsaEncryption).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.NULL,!1,"")]),e.create(e.Class.UNIVERSAL,e.Type.OCTETSTRING, +!1,e.toDer(a).getBytes())])};l.privateKeyFromAsn1=function(b){var c={},d=[];e.validate(b,z,c,d)&&(b=e.fromDer(a.util.createBuffer(c.privateKey)));c={};d=[];if(!e.validate(b,D,c,d))throw b=Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey."),b.errors=d,b;var g,f,k,m,n,r,p,u;return g=a.util.createBuffer(c.privateKeyModulus).toHex(),f=a.util.createBuffer(c.privateKeyPublicExponent).toHex(),k=a.util.createBuffer(c.privateKeyPrivateExponent).toHex(),m=a.util.createBuffer(c.privateKeyPrime1).toHex(), +n=a.util.createBuffer(c.privateKeyPrime2).toHex(),r=a.util.createBuffer(c.privateKeyExponent1).toHex(),p=a.util.createBuffer(c.privateKeyExponent2).toHex(),u=a.util.createBuffer(c.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new h(g,16),new h(f,16),new h(k,16),new h(m,16),new h(n,16),new h(r,16),new h(p,16),new h(u,16))};l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,e.integerToDer(0).getBytes()), +e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.n)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.e)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.d)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.p)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.q)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.dP)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.dQ)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.qInv))])};l.publicKeyFromAsn1=function(b){var c={},d=[];if(e.validate(b,w,c,d)){d= +e.derToOid(c.publicKeyOid);if(d!==l.oids.rsaEncryption)throw c=Error("Cannot read public key. Unknown OID."),c.oid=d,c;b=c.rsaPublicKey}d=[];if(!e.validate(b,x,c,d))throw c=Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey."),c.errors=d,c;d=a.util.createBuffer(c.publicKeyModulus).toHex();c=a.util.createBuffer(c.publicKeyExponent).toHex();return l.setRsaPublicKey(new h(d,16),new h(c,16))};l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(a){return e.create(e.Class.UNIVERSAL, +e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.OID,!1,e.oidToDer(l.oids.rsaEncryption).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.NULL,!1,"")]),e.create(e.Class.UNIVERSAL,e.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(a)])])};l.publicKeyToRSAPublicKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.n)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.e))])}}if("function"!=typeof b){if("object"!= +typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rsa)return b.rsa;b.defined.rsa=!0;for(var g=0;g>=8,y+=w.at(d)+A.at(d),A.setAt(d,y&255);q.putBuffer(A)}r=q;n.putBuffer(v)}return n.truncate(n.length()-g),n};g.pbe.getCipher=function(a,b,c){switch(a){case g.oids.pkcs5PBES2:return g.pbe.getCipherForPBES2(a,b,c);case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case g.oids["pbewithSHAAnd40BitRC2-CBC"]:return g.pbe.getCipherForPKCS12PBE(a, -b,c);default:throw b=Error("Cannot read encrypted PBE data block. Unsupported OID."),b.oid=a,b.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],b;}};g.pbe.getCipherForPBES2=function(b,c,f){var k={};b=[];if(!e.validate(c,d,k,b)){var h=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw h.errors=b,h;}b=e.derToOid(k.kdfOid);if(b!==g.oids.pkcs5PBKDF2)throw h=Error("Cannot read encrypted private key. Unsupported key derivation function OID."), -h.oid=b,h.supportedOids=["pkcs5PBKDF2"],h;b=e.derToOid(k.encOid);if(b!==g.oids["aes128-CBC"]&&b!==g.oids["aes192-CBC"]&&b!==g.oids["aes256-CBC"]&&b!==g.oids["des-EDE3-CBC"]&&b!==g.oids.desCBC)throw h=Error("Cannot read encrypted private key. Unsupported encryption scheme OID."),h.oid=b,h.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],h;c=k.kdfSalt;var m=a.util.createBuffer(k.kdfIterationCount),m=m.getInt(m.length()<<3),l;switch(g.oids[b]){case "aes128-CBC":l=16;h=a.aes.createDecryptionCipher; -break;case "aes192-CBC":l=24;h=a.aes.createDecryptionCipher;break;case "aes256-CBC":l=32;h=a.aes.createDecryptionCipher;break;case "des-EDE3-CBC":l=24;h=a.des.createDecryptionCipher;break;case "desCBC":l=8,h=a.des.createDecryptionCipher}b=a.pkcs5.pbkdf2(f,c,m,l);k=k.encIv;h=h(b);return h.start(k),h};g.pbe.getCipherForPKCS12PBE=function(b,c,f){var k={},h=[];if(!e.validate(c,l,k,h))throw f=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo."), -f.errors=h,f;var h=a.util.createBuffer(k.salt),k=a.util.createBuffer(k.iterations),k=k.getInt(k.length()<<3),d;switch(b){case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:d=24;c=8;b=a.des.startDecrypting;break;case g.oids["pbewithSHAAnd40BitRC2-CBC"]:d=5;c=8;b=function(b,c){b=a.rc2.createDecryptionCipher(b,40);return b.start(c,null),b};break;default:throw f=Error("Cannot read PKCS #12 PBE data block. Unsupported OID."),f.oid=b,f;}d=g.pbe.generatePkcs12Key(f,h,1,k,d);f=g.pbe.generatePkcs12Key(f,h,2,k, -c);return b(d,f)};g.pbe.opensslDeriveBytes=function(c,e,f,g){if("undefined"==typeof g||null===g)g=a.md.md5.create();null===e&&(e="");for(var k=[b(g,c+e)],h=16,d=1;h>=8,y+=w.at(m)+z.at(m),z.setAt(m,y&255);q.putBuffer(z)}r=q;n.putBuffer(v)}return n.truncate(n.length()-f),n};f.pbe.getCipher=function(a,b,c){switch(a){case f.oids.pkcs5PBES2:return f.pbe.getCipherForPBES2(a,b,c);case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case f.oids["pbewithSHAAnd40BitRC2-CBC"]:return f.pbe.getCipherForPKCS12PBE(a, +b,c);default:throw b=Error("Cannot read encrypted PBE data block. Unsupported OID."),b.oid=a,b.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],b;}};f.pbe.getCipherForPBES2=function(b,c,g){var k={};b=[];if(!d.validate(c,e,k,b)){var h=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw h.errors=b,h;}b=d.derToOid(k.kdfOid);if(b!==f.oids.pkcs5PBKDF2)throw h=Error("Cannot read encrypted private key. Unsupported key derivation function OID."), +h.oid=b,h.supportedOids=["pkcs5PBKDF2"],h;b=d.derToOid(k.encOid);if(b!==f.oids["aes128-CBC"]&&b!==f.oids["aes192-CBC"]&&b!==f.oids["aes256-CBC"]&&b!==f.oids["des-EDE3-CBC"]&&b!==f.oids.desCBC)throw h=Error("Cannot read encrypted private key. Unsupported encryption scheme OID."),h.oid=b,h.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],h;c=k.kdfSalt;var m=a.util.createBuffer(k.kdfIterationCount),m=m.getInt(m.length()<<3),l;switch(f.oids[b]){case "aes128-CBC":l=16;h=a.aes.createDecryptionCipher; +break;case "aes192-CBC":l=24;h=a.aes.createDecryptionCipher;break;case "aes256-CBC":l=32;h=a.aes.createDecryptionCipher;break;case "des-EDE3-CBC":l=24;h=a.des.createDecryptionCipher;break;case "desCBC":l=8,h=a.des.createDecryptionCipher}b=a.pkcs5.pbkdf2(g,c,m,l);k=k.encIv;h=h(b);return h.start(k),h};f.pbe.getCipherForPKCS12PBE=function(b,c,g){var k={},h=[];if(!d.validate(c,l,k,h))throw g=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo."), +g.errors=h,g;var h=a.util.createBuffer(k.salt),k=a.util.createBuffer(k.iterations),k=k.getInt(k.length()<<3),m;switch(b){case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:m=24;c=8;b=a.des.startDecrypting;break;case f.oids["pbewithSHAAnd40BitRC2-CBC"]:m=5;c=8;b=function(b,c){b=a.rc2.createDecryptionCipher(b,40);return b.start(c,null),b};break;default:throw g=Error("Cannot read PKCS #12 PBE data block. Unsupported OID."),g.oid=b,g;}m=f.pbe.generatePkcs12Key(g,h,1,k,m);g=f.pbe.generatePkcs12Key(g,h,2,k, +c);return b(m,g)};f.pbe.opensslDeriveBytes=function(c,d,g,f){if("undefined"==typeof f||null===f)f=a.md.md5.create();null===d&&(d="");for(var k=[b(f,c+d)],h=16,m=1;h>8*l-f&255;return n=String.fromCharCode(n.charCodeAt(0)&~f)+ -n.substr(1),n+b+String.fromCharCode(188)},l.verify=function(b,f,k){var d;d=k-1;k=Math.ceil(d/8);f=f.substr(-k);if(k>8*k-d&255;if(0!==(l.charCodeAt(0)&n))throw Error("Bits beyond keysize not zero as expected.");var r=e.generate(f,m),z="";for(d=0;dh.length)throw Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime."); -k.validity.notBefore=h[0];k.validity.notAfter=h[1];k.tbsCertificate=g.tbsCertificate;if(f){k.md=null;if(k.signatureOid in q)switch(h=q[k.signatureOid],h){case "sha1WithRSAEncryption":k.md=a.md.sha1.create();break;case "md5WithRSAEncryption":k.md=a.md.md5.create();break;case "sha256WithRSAEncryption":k.md=a.md.sha256.create();break;case "RSASSA-PSS":k.md=a.md.sha256.create()}if(null===k.md)throw g=Error("Could not compute certificate digest. Unknown signature OID."),g.signatureOid=k.signatureOid,g; -f=d.toDer(k.tbsCertificate);k.md.update(f.getBytes())}f=a.md.sha1.create();k.issuer.getField=function(a){return b(k.issuer,a)};k.issuer.addField=function(a){e([a]);k.issuer.attributes.push(a)};k.issuer.attributes=l.RDNAttributesAsArray(g.certIssuer,f);g.certIssuerUniqueId&&(k.issuer.uniqueId=g.certIssuerUniqueId);k.issuer.hash=f.digest().toHex();f=a.md.sha1.create();return k.subject.getField=function(a){return b(k.subject,a)},k.subject.addField=function(a){e([a]);k.subject.attributes.push(a)},k.subject.attributes= -l.RDNAttributesAsArray(g.certSubject,f),g.certSubjectUniqueId&&(k.subject.uniqueId=g.certSubjectUniqueId),k.subject.hash=f.digest().toHex(),g.certExtensions?k.extensions=l.certificateExtensionsFromAsn1(g.certExtensions):k.extensions=[],k.publicKey=l.publicKeyFromAsn1(g.subjectPublicKeyInfo),k};l.certificateExtensionsFromAsn1=function(a){for(var b=[],c=0;cm.validity.notAfter)h={message:"Certificate is not valid yet or has expired.", -error:l.certificateError.certificate_expired,notBefore:m.validity.notBefore,notAfter:m.validity.notAfter,now:g};if(null===h){n=c[0]||b.getIssuer(m);null===n&&m.isIssuer(m)&&(r=!0,n=m);if(n){var z=n;a.util.isArray(z)||(z=[z]);for(var p=!1;!p&&0d.pathLenConstraint&&(h={message:"Certificate basicConstraints pathLenConstraint violated.", -error:l.certificateError.bad_certificate}));m=null===h?!0:h.error;d=e?e(m,k,f):m;if(!0!==d){!0===m&&(h={message:"The application rejected the certificate.",error:l.certificateError.bad_certificate});if(d||0===d)"object"!=typeof d||a.util.isArray(d)?"string"==typeof d&&(h.error=d):(d.message&&(h.message=d.message),d.error&&(h.error=d.error));throw h;}h=null;d=!1;++k}while(0>1,h=g+(b.length&1),k=b.substr(0,h),h=b.substr(g,h);b=a.util.createBuffer(); -g=a.hmac.create();e=c+e;var m=Math.ceil(f/16);c=Math.ceil(f/20);g.start("MD5",k);k=a.util.createBuffer();b.putBytes(e);for(var l=0;le)b.error(b,{message:h?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});else{c=c.fragment;var k=c.length(),f={version:{major:c.getByte(),minor:c.getByte()},random:a.util.createBuffer(c.getBytes(32)),session_id:g(c,1),extensions:[]};h?(f.cipher_suite= -c.getBytes(2),f.compression_method=c.getByte()):(f.cipher_suites=g(c,2),f.compression_methods=g(c,1));k=e-(k-c.length());if(0c.version.minor)e=null,f="";0===f.length&&(f=a.random.getBytes(32));b.session.id=f;b.session.clientHelloVersion=c.version;b.session.sp={};if(e)b.version=b.session.version=e.version,b.session.sp=e.sp;else{for(var g,f=1;fe)return b.error(b,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.illegal_parameter}});e=g(c.fragment,3);var f,h;c=[];try{for(;0e)return b.error(b,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unsupported_certificate}});c=g(c.fragment,2).getBytes();e=null;if(b.getPrivateKey)try{e=b.getPrivateKey(b,b.session.serverCertificate),e=a.pki.privateKeyFromPem(e)}catch(qa){b.error(b,{message:"Could not get private key.",cause:qa,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}})}if(null=== -e)return b.error(b,{message:"No private key set.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}});try{var f=b.session.sp;f.pre_master_secret=e.decrypt(c);var h=b.session.clientHelloVersion;if(h.major!==f.pre_master_secret.charCodeAt(0)||h.minor!==f.pre_master_secret.charCodeAt(1))throw Error("TLS version rollback attack detected.");}catch(qa){f.pre_master_secret=a.random.getBytes(48)}b.expect=G;null!==b.session.clientCertificate&&(b.expect=z);b.process()}; -d.handleCertificateRequest=function(a,b,c){if(3>c)return a.error(a,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});b=b.fragment;b={certificate_types:g(b,1),certificate_authorities:g(b,2)};a.session.certificateRequest=b;a.expect=A;a.process()};d.handleCertificateVerify=function(b,c,e){if(2>e)return b.error(b,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.illegal_parameter}});e=c.fragment;e.read-=4;c=e.bytes();e.read+=4;e=g(e,2).getBytes();var f=a.util.createBuffer();f.putBuffer(b.session.md5.digest());f.putBuffer(b.session.sha1.digest());f=f.getBytes();try{if(!b.session.clientCertificate.publicKey.verify(f,e,"NONE"))throw Error("CertificateVerify signature does not match.");b.session.md5.update(c);b.session.sha1.update(c)}catch(pa){return b.error(b,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.handshake_failure}})}b.expect=G;b.process()};d.handleServerHelloDone=function(b,c,e){if(0e.length())return b.fragmented=c,c.fragment=a.util.createBuffer(),e.read-=4,b.process();b.fragmented=null;e.read-=4;var h=e.bytes(g+4);e.read+=4;f in K[b.entity][b.expect]?(b.entity===d.ConnectionEnd.server&&!b.open&&!b.fail&&(b.handshaking=!0,b.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:a.md.md5.create(),sha1:a.md.sha1.create()}),f!==d.HandshakeType.hello_request&&f!==d.HandshakeType.certificate_verify&& -f!==d.HandshakeType.finished&&(b.session.md5.update(h),b.session.sha1.update(h)),K[b.entity][b.expect][f](b,c,g)):d.handleUnexpected(b,c)};d.handleApplicationData=function(a,b){a.data.putBuffer(b.fragment);a.dataReady(a);a.process()};d.handleHeartbeat=function(b,c){var e=c.fragment;c=e.getByte();var f=e.getInt16(),e=e.getBytes(f);if(c===d.HeartbeatMessageType.heartbeat_request){if(b.handshaking||f>e.length)return b.process();d.queue(b,d.createRecord(b,{type:d.ContentType.heartbeat,data:d.createHeartbeat(d.HeartbeatMessageType.heartbeat_response, -e)}));d.flush(b)}else if(c===d.HeartbeatMessageType.heartbeat_response){if(e!==b.expectedHeartbeatPayload)return b.process();b.heartbeatReceived&&b.heartbeatReceived(b,a.util.createBuffer(e))}b.process()};var k=1,l=2,q=3,A=4,D=5,x=6,w=7,y=8,B=1,F=2,z=3,G=4,E=5,L=6,t=d.handleUnexpected,O=d.handleChangeCipherSpec,J=d.handleAlert,I=d.handleHandshake,T=d.handleApplicationData,Q=d.handleHeartbeat,ea=[];ea[d.ConnectionEnd.client]=[[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[O,J,t,t,Q], -[t,J,I,t,Q],[t,J,I,T,Q],[t,J,I,t,Q]];ea[d.ConnectionEnd.server]=[[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[O,J,t,t,Q],[t,J,I,t,Q],[t,J,I,T,Q],[t,J,I,t,Q]];var O=d.handleHelloRequest,J=d.handleCertificate,I=d.handleServerKeyExchange,T=d.handleCertificateRequest,Q=d.handleServerHelloDone,S=d.handleFinished,K=[];K[d.ConnectionEnd.client]=[[t,t,d.handleServerHello,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,J,I,T,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,I,T,Q,t,t,t,t,t,t],[O,t,t, -t,t,t,t,t,t,t,t,t,t,T,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,S],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t]];K[d.ConnectionEnd.server]=[[t,d.handleClientHello,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,J,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,d.handleClientKeyExchange,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,d.handleCertificateVerify, -t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,S],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t]];d.generateKeys=function(a,c){var e=c.client_random+c.server_random;a.session.resuming||(c.master_secret=b(c.pre_master_secret,"master secret",e,48).bytes(),c.pre_master_secret=null);var e=c.server_random+c.client_random,f=2*c.mac_key_length+2*c.enc_key_length;(a=a.version.major===d.Versions.TLS_1_0.major&&a.version.minor=== -d.Versions.TLS_1_0.minor)&&(f+=2*c.fixed_iv_length);e=b(c.master_secret,"key expansion",e,f);f={client_write_MAC_key:e.getBytes(c.mac_key_length),server_write_MAC_key:e.getBytes(c.mac_key_length),client_write_key:e.getBytes(c.enc_key_length),server_write_key:e.getBytes(c.enc_key_length)};return a&&(f.client_write_IV=e.getBytes(c.fixed_iv_length),f.server_write_IV=e.getBytes(c.fixed_iv_length)),f};d.createConnectionState=function(a){var b=a.entity===d.ConnectionEnd.client,f=function(){var a={sequenceNumber:[0, -0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(a){return!0},compressionState:null,compressFunction:function(a){return!0},updateSequenceNumber:function(){4294967295===a.sequenceNumber[1]?(a.sequenceNumber[1]=0,++a.sequenceNumber[0]):++a.sequenceNumber[1]}};return a},g={read:f(),write:f()};g.read.update=function(a,b){return g.read.cipherFunction(b,g.read)?g.read.compressFunction(a,b,g.read)||a.error(a,{message:"Could not decompress record.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.decompression_failure}}):a.error(a,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.bad_record_mac}}),!a.fail};g.write.update=function(a,b){return g.write.compressFunction(a,b,g.write)?g.write.cipherFunction(b,g.write)||a.error(a,{message:"Could not encrypt record.",send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}):a.error(a,{message:"Could not compress record.", -send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}),!a.fail};if(a.session)switch(f=a.session.sp,a.session.cipherSuite.initSecurityParameters(f),f.keys=d.generateKeys(a,f),g.read.macKey=b?f.keys.server_write_MAC_key:f.keys.client_write_MAC_key,g.write.macKey=b?f.keys.client_write_MAC_key:f.keys.server_write_MAC_key,a.session.cipherSuite.initConnectionState(g,a,f),f.compression_algorithm){case d.CompressionMethod.none:break;case d.CompressionMethod.deflate:g.read.compressFunction= -e;g.write.compressFunction=c;break;default:throw Error("Unsupported compression algorithm.");}return g};d.createRandom=function(){var b=new Date,b=+b+6E4*b.getTimezoneOffset(),c=a.util.createBuffer();return c.putInt32(b),c.putBytes(a.random.getBytes(28)),c};d.createRecord=function(a,b){return b.data?{type:b.type,version:{major:a.version.major,minor:a.version.minor},length:b.data.length(),fragment:b.data}:null};d.createAlert=function(b,c){var e=a.util.createBuffer();return e.putByte(c.level),e.putByte(c.description), -d.createRecord(b,{type:d.ContentType.alert,data:e})};d.createClientHello=function(b){b.session.clientHelloVersion={major:b.version.major,minor:b.version.minor};for(var c=a.util.createBuffer(),e=0;ed.MaxFragment;)e.push(d.createRecord(b,{type:c.type,data:a.util.createBuffer(f.slice(0,d.MaxFragment))})),f=f.slice(d.MaxFragment);0e?c=5-e:(h.record={type:b.getByte(),version:{major:b.getByte(),minor:b.getByte()},length:b.getInt16(),fragment:a.util.createBuffer(),ready:!1},(b=h.record.version.major===h.version.major)&&h.session&& -h.session.version&&(b=h.record.version.minor===h.version.minor),b||h.error(h,{message:"Incompatible TLS version.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.protocol_version}}))}if(!h.fail&&null!==h.record&&!h.record.ready){c=h;b=0;var e=c.input,f=e.length();f=h.Versions.TLS_1_1.minor&&c.output.putBytes(d),c.update(b.fragment),c.finish(e)&&(b.fragment=c.output,b.length=b.fragment.length(),f=!0),f}function e(a,b,c){c||(a-=b.length()%a,b.fillWithByte(a-1,a));return!0}function g(a,b,c){a= -!0;if(c){c=b.length();for(var e=b.last(),f=c-1-e;f=d?(b.fragment=f.output.getBytes(l-d),m=f.output.getBytes(d)):b.fragment=f.output.getBytes(); -b.fragment=a.util.createBuffer(b.fragment);b.length=b.fragment.length();b=c.macFunction(c.macKey,c.sequenceNumber,b);c.updateSequenceNumber();c=c.macKey;f=a.hmac.create();return e=(f.start("SHA1",c),f.update(m),m=f.digest().getBytes(),f.start(null,null),f.update(b),b=f.digest().getBytes(),m===b)&&e,e}var h=a.tls;h.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=h.BulkCipherAlgorithm.aes;a.cipher_type= -h.CipherType.block;a.enc_key_length=16;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm=h.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};h.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=h.BulkCipherAlgorithm.aes;a.cipher_type=h.CipherType.block;a.enc_key_length=32;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm= -h.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};var k=0}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var e=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.aesCipherSuites)return b.aesCipherSuites;b.defined.aesCipherSuites=!0;for(var f=0;f>8*l-g&255;return n=String.fromCharCode(n.charCodeAt(0)&~g)+ +n.substr(1),n+b+String.fromCharCode(188)},l.verify=function(b,g,k){var m;m=k-1;k=Math.ceil(m/8);g=g.substr(-k);if(k>8*k-m&255;if(0!==(l.charCodeAt(0)&n))throw Error("Bits beyond keysize not zero as expected.");var r=d.generate(g,e),B="";for(m=0;mh.length)throw Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime."); +k.validity.notBefore=h[0];k.validity.notAfter=h[1];k.tbsCertificate=f.tbsCertificate;if(g){k.md=null;if(k.signatureOid in q)switch(h=q[k.signatureOid],h){case "sha1WithRSAEncryption":k.md=a.md.sha1.create();break;case "md5WithRSAEncryption":k.md=a.md.md5.create();break;case "sha256WithRSAEncryption":k.md=a.md.sha256.create();break;case "RSASSA-PSS":k.md=a.md.sha256.create()}if(null===k.md)throw f=Error("Could not compute certificate digest. Unknown signature OID."),f.signatureOid=k.signatureOid,f; +g=e.toDer(k.tbsCertificate);k.md.update(g.getBytes())}g=a.md.sha1.create();k.issuer.getField=function(a){return b(k.issuer,a)};k.issuer.addField=function(a){d([a]);k.issuer.attributes.push(a)};k.issuer.attributes=l.RDNAttributesAsArray(f.certIssuer,g);f.certIssuerUniqueId&&(k.issuer.uniqueId=f.certIssuerUniqueId);k.issuer.hash=g.digest().toHex();g=a.md.sha1.create();return k.subject.getField=function(a){return b(k.subject,a)},k.subject.addField=function(a){d([a]);k.subject.attributes.push(a)},k.subject.attributes= +l.RDNAttributesAsArray(f.certSubject,g),f.certSubjectUniqueId&&(k.subject.uniqueId=f.certSubjectUniqueId),k.subject.hash=g.digest().toHex(),f.certExtensions?k.extensions=l.certificateExtensionsFromAsn1(f.certExtensions):k.extensions=[],k.publicKey=l.publicKeyFromAsn1(f.subjectPublicKeyInfo),k};l.certificateExtensionsFromAsn1=function(a){for(var b=[],c=0;cm.validity.notAfter)k={message:"Certificate is not valid yet or has expired.", +error:l.certificateError.certificate_expired,notBefore:m.validity.notBefore,notAfter:m.validity.notAfter,now:f};if(null===k){n=c[0]||b.getIssuer(m);null===n&&m.isIssuer(m)&&(r=!0,n=m);if(n){var B=n;a.util.isArray(B)||(B=[B]);for(var p=!1;!p&&0h.pathLenConstraint&&(k={message:"Certificate basicConstraints pathLenConstraint violated.", +error:l.certificateError.bad_certificate}));m=null===k?!0:k.error;h=d?d(m,e,g):m;if(!0!==h){!0===m&&(k={message:"The application rejected the certificate.",error:l.certificateError.bad_certificate});if(h||0===h)"object"!=typeof h||a.util.isArray(h)?"string"==typeof h&&(k.error=h):(h.message&&(k.message=h.message),h.error&&(k.error=h.error));throw k;}k=null;h=!1;++e}while(0>1,k=f+(b.length&1),e=b.substr(0,k),k=b.substr(f,k);b=a.util.createBuffer(); +f=a.hmac.create();d=c+d;var m=Math.ceil(g/16);c=Math.ceil(g/20);f.start("MD5",e);e=a.util.createBuffer();b.putBytes(d);for(var l=0;ld)b.error(b,{message:k?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.illegal_parameter}});else{c=c.fragment;var e=c.length(),g={version:{major:c.getByte(),minor:c.getByte()},random:a.util.createBuffer(c.getBytes(32)),session_id:f(c,1),extensions:[]};k?(g.cipher_suite= +c.getBytes(2),g.compression_method=c.getByte()):(g.cipher_suites=f(c,2),g.compression_methods=f(c,1));e=d-(e-c.length());if(0c.version.minor)d=null,g="";0===g.length&&(g=a.random.getBytes(32));b.session.id=g;b.session.clientHelloVersion=c.version;b.session.sp={};if(d)b.version=b.session.version=d.version,b.session.sp=d.sp;else{for(var f,g=1;gd)return b.error(b,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:h.Alert.Level.fatal, +description:h.Alert.Description.illegal_parameter}});d=f(c.fragment,3);var g,k;c=[];try{for(;0d)return b.error(b,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.unsupported_certificate}});c=f(c.fragment,2).getBytes();d=null;if(b.getPrivateKey)try{d=b.getPrivateKey(b,b.session.serverCertificate),d=a.pki.privateKeyFromPem(d)}catch(qa){b.error(b,{message:"Could not get private key.",cause:qa,send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.internal_error}})}if(null=== +d)return b.error(b,{message:"No private key set.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.internal_error}});try{var g=b.session.sp;g.pre_master_secret=d.decrypt(c);var k=b.session.clientHelloVersion;if(k.major!==g.pre_master_secret.charCodeAt(0)||k.minor!==g.pre_master_secret.charCodeAt(1))throw Error("TLS version rollback attack detected.");}catch(qa){g.pre_master_secret=a.random.getBytes(48)}b.expect=G;null!==b.session.clientCertificate&&(b.expect=B);b.process()}; +h.handleCertificateRequest=function(a,b,c){if(3>c)return a.error(a,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.illegal_parameter}});b=b.fragment;b={certificate_types:f(b,1),certificate_authorities:f(b,2)};a.session.certificateRequest=b;a.expect=z;a.process()};h.handleCertificateVerify=function(b,c,d){if(2>d)return b.error(b,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:h.Alert.Level.fatal, +description:h.Alert.Description.illegal_parameter}});d=c.fragment;d.read-=4;c=d.bytes();d.read+=4;d=f(d,2).getBytes();var g=a.util.createBuffer();g.putBuffer(b.session.md5.digest());g.putBuffer(b.session.sha1.digest());g=g.getBytes();try{if(!b.session.clientCertificate.publicKey.verify(g,d,"NONE"))throw Error("CertificateVerify signature does not match.");b.session.md5.update(c);b.session.sha1.update(c)}catch(pa){return b.error(b,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:h.Alert.Level.fatal, +description:h.Alert.Description.handshake_failure}})}b.expect=G;b.process()};h.handleServerHelloDone=function(b,c,d){if(0d.length())return b.fragmented=c,c.fragment=a.util.createBuffer(),d.read-=4,b.process();b.fragmented=null;d.read-=4;var k=d.bytes(f+4);d.read+=4;g in K[b.entity][b.expect]?(b.entity===h.ConnectionEnd.server&&!b.open&&!b.fail&&(b.handshaking=!0,b.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:a.md.md5.create(),sha1:a.md.sha1.create()}),g!==h.HandshakeType.hello_request&&g!==h.HandshakeType.certificate_verify&& +g!==h.HandshakeType.finished&&(b.session.md5.update(k),b.session.sha1.update(k)),K[b.entity][b.expect][g](b,c,f)):h.handleUnexpected(b,c)};h.handleApplicationData=function(a,b){a.data.putBuffer(b.fragment);a.dataReady(a);a.process()};h.handleHeartbeat=function(b,c){var d=c.fragment;c=d.getByte();var g=d.getInt16(),d=d.getBytes(g);if(c===h.HeartbeatMessageType.heartbeat_request){if(b.handshaking||g>d.length)return b.process();h.queue(b,h.createRecord(b,{type:h.ContentType.heartbeat,data:h.createHeartbeat(h.HeartbeatMessageType.heartbeat_response, +d)}));h.flush(b)}else if(c===h.HeartbeatMessageType.heartbeat_response){if(d!==b.expectedHeartbeatPayload)return b.process();b.heartbeatReceived&&b.heartbeatReceived(b,a.util.createBuffer(d))}b.process()};var e=1,l=2,q=3,z=4,D=5,x=6,w=7,y=8,A=1,F=2,B=3,G=4,E=5,L=6,t=h.handleUnexpected,O=h.handleChangeCipherSpec,J=h.handleAlert,I=h.handleHandshake,T=h.handleApplicationData,Q=h.handleHeartbeat,ea=[];ea[h.ConnectionEnd.client]=[[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[O,J,t,t,Q], +[t,J,I,t,Q],[t,J,I,T,Q],[t,J,I,t,Q]];ea[h.ConnectionEnd.server]=[[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[t,J,I,t,Q],[O,J,t,t,Q],[t,J,I,t,Q],[t,J,I,T,Q],[t,J,I,t,Q]];var O=h.handleHelloRequest,J=h.handleCertificate,I=h.handleServerKeyExchange,T=h.handleCertificateRequest,Q=h.handleServerHelloDone,S=h.handleFinished,K=[];K[h.ConnectionEnd.client]=[[t,t,h.handleServerHello,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,J,I,T,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,I,T,Q,t,t,t,t,t,t],[O,t,t, +t,t,t,t,t,t,t,t,t,t,T,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,Q,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,S],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[O,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t]];K[h.ConnectionEnd.server]=[[t,h.handleClientHello,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,J,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,h.handleClientKeyExchange,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,h.handleCertificateVerify, +t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,S],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t],[t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t,t]];h.generateKeys=function(a,c){var d=c.client_random+c.server_random;a.session.resuming||(c.master_secret=b(c.pre_master_secret,"master secret",d,48).bytes(),c.pre_master_secret=null);var d=c.server_random+c.client_random,g=2*c.mac_key_length+2*c.enc_key_length;(a=a.version.major===h.Versions.TLS_1_0.major&&a.version.minor=== +h.Versions.TLS_1_0.minor)&&(g+=2*c.fixed_iv_length);d=b(c.master_secret,"key expansion",d,g);g={client_write_MAC_key:d.getBytes(c.mac_key_length),server_write_MAC_key:d.getBytes(c.mac_key_length),client_write_key:d.getBytes(c.enc_key_length),server_write_key:d.getBytes(c.enc_key_length)};return a&&(g.client_write_IV=d.getBytes(c.fixed_iv_length),g.server_write_IV=d.getBytes(c.fixed_iv_length)),g};h.createConnectionState=function(a){var b=a.entity===h.ConnectionEnd.client,g=function(){var a={sequenceNumber:[0, +0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(a){return!0},compressionState:null,compressFunction:function(a){return!0},updateSequenceNumber:function(){4294967295===a.sequenceNumber[1]?(a.sequenceNumber[1]=0,++a.sequenceNumber[0]):++a.sequenceNumber[1]}};return a},f={read:g(),write:g()};f.read.update=function(a,b){return f.read.cipherFunction(b,f.read)?f.read.compressFunction(a,b,f.read)||a.error(a,{message:"Could not decompress record.",send:!0,alert:{level:h.Alert.Level.fatal, +description:h.Alert.Description.decompression_failure}}):a.error(a,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.bad_record_mac}}),!a.fail};f.write.update=function(a,b){return f.write.compressFunction(a,b,f.write)?f.write.cipherFunction(b,f.write)||a.error(a,{message:"Could not encrypt record.",send:!1,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.internal_error}}):a.error(a,{message:"Could not compress record.", +send:!1,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.internal_error}}),!a.fail};if(a.session)switch(g=a.session.sp,a.session.cipherSuite.initSecurityParameters(g),g.keys=h.generateKeys(a,g),f.read.macKey=b?g.keys.server_write_MAC_key:g.keys.client_write_MAC_key,f.write.macKey=b?g.keys.client_write_MAC_key:g.keys.server_write_MAC_key,a.session.cipherSuite.initConnectionState(f,a,g),g.compression_algorithm){case h.CompressionMethod.none:break;case h.CompressionMethod.deflate:f.read.compressFunction= +d;f.write.compressFunction=c;break;default:throw Error("Unsupported compression algorithm.");}return f};h.createRandom=function(){var b=new Date,b=+b+6E4*b.getTimezoneOffset(),c=a.util.createBuffer();return c.putInt32(b),c.putBytes(a.random.getBytes(28)),c};h.createRecord=function(a,b){return b.data?{type:b.type,version:{major:a.version.major,minor:a.version.minor},length:b.data.length(),fragment:b.data}:null};h.createAlert=function(b,c){var d=a.util.createBuffer();return d.putByte(c.level),d.putByte(c.description), +h.createRecord(b,{type:h.ContentType.alert,data:d})};h.createClientHello=function(b){b.session.clientHelloVersion={major:b.version.major,minor:b.version.minor};for(var c=a.util.createBuffer(),d=0;dh.MaxFragment;)d.push(h.createRecord(b,{type:c.type,data:a.util.createBuffer(g.slice(0,h.MaxFragment))})),g=g.slice(h.MaxFragment);0d?c=5-d:(k.record={type:b.getByte(),version:{major:b.getByte(),minor:b.getByte()},length:b.getInt16(),fragment:a.util.createBuffer(),ready:!1},(b=k.record.version.major===k.version.major)&&k.session&& +k.session.version&&(b=k.record.version.minor===k.version.minor),b||k.error(k,{message:"Incompatible TLS version.",send:!0,alert:{level:h.Alert.Level.fatal,description:h.Alert.Description.protocol_version}}))}if(!k.fail&&null!==k.record&&!k.record.ready){c=k;b=0;var d=c.input,g=d.length();g=k.Versions.TLS_1_1.minor&&c.output.putBytes(h),c.update(b.fragment),c.finish(d)&&(b.fragment=c.output,b.length=b.fragment.length(),g=!0),g}function d(a,b,c){c||(a-=b.length()%a,b.fillWithByte(a-1,a));return!0}function f(a,b,c){a= +!0;if(c){c=b.length();for(var d=b.last(),g=c-1-d;g=h?(b.fragment=g.output.getBytes(l-h),m=g.output.getBytes(h)):b.fragment=g.output.getBytes(); +b.fragment=a.util.createBuffer(b.fragment);b.length=b.fragment.length();b=c.macFunction(c.macKey,c.sequenceNumber,b);c.updateSequenceNumber();c=c.macKey;g=a.hmac.create();return d=(g.start("SHA1",c),g.update(m),m=g.digest().getBytes(),g.start(null,null),g.update(b),b=g.digest().getBytes(),m===b)&&d,d}var k=a.tls;k.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=k.BulkCipherAlgorithm.aes;a.cipher_type= +k.CipherType.block;a.enc_key_length=16;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm=k.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};k.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=k.BulkCipherAlgorithm.aes;a.cipher_type=k.CipherType.block;a.enc_key_length=32;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm= +k.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};var e=0}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.aesCipherSuites)return b.aesCipherSuites;b.defined.aesCipherSuites=!0;for(var g=0;g=e&&d=d&&fb.contentInfo.value.length)throw Error("Could not sign PKCS#7 message; there is no content to sign.");var h=q.derToOid(b.contentInfo.value[0].value),e=b.contentInfo.value[1],e=e.value[0],k=q.toDer(e);k.getByte();q.getBerValueLength(k);var k=k.getBytes(),m;for(m in c)c[m].start().update(k);m=new Date;for(e=0;e=this._config.preview;if(C)d.postMessage({results:a,workerId:w.WORKER_ID,finished:b}); +0,!0,[q.create(q.Class.UNIVERSAL,q.Type.OCTETSTRING,!1,c)]))}if(0!==b.signers.length){c={};for(var d=0;db.contentInfo.value.length)throw Error("Could not sign PKCS#7 message; there is no content to sign.");var k=q.derToOid(b.contentInfo.value[0].value),d=b.contentInfo.value[1],d=d.value[0],e=q.toDer(d);e.getByte();q.getBerValueLength(e);var e=e.getBytes(),m;for(m in c)c[m].start().update(e);m=new Date;for(d=0;d=this._config.preview;if(C)e.postMessage({results:a,workerId:w.WORKER_ID,finished:b}); else if(r(this._config.chunk)){this._config.chunk(a,this._handle);if(this._paused)return;this._completeResults=a=void 0}this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta);!b||!r(this._config.complete)||a&&a.meta.aborted||this._config.complete(this._completeResults);b||a&&a.meta.paused||this._nextChunk();return a}};this._sendError=function(a){r(this._config.error)? -this._config.error(a):C&&this._config.error&&d.postMessage({workerId:w.WORKER_ID,error:a,finished:!1})}}function b(b){b=b||{};b.chunkSize||(b.chunkSize=w.RemoteChunkSize);a.call(this,b);var c;this._nextChunk=v?function(){this._readChunk();this._chunkLoaded()}:function(){this._readChunk()};this.stream=function(a){this._input=a;this._nextChunk()};this._readChunk=function(){if(this._finished)this._chunkLoaded();else{c=new XMLHttpRequest;v||(c.onload=u(this._chunkLoaded,this),c.onerror=u(this._chunkError, -this));c.open("GET",this._input,!v);this._config.chunkSize&&(c.setRequestHeader("Range","bytes\x3d"+this._start+"-"+(this._start+this._config.chunkSize-1)),c.setRequestHeader("If-None-Match","webkit-no-cache"));try{c.send()}catch(z){this._chunkError(z.message)}v&&0==c.status?this._chunkError():this._start+=this._config.chunkSize}};this._chunkLoaded=function(){if(4==c.readyState)if(200>c.status||400<=c.status)this._chunkError();else{var a;if(!(a=!this._config.chunkSize)){a=this._start;var b;b=c.getResponseHeader("Content-Range"); -b=parseInt(b.substr(b.lastIndexOf("/")+1));a=a>b}this._finished=a;this.parseChunk(c.responseText)}};this._chunkError=function(a){this._sendError(c.statusText||a)}}function c(b){b=b||{};b.chunkSize||(b.chunkSize=w.LocalChunkSize);a.call(this,b);var c,e,f="undefined"!==typeof FileReader;this.stream=function(a){this._input=a;e=a.slice||a.webkitSlice||a.mozSlice;f?(c=new FileReader,c.onload=u(this._chunkLoaded,this),c.onerror=u(this._chunkError,this)):c=new FileReaderSync;this._nextChunk()};this._nextChunk= -function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size;this.parseChunk(a.target.result)}; -this._chunkError=function(){this._sendError(c.error)}}function e(b){b=b||{};a.call(this,b);var c;this.stream=function(a){c=a;return this._nextChunk()};this._nextChunk=function(){if(!this._finished){var a=this._config.chunkSize,b=a?c.substr(0,a):c;c=a?c.substr(a):"";this._finished=!c;return this.parseChunk(b)}}}function g(a){function b(){v&&n&&(c("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),n=!1);if(a.skipEmptyLines)for(var b= -0;b=u.length? -(f.__parsed_extra||(f.__parsed_extra=[]),f.__parsed_extra.push(v.data[b][d])):f[u[d]]=v.data[b][d])}a.header&&(v.data[b]=f,d>u.length?c("FieldMismatch","TooManyFields","Too many fields: expected "+u.length+" fields but parsed "+d,b):da.preview?h.abort():C(v,f)))}}this.parse=function(c,e,f){var d;if(!a.newline){var m;m=c.substr(0,1048576);m=m.split("\r");if(1==m.length)m="\n";else{for(var z=0,u=0;u=m.length/2?"\r\n":"\r"}a.newline=m}n=!1;if(!a.delimiter){m=[",","\t","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var r, -u=0;u=d)return I=I.slice(0,d),p(!0)}}return p()}for(var y=a.indexOf(b,h),T=a.indexOf(c,h);;)if('"'==a[h])for(y=h,h++;;){y=a.indexOf('"',y+1);if(-1===y)return l|| -A.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:I.length,index:h}),z();if(y===v-1)return G=a.substring(h,y).replace(/""/g,'"'),z(G);if('"'==a[y+1])y++;else{if(a[y+1]==b){t.push(a.substring(h,y).replace(/""/g,'"'));h=y+1+w;y=a.indexOf(b,h);T=a.indexOf(c,h);break}if(a.substr(y+1,C)===c){t.push(a.substring(h,y).replace(/""/g,'"'));u(y+1+C);y=a.indexOf(b,h);if(q&&(r(),k))return p();if(d&&I.length>=d)return p(!0);break}}}else if(e&&0===t.length&&a.substr(h,G)===e){if(-1== -T)return p();h=T+C;T=a.indexOf(c,h);y=a.indexOf(b,h)}else if(-1!==y&&(y=d)return p(!0)}else break;return z()};this.abort=function(){k=!0};this.getCharIndex=function(){return h}}function h(){var a=document.getElementsByTagName("script");return a.length?a[a.length-1].src:""}function k(a){var b=a.data;a=D[b.workerId];var c=!1;if(b.error)a.userError(b.error, -b.file);else if(b.results&&b.results.data){var e={abort:function(){c=!0;n(b.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:f,resume:f};if(r(a.userStep)){for(var d=0;dc.status||400<=c.status)this._chunkError();else{var a;if(!(a=!this._config.chunkSize)){a=this._start;var b;b=c.getResponseHeader("Content-Range"); +b=parseInt(b.substr(b.lastIndexOf("/")+1));a=a>b}this._finished=a;this.parseChunk(c.responseText)}};this._chunkError=function(a){this._sendError(c.statusText||a)}}function c(b){b=b||{};b.chunkSize||(b.chunkSize=w.LocalChunkSize);a.call(this,b);var c,d,g="undefined"!==typeof FileReader;this.stream=function(a){this._input=a;d=a.slice||a.webkitSlice||a.mozSlice;g?(c=new FileReader,c.onload=u(this._chunkLoaded,this),c.onerror=u(this._chunkError,this)):c=new FileReaderSync;this._nextChunk()};this._nextChunk= +function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size;this.parseChunk(a.target.result)}; +this._chunkError=function(){this._sendError(c.error)}}function d(b){b=b||{};a.call(this,b);var c;this.stream=function(a){c=a;return this._nextChunk()};this._nextChunk=function(){if(!this._finished){var a=this._config.chunkSize,b=a?c.substr(0,a):c;c=a?c.substr(a):"";this._finished=!c;return this.parseChunk(b)}}}function f(a){function b(){v&&n&&(c("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),n=!1);if(a.skipEmptyLines)for(var b= +0;b=u.length? +(g.__parsed_extra||(g.__parsed_extra=[]),g.__parsed_extra.push(v.data[b][f])):g[u[f]]=v.data[b][f])}a.header&&(v.data[b]=g,f>u.length?c("FieldMismatch","TooManyFields","Too many fields: expected "+u.length+" fields but parsed "+f,b):fa.preview?e.abort():C(v,g)))}}this.parse=function(c,d,g){var f;if(!a.newline){var m;m=c.substr(0,1048576);m=m.split("\r");if(1==m.length)m="\n";else{for(var B=0,u=0;u=m.length/2?"\r\n":"\r"}a.newline=m}n=!1;if(!a.delimiter){m=[",","\t","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var r, +u=0;u=f)return I=I.slice(0,f),p(!0)}}return p()}for(var y=a.indexOf(b,e),T=a.indexOf(c,e);;)if('"'==a[e])for(y=e,e++;;){y=a.indexOf('"',y+1);if(-1===y)return l|| +z.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:I.length,index:e}),B();if(y===v-1)return G=a.substring(e,y).replace(/""/g,'"'),B(G);if('"'==a[y+1])y++;else{if(a[y+1]==b){t.push(a.substring(e,y).replace(/""/g,'"'));e=y+1+w;y=a.indexOf(b,e);T=a.indexOf(c,e);break}if(a.substr(y+1,C)===c){t.push(a.substring(e,y).replace(/""/g,'"'));u(y+1+C);y=a.indexOf(b,e);if(q&&(r(),k))return p();if(f&&I.length>=f)return p(!0);break}}}else if(d&&0===t.length&&a.substr(e,G)===d){if(-1== +T)return p();e=T+C;T=a.indexOf(c,e);y=a.indexOf(b,e)}else if(-1!==y&&(y=f)return p(!0)}else break;return B()};this.abort=function(){k=!0};this.getCharIndex=function(){return e}}function h(){var a=document.getElementsByTagName("script");return a.length?a[a.length-1].src:""}function k(a){var b=a.data;a=D[b.workerId];var c=!1;if(b.error)a.userError(b.error, +b.file);else if(b.results&&b.results.data){var d={abort:function(){c=!0;n(b.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:g,resume:g};if(r(a.userStep)){for(var f=0;f/g,"\x26gt;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26apos;"):a}function c(a,b,c,e){for(var f=0;f/g,"\x26gt;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26apos;"):a}function c(a,b,c,d){for(var g=0;g>2],c+=chars[(d[a]&3)<<4|d[a+1]>>4],c+=chars[(d[a+1]&15)<<2|d[a+2]>>6],c+=chars[d[a+2]&63];2===b%3?c=c.substring(0,c.length-1)+"\x3d":1===b%3&&(c=c.substring(0,c.length-2)+"\x3d\x3d");return c}; -base64.decode=function(d){var a=.75*d.length,b=d.length,c=0,e,g,l,h;"\x3d"===d[d.length-1]&&(a--,"\x3d"===d[d.length-2]&&a--);for(var k=new ArrayBuffer(a),n=new Uint8Array(k),a=0;a>4,n[c++]=(g&15)<<4|l>>2,n[c++]=(l&3)<<6|h&63;return k}; -(function(d){function a(a,b,c){return b<=a&&a<=c}function b(a){if(void 0===a)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary");}function c(a){return 0<=a&&127>=a}function e(a){this.tokens=[].slice.call(a);this.tokens.reverse()}function g(a,b){if(a)throw TypeError("Decoder error");return b||65533}function l(a){throw TypeError("The code point "+a+" could not be encoded.");}function h(a){a=String(a).trim().toLowerCase();return Object.prototype.hasOwnProperty.call(R, -a)?R[a]:null}function k(a,b){return b?b[a]||null:null}function n(a,b){a=b.indexOf(a);return-1===a?null:a}function f(a){if(!("encoding-indexes"in d))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return d["encoding-indexes"][a]}function m(b){M=M||f("jis0208").map(function(b,c){return a(c,8272,8835)?null:b});return M.indexOf(b)}function p(a){var b=U=U||f("big5").map(function(a,b){return 5024>b?null:a});return 9552===a||9566===a||9569===a||9578===a||21313===a||21317=== -a?b.lastIndexOf(a):n(a,b)}function u(a,c){if(!(this instanceof u))throw TypeError("Called as a function. Did you forget 'new'?");a=void 0!==a?String(a):"utf-8";c=b(c);this._decoder=this._encoding=null;this._BOMseen=this._ignoreBOM=!1;this._error_mode="replacement";this._do_not_flush=!1;var e=h(a);if(null===e||"replacement"===e.name)throw RangeError("Unknown encoding: "+a);if(!H[e.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=e;c.fatal&& +base64.encode=function(e){e=new Uint8Array(e);var a,b=e.length,c="";for(a=0;a>2],c+=chars[(e[a]&3)<<4|e[a+1]>>4],c+=chars[(e[a+1]&15)<<2|e[a+2]>>6],c+=chars[e[a+2]&63];2===b%3?c=c.substring(0,c.length-1)+"\x3d":1===b%3&&(c=c.substring(0,c.length-2)+"\x3d\x3d");return c}; +base64.decode=function(e){var a=.75*e.length,b=e.length,c=0,d,f,l,h;"\x3d"===e[e.length-1]&&(a--,"\x3d"===e[e.length-2]&&a--);for(var k=new ArrayBuffer(a),n=new Uint8Array(k),a=0;a>4,n[c++]=(f&15)<<4|l>>2,n[c++]=(l&3)<<6|h&63;return k}; +(function(e){function a(a,b,c){return b<=a&&a<=c}function b(a){if(void 0===a)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary");}function c(a){return 0<=a&&127>=a}function d(a){this.tokens=[].slice.call(a);this.tokens.reverse()}function f(a,b){if(a)throw TypeError("Decoder error");return b||65533}function l(a){throw TypeError("The code point "+a+" could not be encoded.");}function h(a){a=String(a).trim().toLowerCase();return Object.prototype.hasOwnProperty.call(R, +a)?R[a]:null}function k(a,b){return b?b[a]||null:null}function n(a,b){a=b.indexOf(a);return-1===a?null:a}function g(a){if(!("encoding-indexes"in e))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return e["encoding-indexes"][a]}function m(b){M=M||g("jis0208").map(function(b,c){return a(c,8272,8835)?null:b});return M.indexOf(b)}function p(a){var b=U=U||g("big5").map(function(a,b){return 5024>b?null:a});return 9552===a||9566===a||9569===a||9578===a||21313===a||21317=== +a?b.lastIndexOf(a):n(a,b)}function u(a,c){if(!(this instanceof u))throw TypeError("Called as a function. Did you forget 'new'?");a=void 0!==a?String(a):"utf-8";c=b(c);this._decoder=this._encoding=null;this._BOMseen=this._ignoreBOM=!1;this._error_mode="replacement";this._do_not_flush=!1;var d=h(a);if(null===d||"replacement"===d.name)throw RangeError("Unknown encoding: "+a);if(!H[d.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=d;c.fatal&& (this._error_mode="fatal");c.ignoreBOM&&(this._ignoreBOM=!0);Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase(),this.fatal="fatal"===this._error_mode,this.ignoreBOM=this._ignoreBOM);return this}function r(a,c){if(!(this instanceof r))throw TypeError("Called as a function. Did you forget 'new'?");c=b(c);this._encoder=this._encoding=null;this._do_not_flush=!1;this._fatal=c.fatal?"fatal":"replacement";if(c.NONSTANDARD_allowLegacyEncoding){a=void 0!==a?String(a):"utf-8";c=h(a);if(null=== -c||"replacement"===c.name)throw RangeError("Unknown encoding: "+a);if(!P[c.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=c}else this._encoding=h("utf-8"),void 0!==a&&"console"in d&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase());return this}function v(b){var c=b.fatal,e=0,f=0,d=0,h=128,k=191;this.handler=function(b,m){if(-1=== -m&&0!==d)return d=0,g(c);if(-1===m)return-1;if(0===d){if(a(m,0,127))return m;if(a(m,194,223))d=1,e=m&31;else if(a(m,224,239))224===m&&(h=160),237===m&&(k=159),d=2,e=m&15;else if(a(m,240,244))240===m&&(h=144),244===m&&(k=143),d=3,e=m&7;else return g(c);return null}if(!a(m,h,k))return e=d=f=0,h=128,k=191,b.prepend(m),g(c);h=128;k=191;e=e<<6|m&63;f+=1;if(f!==d)return null;b=e;e=d=f=0;return b}}function C(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;var e,f;a(c,128,2047)?(e=1,f=192): -a(c,2048,65535)?(e=2,f=224):a(c,65536,1114111)&&(e=3,f=240);for(b=[(c>>6*e)+f];0>6*(e-1)&63),--e;return b}}function q(a,b){var e=b.fatal;this.handler=function(b,f){if(-1===f)return-1;if(c(f))return f;b=a[f-128];return null===b?g(e):b}}function A(a,b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;b=n(c,a);null===b&&l(c);return b+128}}function D(b){var e=b.fatal,d=0,h=0,m=0;this.handler=function(b,l){if(-1===l&&0===d&&0===h&&0===m)return-1;-1!==l||0===d&&0===h&&0=== -m||(m=h=d=0,g(e));var n;if(0!==m){n=null;if(a(l,48,57))if(n=10*(126*(10*(d-129)+h-48)+m-129)+l-48,39419n||1237575l?64:65;if(a(l,64,126)||a(l,128, -254))z=190*(n-129)+(l-p);n=null===z?null:k(z,f("gb18030"));null===n&&c(l)&&b.prepend(l);return null===n?g(e):n}return c(l)?l:128===l?8364:a(l,129,254)?(d=l,null):g(e)}}function x(a,b){this.handler=function(a,c){if(-1===c)return-1;if(K(c))return c;if(58853===c)return l(c);if(b&&8364===c)return 128;a=n(c,f("gb18030"));if(null!==a)return c=S(a/190)+129,a%=190,[c,a+(63>a?64:65)];if(b)return l(c);if(59335===c)a=7457;else{var e=a=0,d=f("gb18030-ranges"),g;for(g=0;gh?64:98;if(a(h,64,126)||a(h,161,254))l=157*(m-129)+(h-n);switch(l){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}m=null===l?null:k(l,f("big5"));null===m&&c(h)&& -b.prepend(h);return null===m?g(e):m}return c(h)?h:a(h,129,254)?(d=h,null):g(e)}}function y(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;var c=p(b);if(null===c)return l(b);a=S(c/157)+129;if(161>a)return l(b);b=c%157;return[a,b+(63>b?64:98)]}}function B(b){var e=b.fatal,d=!1,h=0;this.handler=function(b,m){if(-1===m&&0!==h)return h=0,g(e);if(-1===m&&0===h)return-1;if(142===h&&a(m,161,223))return h=0,65216+m;if(143===h&&a(m,161,254))return d=!0,h=m,null;if(0!==h){var l=h;h=0;var n= -null;a(l,161,254)&&a(m,161,254)&&(n=k(94*(l-161)+(m-161),f(d?"jis0212":"jis0208")));d=!1;a(m,161,254)||b.prepend(m);return null===n?g(e):n}return c(m)?m:142===m||143===m||a(m,161,254)?(h=m,null):g(e)}}function F(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return[142,c-65377+161];8722===c&&(c=65293);b=n(c,f("jis0208"));return null===b?l(c):[S(b/94)+161,b%94+161]}}function z(b){var c=b.fatal,e=0,d=0,h=!1;this.handler= -function(b,m){switch(e){default:case 0:if(27===m)return e=5,null;if(a(m,0,127)&&14!==m&&15!==m&&27!==m)return h=!1,m;if(-1===m)return-1;h=!1;return g(c);case 1:if(27===m)return e=5,null;if(92===m)return h=!1,165;if(126===m)return h=!1,8254;if(a(m,0,127)&&14!==m&&15!==m&&27!==m&&92!==m&&126!==m)return h=!1,m;if(-1===m)return-1;h=!1;return g(c);case 2:if(27===m)return e=5,null;if(a(m,33,95))return h=!1,65344+m;if(-1===m)return-1;h=!1;return g(c);case 3:if(27===m)return e=5,null;if(a(m,33,126))return h= -!1,d=m,e=4,null;if(-1===m)return-1;h=!1;return g(c);case 4:if(27===m)return e=5,g(c);if(a(m,33,126))return e=3,b=k(94*(d-33)+m-33,f("jis0208")),null===b?g(c):b;if(-1===m)return e=3,b.prepend(m),g(c);e=3;return g(c);case 5:if(36===m||40===m)return d=m,e=6,null;b.prepend(m);h=!1;e=0;return g(c);case 6:var l=d;d=0;var n=null;40===l&&66===m&&(n=0);40===l&&74===m&&(n=1);40===l&&73===m&&(n=2);36!==l||64!==m&&66!==m||(n=3);if(null!==n)return e=e=n,b=h,h=!0,b?g(c):null;b.prepend([l,m]);h=!1;e=0;return g(c)}}} -function G(a){var b=0;this.handler=function(a,c){if(-1===c&&0!==b)return a.prepend(c),b=0,[27,40,66];if(-1===c&&0===b)return-1;if(!(0!==b&&1!==b||14!==c&&15!==c&&27!==c))return l(65533);if(0===b&&K(c))return c;if(1===b&&(K(c)&&92!==c&&126!==c||165==c||8254==c)){if(K(c))return c;if(165===c)return 92;if(8254===c)return 126}if(K(c)&&0!==b)return a.prepend(c),b=0,[27,40,66];if((165===c||8254===c)&&1!==b)return a.prepend(c),b=1,[27,40,74];8722===c&&(c=65293);var e=n(c,f("jis0208"));return null===e?l(c): -2!==b?(a.prepend(c),b=2,[27,36,66]):[S(e/94)+33,e%94+33]}}function E(b){var e=b.fatal,d=0;this.handler=function(b,h){if(-1===h&&0!==d)return d=0,g(e);if(-1===h&&0===d)return-1;if(0!==d){var m=d,l=null;d=0;var n=127>h?64:65,z=160>m?129:193;if(a(h,64,126)||a(h,128,252))l=188*(m-z)+h-n;if(a(l,8836,10715))return 48508+l;m=null===l?null:k(l,f("jis0208"));null===m&&c(h)&&b.prepend(h);return null===m?g(e):m}return c(h)||128===h?h:a(h,161,223)?65216+h:a(h,129,159)||a(h,224,252)?(d=h,null):g(e)}}function L(b){this.handler= -function(b,c){if(-1===c)return-1;if(K(c)||128===c)return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return c-65377+161;8722===c&&(c=65293);b=m(c);if(null===b)return l(c);c=S(b/188);b%=188;return[c+(31>c?129:193),b+(63>b?64:65)]}}function t(b){var e=b.fatal,d=0;this.handler=function(b,h){if(-1===h&&0!==d)return d=0,g(e);if(-1===h&&0===d)return-1;if(0!==d){var m=d,l=null;d=0;a(h,65,254)&&(l=190*(m-129)+(h-65));m=null===l?null:k(l,f("euc-kr"));null===l&&c(h)&&b.prepend(h);return null=== -m?g(e):m}return c(h)?h:a(h,129,254)?(d=h,null):g(e)}}function O(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;a=n(b,f("euc-kr"));return null===a?l(b):[S(a/190)+129,a%190+65]}}function J(a,b){var c=a>>8;a&=255;return b?[c,a]:[a,c]}function I(b,c){var e=c.fatal,f=null,d=null;this.handler=function(c,h){if(-1===h&&(null!==f||null!==d))return g(e);if(-1===h&&null===f&&null===d)return-1;if(null===f)return f=h,null;h=b?(f<<8)+h:(h<<8)+f;f=null;if(null!==d){var k=d;d=null;if(a(h,56320, -57343))return 65536+1024*(k-55296)+(h-56320);c.prepend(J(h,b));return g(e)}return a(h,55296,56319)?(d=h,null):a(h,56320,57343)?g(e):h}}function T(b,c){this.handler=function(c,e){if(-1===e)return-1;if(a(e,0,65535))return J(e,b);c=J((e-65536>>10)+55296,b);e=J((e-65536&1023)+56320,b);return c.concat(e)}}function Q(a){this.handler=function(a,b){return-1===b?-1:c(b)?b:63360+b-128};project}function ea(b){this.handler=function(b,c){return-1===c?-1:K(c)?c:a(c,63360,63487)?c-63360+128:l(c)}}"undefined"!== -typeof module&&module.exports&&!d["encoding-indexes"]&&(d["encoding-indexes"]=require("./encoding-indexes.js")["encoding-indexes"]);var S=Math.floor,K=c;e.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():-1},prepend:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.push(a.pop());else this.tokens.push(a)},push:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.unshift(a.shift());else this.tokens.unshift(a)}};var N= +c||"replacement"===c.name)throw RangeError("Unknown encoding: "+a);if(!P[c.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=c}else this._encoding=h("utf-8"),void 0!==a&&"console"in e&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase());return this}function v(b){var c=b.fatal,d=0,g=0,h=0,e=128,k=191;this.handler=function(b,m){if(-1=== +m&&0!==h)return h=0,f(c);if(-1===m)return-1;if(0===h){if(a(m,0,127))return m;if(a(m,194,223))h=1,d=m&31;else if(a(m,224,239))224===m&&(e=160),237===m&&(k=159),h=2,d=m&15;else if(a(m,240,244))240===m&&(e=144),244===m&&(k=143),h=3,d=m&7;else return f(c);return null}if(!a(m,e,k))return d=h=g=0,e=128,k=191,b.prepend(m),f(c);e=128;k=191;d=d<<6|m&63;g+=1;if(g!==h)return null;b=d;d=h=g=0;return b}}function C(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;var d,g;a(c,128,2047)?(d=1,g=192): +a(c,2048,65535)?(d=2,g=224):a(c,65536,1114111)&&(d=3,g=240);for(b=[(c>>6*d)+g];0>6*(d-1)&63),--d;return b}}function q(a,b){var d=b.fatal;this.handler=function(b,g){if(-1===g)return-1;if(c(g))return g;b=a[g-128];return null===b?f(d):b}}function z(a,b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;b=n(c,a);null===b&&l(c);return b+128}}function D(b){var d=b.fatal,h=0,e=0,m=0;this.handler=function(b,l){if(-1===l&&0===h&&0===e&&0===m)return-1;-1!==l||0===h&&0===e&&0=== +m||(m=e=h=0,f(d));var n;if(0!==m){n=null;if(a(l,48,57))if(n=10*(126*(10*(h-129)+e-48)+m-129)+l-48,39419n||1237575l?64:65;if(a(l,64,126)||a(l,128, +254))B=190*(n-129)+(l-u);n=null===B?null:k(B,g("gb18030"));null===n&&c(l)&&b.prepend(l);return null===n?f(d):n}return c(l)?l:128===l?8364:a(l,129,254)?(h=l,null):f(d)}}function x(a,b){this.handler=function(a,c){if(-1===c)return-1;if(K(c))return c;if(58853===c)return l(c);if(b&&8364===c)return 128;a=n(c,g("gb18030"));if(null!==a)return c=S(a/190)+129,a%=190,[c,a+(63>a?64:65)];if(b)return l(c);if(59335===c)a=7457;else{var d=a=0,f=g("gb18030-ranges"),h;for(h=0;he?64:98;if(a(e,64,126)||a(e,161,254))l=157*(m-129)+(e-n);switch(l){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}m=null===l?null:k(l,g("big5"));null===m&&c(e)&& +b.prepend(e);return null===m?f(d):m}return c(e)?e:a(e,129,254)?(h=e,null):f(d)}}function y(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;var c=p(b);if(null===c)return l(b);a=S(c/157)+129;if(161>a)return l(b);b=c%157;return[a,b+(63>b?64:98)]}}function A(b){var d=b.fatal,h=!1,e=0;this.handler=function(b,m){if(-1===m&&0!==e)return e=0,f(d);if(-1===m&&0===e)return-1;if(142===e&&a(m,161,223))return e=0,65216+m;if(143===e&&a(m,161,254))return h=!0,e=m,null;if(0!==e){var l=e;e=0;var n= +null;a(l,161,254)&&a(m,161,254)&&(n=k(94*(l-161)+(m-161),g(h?"jis0212":"jis0208")));h=!1;a(m,161,254)||b.prepend(m);return null===n?f(d):n}return c(m)?m:142===m||143===m||a(m,161,254)?(e=m,null):f(d)}}function F(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return[142,c-65377+161];8722===c&&(c=65293);b=n(c,g("jis0208"));return null===b?l(c):[S(b/94)+161,b%94+161]}}function B(b){var c=b.fatal,d=0,h=0,e=!1;this.handler= +function(b,m){switch(d){default:case 0:if(27===m)return d=5,null;if(a(m,0,127)&&14!==m&&15!==m&&27!==m)return e=!1,m;if(-1===m)return-1;e=!1;return f(c);case 1:if(27===m)return d=5,null;if(92===m)return e=!1,165;if(126===m)return e=!1,8254;if(a(m,0,127)&&14!==m&&15!==m&&27!==m&&92!==m&&126!==m)return e=!1,m;if(-1===m)return-1;e=!1;return f(c);case 2:if(27===m)return d=5,null;if(a(m,33,95))return e=!1,65344+m;if(-1===m)return-1;e=!1;return f(c);case 3:if(27===m)return d=5,null;if(a(m,33,126))return e= +!1,h=m,d=4,null;if(-1===m)return-1;e=!1;return f(c);case 4:if(27===m)return d=5,f(c);if(a(m,33,126))return d=3,b=k(94*(h-33)+m-33,g("jis0208")),null===b?f(c):b;if(-1===m)return d=3,b.prepend(m),f(c);d=3;return f(c);case 5:if(36===m||40===m)return h=m,d=6,null;b.prepend(m);e=!1;d=0;return f(c);case 6:var l=h;h=0;var n=null;40===l&&66===m&&(n=0);40===l&&74===m&&(n=1);40===l&&73===m&&(n=2);36!==l||64!==m&&66!==m||(n=3);if(null!==n)return d=d=n,b=e,e=!0,b?f(c):null;b.prepend([l,m]);e=!1;d=0;return f(c)}}} +function G(a){var b=0;this.handler=function(a,c){if(-1===c&&0!==b)return a.prepend(c),b=0,[27,40,66];if(-1===c&&0===b)return-1;if(!(0!==b&&1!==b||14!==c&&15!==c&&27!==c))return l(65533);if(0===b&&K(c))return c;if(1===b&&(K(c)&&92!==c&&126!==c||165==c||8254==c)){if(K(c))return c;if(165===c)return 92;if(8254===c)return 126}if(K(c)&&0!==b)return a.prepend(c),b=0,[27,40,66];if((165===c||8254===c)&&1!==b)return a.prepend(c),b=1,[27,40,74];8722===c&&(c=65293);var d=n(c,g("jis0208"));return null===d?l(c): +2!==b?(a.prepend(c),b=2,[27,36,66]):[S(d/94)+33,d%94+33]}}function E(b){var d=b.fatal,h=0;this.handler=function(b,e){if(-1===e&&0!==h)return h=0,f(d);if(-1===e&&0===h)return-1;if(0!==h){var m=h,l=null;h=0;var n=127>e?64:65,B=160>m?129:193;if(a(e,64,126)||a(e,128,252))l=188*(m-B)+e-n;if(a(l,8836,10715))return 48508+l;m=null===l?null:k(l,g("jis0208"));null===m&&c(e)&&b.prepend(e);return null===m?f(d):m}return c(e)||128===e?e:a(e,161,223)?65216+e:a(e,129,159)||a(e,224,252)?(h=e,null):f(d)}}function L(b){this.handler= +function(b,c){if(-1===c)return-1;if(K(c)||128===c)return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return c-65377+161;8722===c&&(c=65293);b=m(c);if(null===b)return l(c);c=S(b/188);b%=188;return[c+(31>c?129:193),b+(63>b?64:65)]}}function t(b){var d=b.fatal,h=0;this.handler=function(b,e){if(-1===e&&0!==h)return h=0,f(d);if(-1===e&&0===h)return-1;if(0!==h){var m=h,l=null;h=0;a(e,65,254)&&(l=190*(m-129)+(e-65));m=null===l?null:k(l,g("euc-kr"));null===l&&c(e)&&b.prepend(e);return null=== +m?f(d):m}return c(e)?e:a(e,129,254)?(h=e,null):f(d)}}function O(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;a=n(b,g("euc-kr"));return null===a?l(b):[S(a/190)+129,a%190+65]}}function J(a,b){var c=a>>8;a&=255;return b?[c,a]:[a,c]}function I(b,c){var d=c.fatal,g=null,h=null;this.handler=function(c,e){if(-1===e&&(null!==g||null!==h))return f(d);if(-1===e&&null===g&&null===h)return-1;if(null===g)return g=e,null;e=b?(g<<8)+e:(e<<8)+g;g=null;if(null!==h){var k=h;h=null;if(a(e,56320, +57343))return 65536+1024*(k-55296)+(e-56320);c.prepend(J(e,b));return f(d)}return a(e,55296,56319)?(h=e,null):a(e,56320,57343)?f(d):e}}function T(b,c){this.handler=function(c,d){if(-1===d)return-1;if(a(d,0,65535))return J(d,b);c=J((d-65536>>10)+55296,b);d=J((d-65536&1023)+56320,b);return c.concat(d)}}function Q(a){this.handler=function(a,b){return-1===b?-1:c(b)?b:63360+b-128};project}function ea(b){this.handler=function(b,c){return-1===c?-1:K(c)?c:a(c,63360,63487)?c-63360+128:l(c)}}"undefined"!== +typeof module&&module.exports&&!e["encoding-indexes"]&&(e["encoding-indexes"]=require("./encoding-indexes.js")["encoding-indexes"]);var S=Math.floor,K=c;d.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():-1},prepend:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.push(a.pop());else this.tokens.push(a)},push:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.unshift(a.shift());else this.tokens.unshift(a)}};var N= [{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:"csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2".split(" "),name:"ISO-8859-2"},{labels:"csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3".split(" "),name:"ISO-8859-3"},{labels:"csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4".split(" "), name:"ISO-8859-4"},{labels:"csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988".split(" "),name:"ISO-8859-5"},{labels:"arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987".split(" "),name:"ISO-8859-6"},{labels:"csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7 iso_8859-7:1987 sun_eu_greek".split(" "), name:"ISO-8859-7"},{labels:"csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8 iso_8859-8:1988 visual".split(" "),name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:"csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6".split(" "),name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:"csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9".split(" "), @@ -649,462 +649,462 @@ name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows- "euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:"csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis".split(" "),name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:"cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601 windows-949".split(" "),name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312", "iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],R={};N.forEach(function(a){a.encodings.forEach(function(a){a.labels.forEach(function(b){R[b]=a})})});var P={},H={},M,U;Object.defineProperty&&(Object.defineProperty(u.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(u.prototype, "fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(u.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}}));u.prototype.decode=function(a,c){a="object"===typeof a&&a instanceof ArrayBuffer?new Uint8Array(a):"object"===typeof a&&"buffer"in a&&a.buffer instanceof ArrayBuffer?new Uint8Array(a.buffer,a.byteOffset,a.byteLength):new Uint8Array(0);c=b(c);this._do_not_flush||(this._decoder=H[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1); -this._do_not_flush=!!c.stream;a=new e(a);c=[];for(var f;;){f=a.read();if(-1===f)break;f=this._decoder.handler(a,f);if(-1===f)break;null!==f&&(Array.isArray(f)?c.push.apply(c,f):c.push(f))}if(!this._do_not_flush){do{f=this._decoder.handler(a,a.read());if(-1===f)break;null!==f&&(Array.isArray(f)?c.push.apply(c,f):c.push(f))}while(!a.endOfStream());this._decoder=null}-1===["UTF-8","UTF-16LE","UTF-16BE"].indexOf(this._encoding.name)||this._ignoreBOM||this._BOMseen||(0=d?a+=String.fromCharCode(d):(d-=65536,a+=String.fromCharCode((d>>10)+55296,(d&1023)+56320))}return a};Object.defineProperty&&Object.defineProperty(r.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}});r.prototype.encode=function(a,c){a=void 0===a?"":String(a);c=b(c);this._do_not_flush||(this._encoder=P[this._encoding.name]({fatal:"fatal"===this._fatal}));this._do_not_flush=!!c.stream; -a=String(a);c=a.length;for(var f=0,d=[];fg||57343=g)d.push(65533);else if(55296<=g&&56319>=g)if(f===c-1)d.push(65533);else{var h=a.charCodeAt(f+1);56320<=h&&57343>=h?(d.push(65536+((g&1023)<<10)+(h&1023)),f+=1):d.push(65533)}f+=1}a=new e(d);for(c=[];;){f=a.read();if(-1===f)break;f=this._encoder.handler(a,f);if(-1===f)break;Array.isArray(f)?c.push.apply(c,f):c.push(f)}if(!this._do_not_flush){for(;;){f=this._encoder.handler(a, -a.read());if(-1===f)break;Array.isArray(f)?c.push.apply(c,f):c.push(f)}this._encoder=null}return new Uint8Array(c)};P["UTF-8"]=function(a){return new C(a)};H["UTF-8"]=function(a){return new v(a)};(function(){"encoding-indexes"in d&&N.forEach(function(a){"Legacy single-byte encodings"===a.heading&&a.encodings.forEach(function(a){a=a.name;var b=f(a.toLowerCase());H[a]=function(a){return new q(b,a)};P[a]=function(a){return new A(b,a)}})})})();H.GBK=function(a){return new D(a)};P.GBK=function(a){return new x(a, -!0)};P.gb18030=function(a){return new x(a)};H.gb18030=function(a){return new D(a)};P.Big5=function(a){return new y(a)};H.Big5=function(a){return new w(a)};P["EUC-JP"]=function(a){return new F(a)};H["EUC-JP"]=function(a){return new B(a)};P["ISO-2022-JP"]=function(a){return new G(a)};H["ISO-2022-JP"]=function(a){return new z(a)};P.Shift_JIS=function(a){return new L(a)};H.Shift_JIS=function(a){return new E(a)};P["EUC-KR"]=function(a){return new O(a)};H["EUC-KR"]=function(a){return new t(a)};P["UTF-16BE"]= -function(a){return new T(!0,a)};H["UTF-16BE"]=function(a){return new I(!0,a)};P["UTF-16LE"]=function(a){return new T(!1,a)};H["UTF-16LE"]=function(a){return new I(!1,a)};P["x-user-defined"]=function(a){return new ea(a)};H["x-user-defined"]=function(a){return new Q(a)};d.TextEncoder||(d.TextEncoder=r);d.TextDecoder||(d.TextDecoder=u);"undefined"!==typeof module&&module.exports&&(module.exports={TextEncoder:d.TextEncoder,TextDecoder:d.TextDecoder,EncodingIndexes:d["encoding-indexes"]})})(this||{}); -(function e$jscomp$0(a,b,c){function e(h,k){if(!b[h]){if(!a[h]){var l="function"==typeof require&&require;if(!k&&l)return l(h,!0);if(g)return g(h,!0);k=Error("Cannot find module '"+h+"'");throw k.code="MODULE_NOT_FOUND",k;}k=b[h]={exports:{}};a[h][0].call(k.exports,function(b){var c=a[h][1][b];return e(c?c:b)},k,k.exports,e$jscomp$0,a,b,c)}return b[h].exports}for(var g="function"==typeof require&&require,l=0;l=b.cmp(d)||0<=b.cmp(k));k=a;d=f;b=b.toRed(e.red(d)).redPow(k).fromRed();for(k=g;0!==b.cmp(l);)k=b,b=b.mul(b).mod(d);b=0===k.cmp(d.sub(l))?g:k}while(0===b.cmp(g));a=b.sub(l).gcd(f);return{p:a,q:f.div(a)}}},{"asn1.js":5,crypto:74}],4:[function(d,a,b){(function(b){function c(a){return b(a,"hex").toString("base64").replace(/\+/g, -"-").replace(/\//g,"_").replace(/=/g,"")}function g(a,b){b=b||{};Object.keys(b).forEach(function(c){a[c]=b[c]});return a}function l(a){return 1===a.length%2?"0"+a:a}function h(a,b){a=q.decode(a,"der");var e=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(e)};return g(a,b)}function k(a,b){a=y.decode(a,"der");var e=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(e),d:p(a.d),p:p(a.p),q:p(a.q),dp:p(a.dp),dq:p(a.dq),qi:p(a.qi)};return g(a,b)}function n(a,b){a=D.decode(a,"der");return h(a.publicKey.data,b)} -function f(a,b){a=B.decode(a,"der");return k(a.privateKey.data,b)}function m(a){a=/^-----BEGIN (RSA )?(PUBLIC|PRIVATE) KEY-----$/.exec(a);if(!a)return null;var b=!!a[1];return"PRIVATE"===a[2]?b?k:f:b?h:n}function p(a){return c(l(a.toString(16)))}function u(a){return/^[0-9]+$/.test(a)?new r.bignum(a,10):new r.bignum(b(a,"base64"))}var r=d("asn1.js"),v=d("./factor"),C=new r.bignum(1),q=r.define("RSAPublicKey",function(){this.seq().obj(this.key("n").int(),this.key("e").int())}),A=r.define("AlgorithmIdentifier", -function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())}),D=r.define("PublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("publicKey").bitstr())}),x=r.define("Version",function(){this.int({0:"two-prime",1:"multi"})}),w=r.define("OtherPrimeInfos",function(){this.seq().obj(this.key("ri").int(),this.key("di").int(),this.key("ti").int())}),y=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").use(x),this.key("n").int(), -this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int(),this.key("other").optional().use(w))}),B=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").use(x),this.key("algorithm").use(A),this.key("privateKey").bitstr())});a.exports={pem2jwk:function(a,c){a=a.toString().split(/(\r\n|\r|\n)+/g);a=a.filter(function(a){return 0!==a.trim().length});var e=m(a[0]);a=a.slice(1,-1).join("");return e(new b(a.replace(/[^\w\d\+\/=]+/g, -""),"base64"),c)},jwk2pem:function(a){var c;c={n:u(a.n),e:u(a.e),d:a.d&&u(a.d),p:a.p&&u(a.p),q:a.q&&u(a.q),dp:a.dp&&u(a.dp),dq:a.dq&&u(a.dq),qi:a.qi&&u(a.qi)};var e=!!c.d,f=e?"PRIVATE":"PUBLIC";a="-----BEGIN RSA "+f+" KEY-----\n";f="\n-----END RSA "+f+" KEY-----\n";b(0);if(e){if(!c.p){var d=v(c.e,c.d,c.n),e=d.p,d=d.q,g=c.d.mod(e.sub(C)),h=c.d.mod(d.sub(C)),k=d.invm(e);c={n:c.n,e:c.e,d:c.d,p:e,q:d,dp:g,dq:h,qi:k}}c.version="two-prime";c=y.encode(c,"der")}else c=q.encode(c,"der");c=c.toString("base64").match(/.{1,64}/g).join("\n"); -return a+c+f},BN:r.bignum}}).call(this,d("buffer").Buffer)},{"./factor":3,"asn1.js":5,buffer:65}],5:[function(d,a,b){b.bignum=d("bn.js");b.define=d("./asn1/api").define;b.base=d("./asn1/base");b.constants=d("./asn1/constants");b.decoders=d("./asn1/decoders");b.encoders=d("./asn1/encoders")},{"./asn1/api":6,"./asn1/base":8,"./asn1/constants":12,"./asn1/decoders":14,"./asn1/encoders":16,"bn.js":17}],6:[function(d,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var e=d("../asn1"), -g=d("inherits"),l=d("vm");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b=l.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");g(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder= -function(a){this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":5,inherits:1,vm:172}],7:[function(d,a,b){function c(a,b){g.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){a instanceof e||(a=new e(a,b));this.length+=a.length; -return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=d("inherits");var g=d("../base").Reporter,l=d("buffer").Buffer;a(c,g);b.DecoderBuffer=c;c.prototype.save=function(){return{offset:this.offset}};c.prototype.restore=function(a){var b=new c(this.base); +this._do_not_flush=!!c.stream;a=new d(a);c=[];for(var g;;){g=a.read();if(-1===g)break;g=this._decoder.handler(a,g);if(-1===g)break;null!==g&&(Array.isArray(g)?c.push.apply(c,g):c.push(g))}if(!this._do_not_flush){do{g=this._decoder.handler(a,a.read());if(-1===g)break;null!==g&&(Array.isArray(g)?c.push.apply(c,g):c.push(g))}while(!a.endOfStream());this._decoder=null}-1===["UTF-8","UTF-16LE","UTF-16BE"].indexOf(this._encoding.name)||this._ignoreBOM||this._BOMseen||(0=f?a+=String.fromCharCode(f):(f-=65536,a+=String.fromCharCode((f>>10)+55296,(f&1023)+56320))}return a};Object.defineProperty&&Object.defineProperty(r.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}});r.prototype.encode=function(a,c){a=void 0===a?"":String(a);c=b(c);this._do_not_flush||(this._encoder=P[this._encoding.name]({fatal:"fatal"===this._fatal}));this._do_not_flush=!!c.stream; +a=String(a);c=a.length;for(var g=0,f=[];gh||57343=h)f.push(65533);else if(55296<=h&&56319>=h)if(g===c-1)f.push(65533);else{var e=a.charCodeAt(g+1);56320<=e&&57343>=e?(f.push(65536+((h&1023)<<10)+(e&1023)),g+=1):f.push(65533)}g+=1}a=new d(f);for(c=[];;){g=a.read();if(-1===g)break;g=this._encoder.handler(a,g);if(-1===g)break;Array.isArray(g)?c.push.apply(c,g):c.push(g)}if(!this._do_not_flush){for(;;){g=this._encoder.handler(a, +a.read());if(-1===g)break;Array.isArray(g)?c.push.apply(c,g):c.push(g)}this._encoder=null}return new Uint8Array(c)};P["UTF-8"]=function(a){return new C(a)};H["UTF-8"]=function(a){return new v(a)};(function(){"encoding-indexes"in e&&N.forEach(function(a){"Legacy single-byte encodings"===a.heading&&a.encodings.forEach(function(a){a=a.name;var b=g(a.toLowerCase());H[a]=function(a){return new q(b,a)};P[a]=function(a){return new z(b,a)}})})})();H.GBK=function(a){return new D(a)};P.GBK=function(a){return new x(a, +!0)};P.gb18030=function(a){return new x(a)};H.gb18030=function(a){return new D(a)};P.Big5=function(a){return new y(a)};H.Big5=function(a){return new w(a)};P["EUC-JP"]=function(a){return new F(a)};H["EUC-JP"]=function(a){return new A(a)};P["ISO-2022-JP"]=function(a){return new G(a)};H["ISO-2022-JP"]=function(a){return new B(a)};P.Shift_JIS=function(a){return new L(a)};H.Shift_JIS=function(a){return new E(a)};P["EUC-KR"]=function(a){return new O(a)};H["EUC-KR"]=function(a){return new t(a)};P["UTF-16BE"]= +function(a){return new T(!0,a)};H["UTF-16BE"]=function(a){return new I(!0,a)};P["UTF-16LE"]=function(a){return new T(!1,a)};H["UTF-16LE"]=function(a){return new I(!1,a)};P["x-user-defined"]=function(a){return new ea(a)};H["x-user-defined"]=function(a){return new Q(a)};e.TextEncoder||(e.TextEncoder=r);e.TextDecoder||(e.TextDecoder=u);"undefined"!==typeof module&&module.exports&&(module.exports={TextEncoder:e.TextEncoder,TextDecoder:e.TextDecoder,EncodingIndexes:e["encoding-indexes"]})})(this||{}); +(function e$jscomp$0(a,b,c){function d(h,k){if(!b[h]){if(!a[h]){var l="function"==typeof require&&require;if(!k&&l)return l(h,!0);if(f)return f(h,!0);k=Error("Cannot find module '"+h+"'");throw k.code="MODULE_NOT_FOUND",k;}k=b[h]={exports:{}};a[h][0].call(k.exports,function(b){var c=a[h][1][b];return d(c?c:b)},k,k.exports,e$jscomp$0,a,b,c)}return b[h].exports}for(var f="function"==typeof require&&require,l=0;l=b.cmp(e)||0<=b.cmp(k));k=a;e=g;b=b.toRed(d.red(e)).redPow(k).fromRed();for(k=f;0!==b.cmp(l);)k=b,b=b.mul(b).mod(e);b=0===k.cmp(e.sub(l))?f:k}while(0===b.cmp(f));a=b.sub(l).gcd(g);return{p:a,q:g.div(a)}}},{"asn1.js":5,crypto:74}],4:[function(e,a,b){(function(b){function c(a){return b(a,"hex").toString("base64").replace(/\+/g, +"-").replace(/\//g,"_").replace(/=/g,"")}function f(a,b){b=b||{};Object.keys(b).forEach(function(c){a[c]=b[c]});return a}function l(a){return 1===a.length%2?"0"+a:a}function h(a,b){a=q.decode(a,"der");var d=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(d)};return f(a,b)}function k(a,b){a=y.decode(a,"der");var d=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(d),d:p(a.d),p:p(a.p),q:p(a.q),dp:p(a.dp),dq:p(a.dq),qi:p(a.qi)};return f(a,b)}function n(a,b){a=D.decode(a,"der");return h(a.publicKey.data,b)} +function g(a,b){a=A.decode(a,"der");return k(a.privateKey.data,b)}function m(a){a=/^-----BEGIN (RSA )?(PUBLIC|PRIVATE) KEY-----$/.exec(a);if(!a)return null;var b=!!a[1];return"PRIVATE"===a[2]?b?k:g:b?h:n}function p(a){return c(l(a.toString(16)))}function u(a){return/^[0-9]+$/.test(a)?new r.bignum(a,10):new r.bignum(b(a,"base64"))}var r=e("asn1.js"),v=e("./factor"),C=new r.bignum(1),q=r.define("RSAPublicKey",function(){this.seq().obj(this.key("n").int(),this.key("e").int())}),z=r.define("AlgorithmIdentifier", +function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())}),D=r.define("PublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(z),this.key("publicKey").bitstr())}),x=r.define("Version",function(){this.int({0:"two-prime",1:"multi"})}),w=r.define("OtherPrimeInfos",function(){this.seq().obj(this.key("ri").int(),this.key("di").int(),this.key("ti").int())}),y=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").use(x),this.key("n").int(), +this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int(),this.key("other").optional().use(w))}),A=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").use(x),this.key("algorithm").use(z),this.key("privateKey").bitstr())});a.exports={pem2jwk:function(a,c){a=a.toString().split(/(\r\n|\r|\n)+/g);a=a.filter(function(a){return 0!==a.trim().length});var d=m(a[0]);a=a.slice(1,-1).join("");return d(new b(a.replace(/[^\w\d\+\/=]+/g, +""),"base64"),c)},jwk2pem:function(a){var c;c={n:u(a.n),e:u(a.e),d:a.d&&u(a.d),p:a.p&&u(a.p),q:a.q&&u(a.q),dp:a.dp&&u(a.dp),dq:a.dq&&u(a.dq),qi:a.qi&&u(a.qi)};var d=!!c.d,g=d?"PRIVATE":"PUBLIC";a="-----BEGIN RSA "+g+" KEY-----\n";g="\n-----END RSA "+g+" KEY-----\n";b(0);if(d){if(!c.p){var f=v(c.e,c.d,c.n),d=f.p,f=f.q,h=c.d.mod(d.sub(C)),e=c.d.mod(f.sub(C)),k=f.invm(d);c={n:c.n,e:c.e,d:c.d,p:d,q:f,dp:h,dq:e,qi:k}}c.version="two-prime";c=y.encode(c,"der")}else c=q.encode(c,"der");c=c.toString("base64").match(/.{1,64}/g).join("\n"); +return a+c+g},BN:r.bignum}}).call(this,e("buffer").Buffer)},{"./factor":3,"asn1.js":5,buffer:65}],5:[function(e,a,b){b.bignum=e("bn.js");b.define=e("./asn1/api").define;b.base=e("./asn1/base");b.constants=e("./asn1/constants");b.decoders=e("./asn1/decoders");b.encoders=e("./asn1/encoders")},{"./asn1/api":6,"./asn1/base":8,"./asn1/constants":12,"./asn1/decoders":14,"./asn1/encoders":16,"bn.js":17}],6:[function(e,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var d=e("../asn1"), +f=e("inherits"),l=e("vm");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b=l.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");f(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(d.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder= +function(a){this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(d.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":5,inherits:1,vm:172}],7:[function(e,a,b){function c(a,b){f.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function d(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){a instanceof d||(a=new d(a,b));this.length+=a.length; +return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=e("inherits");var f=e("../base").Reporter,l=e("buffer").Buffer;a(c,f);b.DecoderBuffer=c;c.prototype.save=function(){return{offset:this.offset}};c.prototype.restore=function(a){var b=new c(this.base); b.offset=a.offset;b.length=this.offset;this.offset=a.offset;return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+= -a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=e;e.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]=this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":8,buffer:65,inherits:1}],8:[function(d, -a,b){b.Reporter=d("./reporter").Reporter;b.DecoderBuffer=d("./buffer").DecoderBuffer;b.EncoderBuffer=d("./buffer").EncoderBuffer;b.Node=d("./node")},{"./buffer":7,"./node":9,"./reporter":10}],9:[function(d,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null;c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.parent||(c.children=[],this._wrap())} -var e=d("../base").Reporter,g=d("../base").EncoderBuffer,l=d("minimalistic-assert");d="seq seqof set setof octstr bitstr objid bool gentime utctime null_ enum int ia5str".split(" ");var h="key obj use optional explicit implicit def choice any".split(" ").concat(d);a.exports=c;var k="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c= +a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=d;d.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]=this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":8,buffer:65,inherits:1}],8:[function(e, +a,b){b.Reporter=e("./reporter").Reporter;b.DecoderBuffer=e("./buffer").DecoderBuffer;b.EncoderBuffer=e("./buffer").EncoderBuffer;b.Node=e("./node")},{"./buffer":7,"./node":9,"./reporter":10}],9:[function(e,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null;c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.parent||(c.children=[],this._wrap())} +var d=e("../base").Reporter,f=e("../base").EncoderBuffer,l=e("minimalistic-assert");e="seq seqof set setof octstr bitstr objid bool gentime utctime null_ enum int ia5str".split(" ");var h="key obj use optional explicit implicit def choice any".split(" ").concat(e);a.exports=c;var k="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c= new this.constructor(b.parent);c._baseState=b;return c};c.prototype._wrap=function(){var a=this._baseState;h.forEach(function(b){this[b]=function(){var c=new this.constructor(this);a.children.push(c);return c[b].apply(c,arguments)}},this)};c.prototype._init=function(a){var b=this._baseState;l(null===b.parent);a.call(this);b.children=b.children.filter(function(a){return a._baseState.parent===this},this);l.equal(b.children.length,1,"Root node can have only one child")};c.prototype._useArgs=function(a){var b= this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this);0!==c.length&&(l(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this},this));0!==a.length&&(l(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!==typeof a||a.constructor!==Object)return a;var b={};Object.keys(a).forEach(function(c){c==(c|0)&&(c|=0);b[a[c]]=c});return b}))};"_peekTag _decodeTag _use _decodeStr _decodeObjid _decodeTime _decodeNull _decodeInt _decodeBool _decodeList _encodeComposite _encodeStr _encodeObjid _encodeTime _encodeNull _encodeInt _encodeBool".split(" ").forEach(function(a){c.prototype[a]= -function(){throw Error(a+" not implemented for encoding: "+this._baseState.enc);}});d.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);l(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){var b=this._baseState;l(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;l(null===b["default"]);b["default"]=a;b.optional= +function(){throw Error(a+" not implemented for encoding: "+this._baseState.enc);}});e.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);l(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){var b=this._baseState;l(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;l(null===b["default"]);b["default"]=a;b.optional= !0;return this};c.prototype.explicit=function(a){var b=this._baseState;l(null===b.explicit&&null===b.implicit);b.explicit=a;return this};c.prototype.implicit=function(a){var b=this._baseState;l(null===b.explicit&&null===b.implicit);b.implicit=a;return this};c.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);a.obj=!0;0!==b.length&&this._useArgs(b);return this};c.prototype.key=function(a){var b=this._baseState;l(null===b.key);b.key=a;return this};c.prototype.any= -function(){this._baseState.any=!0;return this};c.prototype.choice=function(a){var b=this._baseState;l(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c=b["default"],e=!0,d;null!==b.key&&(d=a.enterKey(b.key));if(b.optional&&(e=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(e)))return e; -var g;b.obj&&e&&(g=a.enterObject());if(e){if(null!==b.explicit){var h=this._decodeTag(a,b.explicit);if(a.isError(h))return h;a=h}if(null===b.use&&null===b.choice){if(b.any)var k=a.save();h=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(h))return h;b.any?c=a.raw(k):a=h}b.any||(c=null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a));if(a.isError(c))return c;if(!b.any&&null===b.choice&&null!==b.children&&b.children.some(function(b){b._decode(a)}))return err}b.obj&& -e&&(c=a.leaveObject(g));null===b.key||null===c&&!0!==e||a.leaveKey(d,b.key,c);return c};c.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a||"ia5str"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b): +function(){this._baseState.any=!0;return this};c.prototype.choice=function(a){var b=this._baseState;l(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c=b["default"],d=!0,f;null!==b.key&&(f=a.enterKey(b.key));if(b.optional&&(d=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(d)))return d; +var h;b.obj&&d&&(h=a.enterObject());if(d){if(null!==b.explicit){var e=this._decodeTag(a,b.explicit);if(a.isError(e))return e;a=e}if(null===b.use&&null===b.choice){if(b.any)var k=a.save();e=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(e))return e;b.any?c=a.raw(k):a=e}b.any||(c=null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a));if(a.isError(c))return c;if(!b.any&&null===b.choice&&null!==b.children&&b.children.some(function(b){b._decode(a)}))return err}b.obj&& +d&&(c=a.leaveObject(h));null===b.key||null===c&&!0!==d||a.leaveKey(f,b.key,c);return c};c.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a||"ia5str"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b): "int"===a||"enum"===a?this._decodeInt(b,c.args&&c.args[0]):null!==c.use?this._getUse(c.use,b._reporterState.obj)._decode(b):b.error("unknown tag: "+a)};c.prototype._getUse=function(a,b){var c=this._baseState;c.useDecoder=this._use(a,b);l(null===c.useDecoder._baseState.parent);c.useDecoder=c.useDecoder._baseState.children[0];c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit);return c.useDecoder};c.prototype._decodeChoice=function(a){var b= -this._baseState,c=null,e=!1;Object.keys(b.choice).some(function(f){var d=a.save(),g=b.choice[f];try{var h=g._decode(a);if(a.isError(h))return!1;c={type:f,value:h};e=!0}catch(q){return a.restore(d),!1}return!0},this);return e?c:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)};c.prototype._encode=function(a,b,c){var e=this._baseState;if(null===e["default"]||e["default"]!==a)if(a=this._encodeValue(a,b,c),void 0!==a&&!this._skipDefault(a,b,c))return a}; -c.prototype._encodeValue=function(a,b,c){var f=this._baseState;if(null===f.parent)return f.children[0]._encode(a,b||new e);var d=null;this.reporter=b;if(f.optional&&void 0===a)if(null!==f["default"])a=f["default"];else return;var g=null,h=!1;if(f.any)d=this._createEncoderBuffer(a);else if(f.choice)d=this._encodeChoice(a,b);else if(f.children)g=f.children.map(function(c){if("null_"===c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var e= -b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(e);return c},this).filter(function(a){return a}),g=this._createEncoderBuffer(g);else if("seqof"===f.tag||"setof"===f.tag){if(!f.args||1!==f.args.length)return b.error("Too many args for : "+f.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");g=this.clone();g._baseState.implicit=null;g=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0], -a)._encode(c,b)},g))}else null!==f.use?d=this._getUse(f.use,c)._encode(a,b):(g=this._encodePrimitive(f.tag,a),h=!0);if(!f.any&&null===f.choice){c=null!==f.implicit?f.implicit:f.tag;var k=null===f.implicit?"universal":"context";null===c?null===f.use&&b.error("Tag could be ommited only for .use()"):null===f.use&&(d=this._encodeComposite(c,h,k,g))}null!==f.explicit&&(d=this._encodeComposite(f.explicit,!1,"context",d));return d};c.prototype._encodeChoice=function(a,b){var c=this._baseState,e=c.choice[a.type]; -e||l(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return e._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a||"ia5str"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b, -c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw Error("Unsupported tag: "+a);}},{"../base":8,"minimalistic-assert":2}],10:[function(d,a,b){function c(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a;this.rethrow(b)}d=d("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof e};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.leaveKey=function(a,b,c){var e=this._reporterState; -e.path=e.path.slice(0,a-1);null!==e.obj&&(e.obj[b]=c)};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof e;a=c?a:new e(b.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b= -this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};d(e,Error);e.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace(this,e);return this}},{inherits:1}],11:[function(d,a,b){d=d("../constants");b.tagClass={0:"universal",1:"application",2:"context",3:"private"};b.tagClassByName=d._reverse(b.tagClass);b.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"};b.tagByName=d._reverse(b.tag)},{"../constants":12}],12:[function(d,a,b){b._reverse=function(a){var b={};Object.keys(a).forEach(function(c){(c|0)==c&&(c|=0);b[a[c]]=c});return b};b.der=d("./der")},{"./der":11}],13:[function(d,a,b){function c(a){this.enc="der";this.name= -a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var e=n.tagClass[c>>6],f=0===(c&32);if(31===(c&31))for(var d=c,c=0;128===(d&128);){d=a.readUInt8(b);if(a.isError(d))return d;c<<=7;c|=d&127}else c&=31;return{cls:e,primitive:f,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var e=a.readUInt8(c);if(a.isError(e))return e;if(!b&&128===e)return null;if(0===(e&128))return e;b=e&127;if(4<=b)return a.error("length octect is too long"); -for(var f=e=0;fb?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,e,f,d,a,0)};e.prototype._decodeNull=function(a){return null};e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};e.prototype._decodeInt=function(a,b){var c=0,e=a.raw();if(3< -e.length)return new k(e);for(;!a.isEmpty();){c<<=8;e=a.readUInt8();if(a.isError(e))return e;c|=e}b&&(c=b[c]||c);return c};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(d,a,b){b.der=d("./der")},{"./der":13}],15:[function(d,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a){return 10>=a?"0"+a:a}b=d("inherits"); -var l=d("buffer").Buffer;d=d("../../asn1");var h=d.base,k=d.bignum,n=d.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a,b).join()};b(e,h.Node);e.prototype._encodeComposite=function(a,b,c,e){a:{var f=a;a=this.reporter;"seqof"===f?f="seq":"setof"===f&&(f="set");if(n.tagByName.hasOwnProperty(f))f=n.tagByName[f];else if("number"!==typeof f||(f|0)!==f){a=a.error("Unknown tag: "+f);break a}31<=f?a=a.error("Multi-octet tag encoding unsupported"):(b||(f|=32),a=f|=n.tagClassByName[c|| -"universal"]<<6)}if(128>e.length)return b=new l(2),b[0]=a,b[1]=e.length,this._createEncoderBuffer([b,e]);f=1;for(c=e.length;256<=c;c>>=8)f++;b=new l(2+f);b[0]=a;b[1]=128|f;c=1+f;for(a=e.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,e])};e.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([a.unused|0,a.data]):"ia5str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")}; -e.prototype._encodeObjid=function(a,b,c){if("string"===typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(b=0;b>=7)e++;var e=new l(e),f=e.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],e[f--]=c&127;0<(c>>=7);)e[f--]=128|c&127;return this._createEncoderBuffer(e)};e.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[a.getFullYear(),g(a.getUTCMonth()+1),g(a.getUTCDate()),g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[a.getFullYear()%100,g(a.getUTCMonth()+1),g(a.getUTCDate()), -g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};e.prototype._encodeNull=function(){return this._createEncoderBuffer("")};e.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}null!== -k&&a instanceof k&&(b=a.toArray(),!1===a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? -255:0)};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};e.prototype._skipDefault=function(a,b,c){var e=this._baseState;if(null===e["default"])return!1;a=a.join();void 0===e.defaultBuffer&&(e.defaultBuffer=this._encodeValue(e["default"],b,c).join());if(a.length!==e.defaultBuffer.length)return!1;for(b=0;b=f?e|f-49+10:17<=f&&22>=f?e|f-17+10:e|f&15;return e}function n(a,b,c,e){var f=0;for(c=Math.min(a.length,c);ba&&(this.sign=!0,a=-a),67108864>a?(this.words=[a&67108863],this.length=1):(this.words=[a&67108863,a/67108864&67108863],this.length=2);else{if("object"===typeof a)return this._initArray(a,b,e);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");e=0;"-"=== -a[0]&&e++;16===b?this._parseHex(a,e):this._parseBase(a,b,e);"-"===a[0]&&(this.sign=!0);this.strip()}};d.prototype._initArray=function(a,b,e){c("number"===typeof a.length);this.length=Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863;f+=24;26<=f&&(f-=26,e++)}else if("le"===e)for(e=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);return this.strip()};d.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6){var d=k(a,c,c+6);this.words[f]|=d<>>26-e&4194303;e+=24;26<=e&&(e-=26,f++)}c+6!==b&&(d=k(a,b,c+6),this.words[f]|=d<>>26-e&4194303); -this.strip()};d.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var e=0,f=1;67108863>=f;f*=b)e++;e--;for(var f=f/b|0,d=a.length-c,g=d%e,d=Math.min(d,d-g)+c,h=c;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==g){e=1;c=n(a,h,a.length,b);for(h=0;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};d.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215,e=0!==f||d!==this.length-1?q[6-h.length]+h+e:h+e;a+=2;26<=a&&(a-=26,d--)}for(0!==f&&(e=f.toString(16)+e);0!==e.length%b;)e="0"+e;this.sign&&(e="-"+e);return e}if(a===(a|0)&&2<=a&&36>=a){b=A[a];f=D[a];e="";d=this.clone();for(d.sign=!1;0!==d.cmpn(0);)g=d.modn(f).toString(a),d=d.idivn(f),e=0!==d.cmpn(0)?q[b-g.length]+g+e:g+e;0===this.cmpn(0)&&(e="0"+e);this.sign&&(e="-"+e);return e}c(!1,"Base should be between 2 and 36")};d.prototype.toJSON= -function(){return this.toString(16)};d.prototype.toArray=function(){this.strip();var a=Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var e=b.andln(255);b.ishrn(8);a[a.length-c-1]=e}return a};d.prototype._countBits=function(a){return 33554432<=a?26:16777216<=a?25:8388608<=a?24:4194304<=a?23:2097152<=a?22:1048576<=a?21:524288<=a?20:262144<=a?19:131072<=a?18:65536<=a?17:32768<=a?16:16384<=a?15:8192<=a?14:4096<=a?13:2048<=a?12:1024<=a?11:512<=a?10:256<=a?9:128<=a?8:64<= -a?7:32<=a?6:16<=a?5:8<=a?4:4<=a?3:2<=a?2:1<=a?1:0};d.prototype.bitLength=function(){var a;a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};d.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)};d.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();a.sign=!this.sign;return a};d.prototype.ior=function(a){for(this.sign=this.sign||a.sign;this.lengtha.length?this.clone().ior(a):a.clone().ior(this)};d.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};d.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b;this.length>a.length?b= -this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};d.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var e=a/26|0;for(a%=26;this.length<=e;)this.words[this.length++]=0;this.words[e]=b?this.words[e]|1<a.length?c=this:(c=a,a=this);for(var e=b=0;e>>=26;for(;0!==b&&e>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;ea.length?this.clone().iadd(a):a.clone().iadd(this)};d.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);a.sign=!0;return b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();b=this.cmp(a);if(0===b)return this.sign=!1,this.length=1,this.words[0]= -0,this;var c;0>26,this.words[f]=b&67108863;for(;0!==e&&f>26,this.words[f]=b&67108863;if(0===e&&f>>26,c=c&67108863,d=Math.min(e,a.length-1),g=Math.max(0,e-this.length+1);g<=d;g++)var h=(this.words[e-g]|0)*(a.words[g]|0),k=h&67108863,f=f+(h/67108864|0)|0,k=k+c|0,c=k&67108863,f=f+(k>>>26)|0;b.words[e]=c;c=f}0!==c?b.words[e]=c:b.length--;return b.strip()};d.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign;b.length=this.length+a.length;for(var c=0,e=0,f=0;f>>26)|0,e=e+(d>>>26),d=d&67108863;b.words[f]=c;c=d}0!==c?b.words[f]=c:b.length--;return b.strip()};d.prototype.mulTo=function(a,b){return 63>this.length+a.length?this._smallMulTo(a,b):this._bigMulTo(a,b)};d.prototype.mul=function(a){var b=new d(null);b.words=Array(this.length+a.length);return this.mulTo(a,b)};d.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]= -0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign;this.length+=a.length;this.words[this.length-1]=0;for(var e=this.length-2;0<=e;e--){for(var f=0,d=0,g=Math.min(e,c-1),h=Math.max(0,e-b+1);h<=g;h++)var k=e-h,k=this.words[k]*a.words[h],l=k&67108863,f=f+(k/67108864|0),l=l+d,d=l&67108863,f=f+(l>>>26);this.words[e]=d;this.words[e+1]+=f}f=0;for(k=1;k>>26;return this.strip()};d.prototype.imuln=function(a){c("number"=== -typeof a);for(var b=0,e=0;e>26,b=b+(f/67108864|0),b=b+(d>>>26);this.words[e]=d&67108863}0!==b&&(this.words[e]=b,this.length++);return this};d.prototype.sqr=function(){return this.mul(this)};d.prototype.isqr=function(){return this.mul(this)};d.prototype.ishln=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;var e=67108863>>>26-b<<26-b;if(0!==b){for(var f=0,d=0;d>>26-b}f&&(this.words[d]=f,this.length++)}if(0!==a){for(d=this.length-1;0<=d;d--)this.words[d+a]=this.words[d];for(d=0;d>>f<d)for(this.length-=d,g=0;g=b);g--){var h=this.words[g];this.words[g]=d<<26-f|h>>>f;d=h&a}e&&0!==d&&(e.words[e.length++]=d);0===this.length&&(this.words[0]=0,this.length=1);this.strip();return e?{hi:this,lo:e}:this};d.prototype.shln=function(a){return this.clone().ishln(a)};d.prototype.shrn=function(a){return this.clone().ishrn(a)};d.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a? -!1:!!(this.words[a]&1<>>b<a)return this.isubn(-a);if(this.sign){if(1===this.length&&this.words[0]a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a; -for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};d.prototype.addn=function(a){return this.clone().iaddn(a)};d.prototype.subn=function(a){return this.clone().isubn(a)};d.prototype.iabs=function(){this.sign=!1;return this};d.prototype.abs=function(){return this.clone().iabs()};d.prototype._ishlnsubmul=function(a,b,e){var f=a.length+e,d;if(this.words.length>26)-(g/67108864|0),this.words[d+e]=f&67108863;for(;d>26,this.words[d+e]=f&67108863;if(0===g)return this.strip();c(-1===g);for(d=g=0;d>26,this.words[d]=f&67108863;this.sign=!0;return this.strip()};d.prototype._wordDiv=function(a,b){var c=this.clone(),e=a,f=e.words[e.length- -1];for(a=0;33554432>f;a++)f<<=1;0!==a&&(e=e.shln(a),c.ishln(a),f=e.words[e.length-1]);var g=c.length-e.length,h;if("mod"!==b){h=new d(null);h.length=g+1;h.words=Array(h.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new d(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]), -mod:null}:"mod"===b?{div:null,mod:new d(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new d(this.modn(a.words[0]))}:this._wordDiv(a,b)};d.prototype.div=function(a){return this.divmod(a,"div").div};d.prototype.mod=function(a){return this.divmod(a,"mod").mod};d.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,e=a.shrn(1);a=a.andln(1);c=c.cmp(e);return 0>c||1===a&&0===c?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)}; -d.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,e=0,f=this.length-1;0<=f;f--)e=(b*e+this.words[f])%a;return e};d.prototype.idivn=function(a){c(67108863>=a);for(var b=0,e=this.length-1;0<=e;e--)b=this.words[e]+67108864*b,this.words[e]=b/a|0,b%=a;return this.strip()};d.prototype.divn=function(a){return this.clone().idivn(a)};d.prototype._egcd=function(a,b){c(!b.sign);c(0!==b.cmpn(0));var e=this,f=b.clone(),e=e.sign?e.mod(b):e.clone();for(b=new d(0);f.isEven();)f.ishrn(1);for(var g= -f.clone();0b.cmp(a)){var e=b,b=a;a=e}b.isub(b.div(a).mul(a))}while(0!==b.cmpn(0)&&0!==a.cmpn(0));return 0===b.cmpn(0)?a.ishln(c):b.ishln(c)};d.prototype.invm=function(a){return this._egcd(new d(1),a).mod(a)};d.prototype.isEven=function(){return 0===(this.words[0]&1)};d.prototype.isOdd=function(){return 1===(this.words[0]&1)};d.prototype.andln=function(a){return this.words[0]&a};d.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;var e=1<>>26,a&=67108863,this.words[b]=a;0!==e&&(this.words[b]=e,this.length++);return this};d.prototype.cmpn=function(a){var b=0>a;b&&(a=-a);if(this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863;this.strip();1a.length)return 1;if(this.lengthf&&(b=1);break}}return b};d.red=function(a){return new v(a)};d.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context");c(!this.sign,"red works only with positives");return a.convertTo(this)._forceRed(a)};d.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context"); -return this.red.convertFrom(this)};d.prototype._forceRed=function(a){this.red=a;return this};d.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};d.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)};d.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};d.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers"); -return this.red.sub(this,a)};d.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};d.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};d.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.mul(this,a)};d.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this, -a)};d.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};d.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};d.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};d.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this); -return this.red.invm(this)};d.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};d.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var x={k256:null,p224:null,p192:null,p25519:null};f.prototype._tmp=function(){var a=new d(null);a.words=Array(Math.ceil(this.n/13));return a};f.prototype.ireduce=function(a){var b;do b=a.ishrn(this.n,0,this.tmp),a=this.imulK(b.hi), -a=a.iadd(b.lo),b=a.bitLength();while(b>this.n);b=b>>26;a.words[c]=e}0!==b&&(a.words[a.length++]=b);return a};d._prime=function(a){if(x[a])return x[a];var b;if("k256"===a)b=new m;else if("p224"===a)b=new p;else if("p192"===a)b=new u;else if("p25519"===a)b=new r;else throw Error("Unknown prime "+a);return x[a]=b};v.prototype._verify1=function(a){c(!a.sign,"red works only with positives");c(a.red,"red works only with red numbers")};v.prototype._verify2= +this._baseState,c=null,d=!1;Object.keys(b.choice).some(function(g){var f=a.save(),h=b.choice[g];try{var e=h._decode(a);if(a.isError(e))return!1;c={type:g,value:e};d=!0}catch(q){return a.restore(f),!1}return!0},this);return d?c:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new f(a,this.reporter)};c.prototype._encode=function(a,b,c){var d=this._baseState;if(null===d["default"]||d["default"]!==a)if(a=this._encodeValue(a,b,c),void 0!==a&&!this._skipDefault(a,b,c))return a}; +c.prototype._encodeValue=function(a,b,c){var g=this._baseState;if(null===g.parent)return g.children[0]._encode(a,b||new d);var f=null;this.reporter=b;if(g.optional&&void 0===a)if(null!==g["default"])a=g["default"];else return;var h=null,e=!1;if(g.any)f=this._createEncoderBuffer(a);else if(g.choice)f=this._encodeChoice(a,b);else if(g.children)h=g.children.map(function(c){if("null_"===c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var d= +b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(d);return c},this).filter(function(a){return a}),h=this._createEncoderBuffer(h);else if("seqof"===g.tag||"setof"===g.tag){if(!g.args||1!==g.args.length)return b.error("Too many args for : "+g.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");h=this.clone();h._baseState.implicit=null;h=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0], +a)._encode(c,b)},h))}else null!==g.use?f=this._getUse(g.use,c)._encode(a,b):(h=this._encodePrimitive(g.tag,a),e=!0);if(!g.any&&null===g.choice){c=null!==g.implicit?g.implicit:g.tag;var k=null===g.implicit?"universal":"context";null===c?null===g.use&&b.error("Tag could be ommited only for .use()"):null===g.use&&(f=this._encodeComposite(c,e,k,h))}null!==g.explicit&&(f=this._encodeComposite(g.explicit,!1,"context",f));return f};c.prototype._encodeChoice=function(a,b){var c=this._baseState,d=c.choice[a.type]; +d||l(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return d._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a||"ia5str"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b, +c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw Error("Unsupported tag: "+a);}},{"../base":8,"minimalistic-assert":2}],10:[function(e,a,b){function c(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function d(a,b){this.path=a;this.rethrow(b)}e=e("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof d};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.leaveKey=function(a,b,c){var d=this._reporterState; +d.path=d.path.slice(0,a-1);null!==d.obj&&(d.obj[b]=c)};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof d;a=c?a:new d(b.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b= +this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};e(d,Error);d.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace(this,d);return this}},{inherits:1}],11:[function(e,a,b){e=e("../constants");b.tagClass={0:"universal",1:"application",2:"context",3:"private"};b.tagClassByName=e._reverse(b.tagClass);b.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"};b.tagByName=e._reverse(b.tag)},{"../constants":12}],12:[function(e,a,b){b._reverse=function(a){var b={};Object.keys(a).forEach(function(c){(c|0)==c&&(c|=0);b[a[c]]=c});return b};b.der=e("./der")},{"./der":11}],13:[function(e,a,b){function c(a){this.enc="der";this.name= +a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){h.Node.call(this,"der",a)}function f(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var d=n.tagClass[c>>6],g=0===(c&32);if(31===(c&31))for(var f=c,c=0;128===(f&128);){f=a.readUInt8(b);if(a.isError(f))return f;c<<=7;c|=f&127}else c&=31;return{cls:d,primitive:g,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(d&128))return d;b=d&127;if(4<=b)return a.error("length octect is too long"); +for(var g=d=0;gb?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,d,g,f,a,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){var c=0,d=a.raw();if(3< +d.length)return new k(d);for(;!a.isEmpty();){c<<=8;d=a.readUInt8();if(a.isError(d))return d;c|=d}b&&(c=b[c]||c);return c};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(e,a,b){b.der=e("./der")},{"./der":13}],15:[function(e,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){h.Node.call(this,"der",a)}function f(a){return 10>=a?"0"+a:a}b=e("inherits"); +var l=e("buffer").Buffer;e=e("../../asn1");var h=e.base,k=e.bignum,n=e.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a,b).join()};b(d,h.Node);d.prototype._encodeComposite=function(a,b,c,d){a:{var g=a;a=this.reporter;"seqof"===g?g="seq":"setof"===g&&(g="set");if(n.tagByName.hasOwnProperty(g))g=n.tagByName[g];else if("number"!==typeof g||(g|0)!==g){a=a.error("Unknown tag: "+g);break a}31<=g?a=a.error("Multi-octet tag encoding unsupported"):(b||(g|=32),a=g|=n.tagClassByName[c|| +"universal"]<<6)}if(128>d.length)return b=new l(2),b[0]=a,b[1]=d.length,this._createEncoderBuffer([b,d]);g=1;for(c=d.length;256<=c;c>>=8)g++;b=new l(2+g);b[0]=a;b[1]=128|g;c=1+g;for(a=d.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,d])};d.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([a.unused|0,a.data]):"ia5str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")}; +d.prototype._encodeObjid=function(a,b,c){if("string"===typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(b=0;b>=7)d++;var d=new l(d),g=d.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],d[g--]=c&127;0<(c>>=7);)d[g--]=128|c&127;return this._createEncoderBuffer(d)};d.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[a.getFullYear(),f(a.getUTCMonth()+1),f(a.getUTCDate()),f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[a.getFullYear()%100,f(a.getUTCMonth()+1),f(a.getUTCDate()), +f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};d.prototype._encodeNull=function(){return this._createEncoderBuffer("")};d.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}null!== +k&&a instanceof k&&(b=a.toArray(),!1===a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};d.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? +255:0)};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};d.prototype._skipDefault=function(a,b,c){var d=this._baseState;if(null===d["default"])return!1;a=a.join();void 0===d.defaultBuffer&&(d.defaultBuffer=this._encodeValue(d["default"],b,c).join());if(a.length!==d.defaultBuffer.length)return!1;for(b=0;b=g?d|g-49+10:17<=g&&22>=g?d|g-17+10:d|g&15;return d}function n(a,b,c,d){var g=0;for(c=Math.min(a.length,c);ba&&(this.sign=!0,a=-a),67108864>a?(this.words=[a&67108863],this.length=1):(this.words=[a&67108863,a/67108864&67108863],this.length=2);else{if("object"===typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");d=0;"-"=== +a[0]&&d++;16===b?this._parseHex(a,d):this._parseBase(a,b,d);"-"===a[0]&&(this.sign=!0);this.strip()}};h.prototype._initArray=function(a,b,d){c("number"===typeof a.length);this.length=Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-g&67108863;g+=24;26<=g&&(g-=26,d++)}else if("le"===d)for(d=b=0;b>>26-g&67108863,g+=24,26<=g&&(g-=26,d++);return this.strip()};h.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6){var f=e(a,c,c+6);this.words[g]|=f<>>26-d&4194303;d+=24;26<=d&&(d-=26,g++)}c+6!==b&&(f=e(a,b,c+6),this.words[g]|=f<>>26-d&4194303); +this.strip()};h.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var d=0,g=1;67108863>=g;g*=b)d++;d--;for(var g=g/b|0,f=a.length-c,h=f%d,f=Math.min(f,f-h)+c,e=c;ethis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==h){d=1;c=n(a,e,a.length,b);for(e=0;ethis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};h.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215,d=0!==g||f!==this.length-1?q[6-e.length]+e+d:e+d;a+=2;26<=a&&(a-=26,f--)}for(0!==g&&(d=g.toString(16)+d);0!==d.length%b;)d="0"+d;this.sign&&(d="-"+d);return d}if(a===(a|0)&&2<=a&&36>=a){b=z[a];g=D[a];d="";f=this.clone();for(f.sign=!1;0!==f.cmpn(0);)h=f.modn(g).toString(a),f=f.idivn(g),d=0!==f.cmpn(0)?q[b-h.length]+h+d:h+d;0===this.cmpn(0)&&(d="0"+d);this.sign&&(d="-"+d);return d}c(!1,"Base should be between 2 and 36")};h.prototype.toJSON= +function(){return this.toString(16)};h.prototype.toArray=function(){this.strip();var a=Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8);a[a.length-c-1]=d}return a};h.prototype._countBits=function(a){return 33554432<=a?26:16777216<=a?25:8388608<=a?24:4194304<=a?23:2097152<=a?22:1048576<=a?21:524288<=a?20:262144<=a?19:131072<=a?18:65536<=a?17:32768<=a?16:16384<=a?15:8192<=a?14:4096<=a?13:2048<=a?12:1024<=a?11:512<=a?10:256<=a?9:128<=a?8:64<= +a?7:32<=a?6:16<=a?5:8<=a?4:4<=a?3:2<=a?2:1<=a?1:0};h.prototype.bitLength=function(){var a;a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)};h.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();a.sign=!this.sign;return a};h.prototype.ior=function(a){for(this.sign=this.sign||a.sign;this.lengtha.length?this.clone().ior(a):a.clone().ior(this)};h.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};h.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b;this.length>a.length?b= +this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};h.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var d=a/26|0;for(a%=26;this.length<=d;)this.words[this.length++]=0;this.words[d]=b?this.words[d]|1<a.length?c=this:(c=a,a=this);for(var d=b=0;d>>=26;for(;0!==b&&d>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;da.length?this.clone().iadd(a):a.clone().iadd(this)};h.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);a.sign=!0;return b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();b=this.cmp(a);if(0===b)return this.sign=!1,this.length=1,this.words[0]= +0,this;var c;0>26,this.words[g]=b&67108863;for(;0!==d&&g>26,this.words[g]=b&67108863;if(0===d&&g>>26,c=c&67108863,f=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);h<=f;h++)var e=(this.words[d-h]|0)*(a.words[h]|0),k=e&67108863,g=g+(e/67108864|0)|0,k=k+c|0,c=k&67108863,g=g+(k>>>26)|0;b.words[d]=c;c=g}0!==c?b.words[d]=c:b.length--;return b.strip()};h.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign;b.length=this.length+a.length;for(var c=0,d=0,g=0;g>>26)|0,d=d+(f>>>26),f=f&67108863;b.words[g]=c;c=f}0!==c?b.words[g]=c:b.length--;return b.strip()};h.prototype.mulTo=function(a,b){return 63>this.length+a.length?this._smallMulTo(a,b):this._bigMulTo(a,b)};h.prototype.mul=function(a){var b=new h(null);b.words=Array(this.length+a.length);return this.mulTo(a,b)};h.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]= +0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign;this.length+=a.length;this.words[this.length-1]=0;for(var d=this.length-2;0<=d;d--){for(var g=0,f=0,h=Math.min(d,c-1),e=Math.max(0,d-b+1);e<=h;e++)var k=d-e,k=this.words[k]*a.words[e],l=k&67108863,g=g+(k/67108864|0),l=l+f,f=l&67108863,g=g+(l>>>26);this.words[d]=f;this.words[d+1]+=g}g=0;for(k=1;k>>26;return this.strip()};h.prototype.imuln=function(a){c("number"=== +typeof a);for(var b=0,d=0;d>26,b=b+(g/67108864|0),b=b+(f>>>26);this.words[d]=f&67108863}0!==b&&(this.words[d]=b,this.length++);return this};h.prototype.sqr=function(){return this.mul(this)};h.prototype.isqr=function(){return this.mul(this)};h.prototype.ishln=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;var d=67108863>>>26-b<<26-b;if(0!==b){for(var g=0,f=0;f>>26-b}g&&(this.words[f]=g,this.length++)}if(0!==a){for(f=this.length-1;0<=f;f--)this.words[f+a]=this.words[f];for(f=0;f>>g<f)for(this.length-=f,h=0;h=b);h--){var e=this.words[h];this.words[h]=f<<26-g|e>>>g;f=e&a}d&&0!==f&&(d.words[d.length++]=f);0===this.length&&(this.words[0]=0,this.length=1);this.strip();return d?{hi:this,lo:d}:this};h.prototype.shln=function(a){return this.clone().ishln(a)};h.prototype.shrn=function(a){return this.clone().ishrn(a)};h.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a? +!1:!!(this.words[a]&1<>>b<a)return this.isubn(-a);if(this.sign){if(1===this.length&&this.words[0]a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a; +for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};h.prototype.addn=function(a){return this.clone().iaddn(a)};h.prototype.subn=function(a){return this.clone().isubn(a)};h.prototype.iabs=function(){this.sign=!1;return this};h.prototype.abs=function(){return this.clone().iabs()};h.prototype._ishlnsubmul=function(a,b,d){var g=a.length+d,f;if(this.words.length>26)-(h/67108864|0),this.words[f+d]=g&67108863;for(;f>26,this.words[f+d]=g&67108863;if(0===h)return this.strip();c(-1===h);for(f=h=0;f>26,this.words[f]=g&67108863;this.sign=!0;return this.strip()};h.prototype._wordDiv=function(a,b){var c=this.clone(),d=a,g=d.words[d.length- +1];for(a=0;33554432>g;a++)g<<=1;0!==a&&(d=d.shln(a),c.ishln(a),g=d.words[d.length-1]);var f=c.length-d.length,e;if("mod"!==b){e=new h(null);e.length=f+1;e.words=Array(e.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new h(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]), +mod:null}:"mod"===b?{div:null,mod:new h(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new h(this.modn(a.words[0]))}:this._wordDiv(a,b)};h.prototype.div=function(a){return this.divmod(a,"div").div};h.prototype.mod=function(a){return this.divmod(a,"mod").mod};h.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1);a=a.andln(1);c=c.cmp(d);return 0>c||1===a&&0===c?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)}; +h.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,d=0,g=this.length-1;0<=g;g--)d=(b*d+this.words[g])%a;return d};h.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;0<=d;d--)b=this.words[d]+67108864*b,this.words[d]=b/a|0,b%=a;return this.strip()};h.prototype.divn=function(a){return this.clone().idivn(a)};h.prototype._egcd=function(a,b){c(!b.sign);c(0!==b.cmpn(0));var d=this,g=b.clone(),d=d.sign?d.mod(b):d.clone();for(b=new h(0);g.isEven();)g.ishrn(1);for(var f= +g.clone();0b.cmp(a)){var d=b,b=a;a=d}b.isub(b.div(a).mul(a))}while(0!==b.cmpn(0)&&0!==a.cmpn(0));return 0===b.cmpn(0)?a.ishln(c):b.ishln(c)};h.prototype.invm=function(a){return this._egcd(new h(1),a).mod(a)};h.prototype.isEven=function(){return 0===(this.words[0]&1)};h.prototype.isOdd=function(){return 1===(this.words[0]&1)};h.prototype.andln=function(a){return this.words[0]&a};h.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;var d=1<>>26,a&=67108863,this.words[b]=a;0!==d&&(this.words[b]=d,this.length++);return this};h.prototype.cmpn=function(a){var b=0>a;b&&(a=-a);if(this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863;this.strip();1a.length)return 1;if(this.lengthg&&(b=1);break}}return b};h.red=function(a){return new v(a)};h.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context");c(!this.sign,"red works only with positives");return a.convertTo(this)._forceRed(a)};h.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context"); +return this.red.convertFrom(this)};h.prototype._forceRed=function(a){this.red=a;return this};h.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};h.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)};h.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};h.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers"); +return this.red.sub(this,a)};h.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};h.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};h.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.mul(this,a)};h.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this, +a)};h.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};h.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};h.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};h.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this); +return this.red.invm(this)};h.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};h.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var x={k256:null,p224:null,p192:null,p25519:null};g.prototype._tmp=function(){var a=new h(null);a.words=Array(Math.ceil(this.n/13));return a};g.prototype.ireduce=function(a){var b;do b=a.ishrn(this.n,0,this.tmp),a=this.imulK(b.hi), +a=a.iadd(b.lo),b=a.bitLength();while(b>this.n);b=b>>26;a.words[c]=d}0!==b&&(a.words[a.length++]=b);return a};h._prime=function(a){if(x[a])return x[a];var b;if("k256"===a)b=new m;else if("p224"===a)b=new p;else if("p192"===a)b=new u;else if("p25519"===a)b=new r;else throw Error("Unknown prime "+a);return x[a]=b};v.prototype._verify1=function(a){c(!a.sign,"red works only with positives");c(a.red,"red works only with red numbers")};v.prototype._verify2= function(a,b){c(!a.sign&&!b.sign,"red works only with positives");c(a.red&&a.red===b.red,"red works only with red numbers")};v.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.mod(this.m)._forceRed(this)};v.prototype.neg=function(a){a=a.clone();a.sign=!a.sign;return a.iadd(this.m)._forceRed(this)};v.prototype.add=function(a,b){this._verify2(a,b);a=a.add(b);0<=a.cmp(this.m)&&a.isub(this.m);return a._forceRed(this)};v.prototype.iadd=function(a,b){this._verify2(a, b);a=a.iadd(b);0<=a.cmp(this.m)&&a.isub(this.m);return a};v.prototype.sub=function(a,b){this._verify2(a,b);a=a.sub(b);0>a.cmpn(0)&&a.iadd(this.m);return a._forceRed(this)};v.prototype.isub=function(a,b){this._verify2(a,b);a=a.isub(b);0>a.cmpn(0)&&a.iadd(this.m);return a};v.prototype.shl=function(a,b){this._verify1(a);return this.imod(a.shln(b))};v.prototype.imul=function(a,b){this._verify2(a,b);return this.imod(a.imul(b))};v.prototype.mul=function(a,b){this._verify2(a,b);return this.imod(a.mul(b))}; -v.prototype.isqr=function(a){return this.imul(a,a)};v.prototype.sqr=function(a){return this.mul(a,a)};v.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b){var b=this.m.add(new d(1)).ishrn(2),e=this.pow(a,b);return e}for(var f=this.m.subn(1),g=0;0!==f.cmpn(0)&&0===f.andln(1);)g++,f.ishrn(1);c(0!==f.cmpn(0));for(var b=(new d(1)).toRed(this),e=b.redNeg(),h=this.m.subn(1).ishrn(1),k=this.m.bitLength(),k=(new d(2*k*k)).toRed(this);0!==this.pow(k,h).cmp(e);)k.redIAdd(e); -h=this.pow(k,f);e=this.pow(a,f.addn(1).ishrn(1));a=this.pow(a,f);for(f=g;0!==a.cmp(b);){k=a;for(g=0;0!==k.cmp(b);g++)k=k.redSqr();c(ga.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};C.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return(new d(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).ishrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)}; -C.prototype.invm=function(a){return this.imod(a.invm(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{}],18:[function(d,a,b){window.pemJwk=d("pem-jwk");a.exports=window.pemJwk},{"pem-jwk":4}],19:[function(d,a,b){arguments[4][5][0].apply(b,arguments)},{"./asn1/api":20,"./asn1/base":22,"./asn1/constants":26,"./asn1/decoders":28,"./asn1/encoders":31,"bn.js":34,dup:5}],20:[function(d,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var e=d("../asn1"), -g=d("inherits");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b;try{b=d("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(k){b=function(a){this._initNamed(a)}}g(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){a=a||"der";this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a, -b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder=function(a){a=a||"der";this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":19,inherits:119,vm:172}],21:[function(d,a,b){function c(a,b){g.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length= -0,this.value=a.map(function(a){a instanceof e||(a=new e(a,b));this.length+=a.length;return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=d("inherits");var g=d("../base").Reporter,l=d("buffer").Buffer;a(c,g);b.DecoderBuffer=c;c.prototype.save= -function(){return{offset:this.offset,reporter:g.prototype.save.call(this)}};c.prototype.restore=function(a){var b=new c(this.base);b.offset=a.offset;b.length=this.offset;this.offset=a.offset;g.prototype.restore.call(this,a.reporter);return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+ -a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+=a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=e;e.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]= -this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":22,buffer:65,inherits:119}],22:[function(d,a,b){arguments[4][8][0].apply(b,arguments)},{"./buffer":21,"./node":23,"./reporter":24,dup:8}],23:[function(d,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null; -c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.contains=null;c.parent||(c.children=[],this._wrap())}var e=d("../base").Reporter,g=d("../base").EncoderBuffer,l=d("../base").DecoderBuffer,h=d("minimalistic-assert");d="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".split(" ");var k="key obj use optional explicit implicit def choice any contains".split(" ").concat(d); +v.prototype.isqr=function(a){return this.imul(a,a)};v.prototype.sqr=function(a){return this.mul(a,a)};v.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b){var b=this.m.add(new h(1)).ishrn(2),d=this.pow(a,b);return d}for(var g=this.m.subn(1),f=0;0!==g.cmpn(0)&&0===g.andln(1);)f++,g.ishrn(1);c(0!==g.cmpn(0));for(var b=(new h(1)).toRed(this),d=b.redNeg(),e=this.m.subn(1).ishrn(1),k=this.m.bitLength(),k=(new h(2*k*k)).toRed(this);0!==this.pow(k,e).cmp(d);)k.redIAdd(d); +e=this.pow(k,g);d=this.pow(a,g.addn(1).ishrn(1));a=this.pow(a,g);for(g=f;0!==a.cmp(b);){k=a;for(f=0;0!==k.cmp(b);f++)k=k.redSqr();c(fa.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};C.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return(new h(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).ishrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)}; +C.prototype.invm=function(a){return this.imod(a.invm(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{}],18:[function(e,a,b){window.pemJwk=e("pem-jwk");a.exports=window.pemJwk},{"pem-jwk":4}],19:[function(e,a,b){arguments[4][5][0].apply(b,arguments)},{"./asn1/api":20,"./asn1/base":22,"./asn1/constants":26,"./asn1/decoders":28,"./asn1/encoders":31,"bn.js":34,dup:5}],20:[function(e,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var d=e("../asn1"), +f=e("inherits");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b;try{b=e("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(k){b=function(a){this._initNamed(a)}}f(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){a=a||"der";this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(d.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a, +b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder=function(a){a=a||"der";this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(d.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":19,inherits:119,vm:172}],21:[function(e,a,b){function c(a,b){f.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function d(a,b){if(Array.isArray(a))this.length= +0,this.value=a.map(function(a){a instanceof d||(a=new d(a,b));this.length+=a.length;return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=e("inherits");var f=e("../base").Reporter,l=e("buffer").Buffer;a(c,f);b.DecoderBuffer=c;c.prototype.save= +function(){return{offset:this.offset,reporter:f.prototype.save.call(this)}};c.prototype.restore=function(a){var b=new c(this.base);b.offset=a.offset;b.length=this.offset;this.offset=a.offset;f.prototype.restore.call(this,a.reporter);return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+ +a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+=a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=d;d.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]= +this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":22,buffer:65,inherits:119}],22:[function(e,a,b){arguments[4][8][0].apply(b,arguments)},{"./buffer":21,"./node":23,"./reporter":24,dup:8}],23:[function(e,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null; +c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.contains=null;c.parent||(c.children=[],this._wrap())}var d=e("../base").Reporter,f=e("../base").EncoderBuffer,l=e("../base").DecoderBuffer,h=e("minimalistic-assert");e="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".split(" ");var k="key obj use optional explicit implicit def choice any contains".split(" ").concat(e); a.exports=c;var n="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit contains".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};n.forEach(function(c){b[c]=a[c]});var c=new this.constructor(b.parent);c._baseState=b;return c};c.prototype._wrap=function(){var a=this._baseState;k.forEach(function(b){this[b]=function(){var c=new this.constructor(this);a.children.push(c);return c[b].apply(c,arguments)}},this)};c.prototype._init= function(a){var b=this._baseState;h(null===b.parent);a.call(this);b.children=b.children.filter(function(a){return a._baseState.parent===this},this);h.equal(b.children.length,1,"Root node can have only one child")};c.prototype._useArgs=function(a){var b=this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this);0!==c.length&&(h(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this}, this));0!==a.length&&(h(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!==typeof a||a.constructor!==Object)return a;var b={};Object.keys(a).forEach(function(c){c==(c|0)&&(c|=0);b[a[c]]=c});return b}))};"_peekTag _decodeTag _use _decodeStr _decodeObjid _decodeTime _decodeNull _decodeInt _decodeBool _decodeList _encodeComposite _encodeStr _encodeObjid _encodeTime _encodeNull _encodeInt _encodeBool".split(" ").forEach(function(a){c.prototype[a]=function(){throw Error(a+" not implemented for encoding: "+ -this._baseState.enc);}});d.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);h(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){h(a);var b=this._baseState;h(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;h(null===b["default"]);b["default"]=a;b.optional=!0;return this};c.prototype.explicit=function(a){var b= +this._baseState.enc);}});e.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);h(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){h(a);var b=this._baseState;h(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;h(null===b["default"]);b["default"]=a;b.optional=!0;return this};c.prototype.explicit=function(a){var b= this._baseState;h(null===b.explicit&&null===b.implicit);b.explicit=a;return this};c.prototype.implicit=function(a){var b=this._baseState;h(null===b.explicit&&null===b.implicit);b.implicit=a;return this};c.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);a.obj=!0;0!==b.length&&this._useArgs(b);return this};c.prototype.key=function(a){var b=this._baseState;h(null===b.key);b.key=a;return this};c.prototype.any=function(){this._baseState.any=!0;return this};c.prototype.choice= -function(a){var b=this._baseState;h(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype.contains=function(a){var b=this._baseState;h(null===b.use);b.contains=a;return this};c.prototype._decode=function(a,b){var c=this._baseState;if(null===c.parent)return a.wrapResult(c.children[0]._decode(a,b));var e=c["default"],f=!0,d=null;null!==c.key&&(d=a.enterKey(c.key));if(c.optional){var g=null;null!==c.explicit?g=c.explicit:null!==c.implicit?g= -c.implicit:null!==c.tag&&(g=c.tag);if(null!==g||c.any){if(f=this._peekTag(a,g,c.any),a.isError(f))return f}else{var h=a.save();try{null===c.choice?this._decodeGeneric(c.tag,a,b):this._decodeChoice(a,b),f=!0}catch(x){f=!1}a.restore(h)}}var k;c.obj&&f&&(k=a.enterObject());if(f){if(null!==c.explicit){g=this._decodeTag(a,c.explicit);if(a.isError(g))return g;a=g}g=a.offset;if(null===c.use&&null===c.choice){c.any&&(h=a.save());var m=this._decodeTag(a,null!==c.implicit?c.implicit:c.tag,c.any);if(a.isError(m))return m; -c.any?e=a.raw(h):a=m}b&&b.track&&null!==c.tag&&b.track(a.path(),g,a.length,"tagged");b&&b.track&&null!==c.tag&&b.track(a.path(),a.offset,a.length,"content");c.any||(e=null===c.choice?this._decodeGeneric(c.tag,a,b):this._decodeChoice(a,b));if(a.isError(e))return e;c.any||null!==c.choice||null===c.children||c.children.forEach(function(c){c._decode(a,b)});!c.contains||"octstr"!==c.tag&&"bitstr"!==c.tag||(e=new l(e),e=this._getUse(c.contains,a._reporterState.obj)._decode(e,b))}c.obj&&f&&(e=a.leaveObject(k)); -null===c.key||null===e&&!0!==f?null!==d&&a.exitKey(d):a.leaveKey(d,c.key,e);return e};c.prototype._decodeGeneric=function(a,b,c){var e=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,e.args[0],c):/str$/.test(a)?this._decodeStr(b,a,c):"objid"===a&&e.args?this._decodeObjid(b,e.args[0],e.args[1],c):"objid"===a?this._decodeObjid(b,null,null,c):"gentime"===a||"utctime"===a?this._decodeTime(b,a,c):"null_"===a?this._decodeNull(b,c):"bool"===a?this._decodeBool(b, -c):"objDesc"===a?this._decodeStr(b,a,c):"int"===a||"enum"===a?this._decodeInt(b,e.args&&e.args[0],c):null!==e.use?this._getUse(e.use,b._reporterState.obj)._decode(b,c):b.error("unknown tag: "+a)};c.prototype._getUse=function(a,b){var c=this._baseState;c.useDecoder=this._use(a,b);h(null===c.useDecoder._baseState.parent);c.useDecoder=c.useDecoder._baseState.children[0];c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit);return c.useDecoder}; -c.prototype._decodeChoice=function(a,b){var c=this._baseState,e=null,d=!1;Object.keys(c.choice).some(function(f){var g=a.save(),h=c.choice[f];try{var k=h._decode(a,b);if(a.isError(k))return!1;e={type:f,value:k};d=!0}catch(D){return a.restore(g),!1}return!0},this);return d?e:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)};c.prototype._encode=function(a,b,c){var e=this._baseState;if(null===e["default"]||e["default"]!==a)if(a=this._encodeValue(a, -b,c),void 0!==a&&!this._skipDefault(a,b,c))return a};c.prototype._encodeValue=function(a,b,c){var d=this._baseState;if(null===d.parent)return d.children[0]._encode(a,b||new e);var f=null;this.reporter=b;if(d.optional&&void 0===a)if(null!==d["default"])a=d["default"];else return;var g=null,h=!1;if(d.any)f=this._createEncoderBuffer(a);else if(d.choice)f=this._encodeChoice(a,b);else if(d.contains)g=this._getUse(d.contains,c)._encode(a,b),h=!0;else if(d.children)g=d.children.map(function(c){if("null_"=== -c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var e=b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(e);return c},this).filter(function(a){return a}),g=this._createEncoderBuffer(g);else if("seqof"===d.tag||"setof"===d.tag){if(!d.args||1!==d.args.length)return b.error("Too many args for : "+d.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array"); -g=this.clone();g._baseState.implicit=null;g=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0],a)._encode(c,b)},g))}else null!==d.use?f=this._getUse(d.use,c)._encode(a,b):(g=this._encodePrimitive(d.tag,a),h=!0);if(!d.any&&null===d.choice){c=null!==d.implicit?d.implicit:d.tag;var k=null===d.implicit?"universal":"context";null===c?null===d.use&&b.error("Tag could be ommited only for .use()"):null===d.use&&(f=this._encodeComposite(c,h,k,g))}null!==d.explicit&&(f= -this._encodeComposite(d.explicit,!1,"context",f));return f};c.prototype._encodeChoice=function(a,b){var c=this._baseState,e=c.choice[a.type];e||h(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return e._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if(/str$/.test(a))return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a|| -"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b,c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);if("objDesc"===a)return this._encodeStr(b,a);throw Error("Unsupported tag: "+a);};c.prototype._isNumstr=function(a){return/^[0-9 ]*$/.test(a)};c.prototype._isPrintstr=function(a){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(a)}},{"../base":22,"minimalistic-assert":125}],24:[function(d,a,b){function c(a){this._reporterState= -{obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a;this.rethrow(b)}d=d("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof e};c.prototype.save=function(){var a=this._reporterState;return{obj:a.obj,pathLen:a.path.length}};c.prototype.restore=function(a){var b=this._reporterState;b.obj=a.obj;b.path=b.path.slice(0,a.pathLen)};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.exitKey=function(a){var b=this._reporterState; -b.path=b.path.slice(0,a-1)};c.prototype.leaveKey=function(a,b,c){var e=this._reporterState;this.exitKey(a);null!==e.obj&&(e.obj[b]=c)};c.prototype.path=function(){return this._reporterState.path.join("/")};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof e;a=c?a:new e(b.path.map(function(a){return"["+JSON.stringify(a)+ -"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b=this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};d(e,Error);e.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace&&Error.captureStackTrace(this,e);if(!this.stack)try{throw Error(this.message);}catch(l){this.stack=l.stack}return this}},{inherits:119}],25:[function(d, -a,b){arguments[4][11][0].apply(b,arguments)},{"../constants":26,dup:11}],26:[function(d,a,b){arguments[4][12][0].apply(b,arguments)},{"./der":25,dup:12}],27:[function(d,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var e=n.tagClass[c>>6],d=0===(c&32);if(31===(c&31))for(var f=c,c=0;128===(f&128);){f=a.readUInt8(b);if(a.isError(f))return f; -c<<=7;c|=f&127}else c&=31;return{cls:e,primitive:d,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var e=a.readUInt8(c);if(a.isError(e))return e;if(!b&&128===e)return null;if(0===(e&128))return e;b=e&127;if(4a?2E3+a:1900+a;else return a.error("Decoding "+b+" time is not supported yet");return Date.UTC(a,b-1,e,d,f,c,0)};e.prototype._decodeNull=function(a){return null};e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};e.prototype._decodeInt=function(a,b){a=a.raw();a=new k(a);b&&(a=b[a.toString(10)]||a);return a};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":19,inherits:119}],28:[function(d,a, -b){b.der=d("./der");b.pem=d("./pem")},{"./der":27,"./pem":29}],29:[function(d,a,b){function c(a){g.call(this,a);this.enc="pem"}b=d("inherits");var e=d("buffer").Buffer,g=d("./der");b(c,g);a.exports=c;c.prototype.decode=function(a,b){a=a.toString().split(/[\r\n]+/g);for(var c=b.label.toUpperCase(),d=/^-----(BEGIN|END) ([^-]+)-----$/,f=-1,h=-1,l=0;la?"0"+a:a}b=d("inherits");var l=d("buffer").Buffer;d=d("../../asn1");var h=d.base,k=d.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a, -b).join()};b(e,h.Node);e.prototype._encodeComposite=function(a,b,c,e){a:{var d=a;a=this.reporter;"seqof"===d?d="seq":"setof"===d&&(d="set");if(k.tagByName.hasOwnProperty(d))d=k.tagByName[d];else if("number"!==typeof d||(d|0)!==d){a=a.error("Unknown tag: "+d);break a}31<=d?a=a.error("Multi-octet tag encoding unsupported"):(b||(d|=32),a=d|=k.tagClassByName[c||"universal"]<<6)}if(128>e.length)return b=new l(2),b[0]=a,b[1]=e.length,this._createEncoderBuffer([b,e]);d=1;for(c=e.length;256<=c;c>>=8)d++; -b=new l(2+d);b[0]=a;b[1]=128|d;c=1+d;for(a=e.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,e])};e.prototype._encodeStr=function(a,b){if("bitstr"===b)return this._createEncoderBuffer([a.unused|0,a.data]);if("bmpstr"===b){b=new l(2*a.length);for(var c=0;c>6],g=0===(c&32);if(31===(c&31))for(var f=c,c=0;128===(f&128);){f=a.readUInt8(b);if(a.isError(f))return f; +c<<=7;c|=f&127}else c&=31;return{cls:d,primitive:g,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(d&128))return d;b=d&127;if(4a?2E3+a:1900+a;else return a.error("Decoding "+b+" time is not supported yet");return Date.UTC(a,b-1,d,g,f,c,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){a=a.raw();a=new k(a);b&&(a=b[a.toString(10)]||a);return a};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":19,inherits:119}],28:[function(e,a, +b){b.der=e("./der");b.pem=e("./pem")},{"./der":27,"./pem":29}],29:[function(e,a,b){function c(a){f.call(this,a);this.enc="pem"}b=e("inherits");var d=e("buffer").Buffer,f=e("./der");b(c,f);a.exports=c;c.prototype.decode=function(a,b){a=a.toString().split(/[\r\n]+/g);for(var c=b.label.toUpperCase(),h=/^-----(BEGIN|END) ([^-]+)-----$/,g=-1,e=-1,l=0;la?"0"+a:a}b=e("inherits");var l=e("buffer").Buffer;e=e("../../asn1");var h=e.base,k=e.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a, +b).join()};b(d,h.Node);d.prototype._encodeComposite=function(a,b,c,d){a:{var g=a;a=this.reporter;"seqof"===g?g="seq":"setof"===g&&(g="set");if(k.tagByName.hasOwnProperty(g))g=k.tagByName[g];else if("number"!==typeof g||(g|0)!==g){a=a.error("Unknown tag: "+g);break a}31<=g?a=a.error("Multi-octet tag encoding unsupported"):(b||(g|=32),a=g|=k.tagClassByName[c||"universal"]<<6)}if(128>d.length)return b=new l(2),b[0]=a,b[1]=d.length,this._createEncoderBuffer([b,d]);g=1;for(c=d.length;256<=c;c>>=8)g++; +b=new l(2+g);b[0]=a;b[1]=128|g;c=1+g;for(a=d.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,d])};d.prototype._encodeStr=function(a,b){if("bitstr"===b)return this._createEncoderBuffer([a.unused|0,a.data]);if("bmpstr"===b){b=new l(2*a.length);for(var c=0;c>=7)e++;var e=new l(e),d=e.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],e[d--]=c&127;0<(c>>=7);)e[d--]=128|c&127;return this._createEncoderBuffer(e)};e.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[g(a.getFullYear()),g(a.getUTCMonth()+1),g(a.getUTCDate()),g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[g(a.getFullYear()%100),g(a.getUTCMonth()+1),g(a.getUTCDate()), -g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};e.prototype._encodeNull=function(){return this._createEncoderBuffer("")};e.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}"number"=== -typeof a||l.isBuffer(a)||(b=a.toArray(),!a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? -255:0)};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};e.prototype._skipDefault=function(a,b,c){var e=this._baseState;if(null===e["default"])return!1;a=a.join();void 0===e.defaultBuffer&&(e.defaultBuffer=this._encodeValue(e["default"],b,c).join());if(a.length!==e.defaultBuffer.length)return!1;for(b=0;b>18&63]+g[b>>12&63]+g[b>>6&63]+g[b&63]);return e.join("")}b.byteLength=function(a){return 3*a.length/4-c(a)};b.toByteArray=function(a){var b,e,d,g,k;b=a.length;g=c(a);k=new h(3*b/4-g);e=0>16&255,k[r++]=d>>8&255,k[r++]=d&255;2===g?(d= -l[a.charCodeAt(b)]<<2|l[a.charCodeAt(b+1)]>>4,k[r++]=d&255):1===g&&(d=l[a.charCodeAt(b)]<<10|l[a.charCodeAt(b+1)]<<4|l[a.charCodeAt(b+2)]>>2,k[r++]=d>>8&255,k[r++]=d&255);return k};b.fromByteArray=function(a){for(var b=a.length,c=b%3,d="",h=[],k=0,l=b-c;kl?l:k+16383));1===c?(a=a[b-1],d+=g[a>>2],d+=g[a<<4&63],d+="\x3d\x3d"):2===c&&(a=(a[b-2]<<8)+a[b-1],d+=g[a>>10],d+=g[a>>4&63],d+=g[a<<2&63],d+="\x3d");h.push(d);return h.join("")};var g=[],l=[],h="undefined"!==typeof Uint8Array? -Uint8Array:Array;for(d=0;64>d;++d)g[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d],l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(d)]=d;l[45]=62;l[95]=63},{}],34:[function(d,a,b){(function(a,b){function c(a,b){if(!a)throw Error(b||"Assertion failed");}function e(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a}function h(a,b,c){if(h.isBN(a))return a;this.negative=0;this.words=null;this.length= -0;this.red=null;if(null!==a){if("le"===b||"be"===b)c=b,b=10;this._init(a||0,b||10,c||"be")}}function k(a,b,c){var e=0;for(c=Math.min(a.length,c);b=d?e|d-49+10:17<=d&&22>=d?e|d-17+10:e|d&15;return e}function n(a,b,c,e){var d=0;for(c=Math.min(a.length,c);b>>26,l=g&67108863,g=Math.min(h,b.length-1),m=Math.max(0,h-a.length+1);m<=g;m++)d=a.words[h-m|0]|0,f=b.words[m]|0,d=d*f+l,k+=d/67108864|0,l=d&67108863;c.words[h]=l|0;g=k|0}0!==g?c.words[h]=g|0:c.length--;return c.strip()}function m(a,b){this.x=a;this.y=b}function p(a,b){this.name=a;this.p=new h(b,16);this.n=this.p.bitLength();this.k=(new h(1)).iushln(this.n).isub(this.p);this.tmp=this._tmp()}function u(){p.call(this, +2,40*a[0]+a[1])}var d=0;for(b=0;b>=7)d++;var d=new l(d),g=d.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],d[g--]=c&127;0<(c>>=7);)d[g--]=128|c&127;return this._createEncoderBuffer(d)};d.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[f(a.getFullYear()),f(a.getUTCMonth()+1),f(a.getUTCDate()),f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[f(a.getFullYear()%100),f(a.getUTCMonth()+1),f(a.getUTCDate()), +f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};d.prototype._encodeNull=function(){return this._createEncoderBuffer("")};d.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}"number"=== +typeof a||l.isBuffer(a)||(b=a.toArray(),!a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};d.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? +255:0)};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};d.prototype._skipDefault=function(a,b,c){var d=this._baseState;if(null===d["default"])return!1;a=a.join();void 0===d.defaultBuffer&&(d.defaultBuffer=this._encodeValue(d["default"],b,c).join());if(a.length!==d.defaultBuffer.length)return!1;for(b=0;b>18&63]+f[b>>12&63]+f[b>>6&63]+f[b&63]);return d.join("")}b.byteLength=function(a){return 3*a.length/4-c(a)};b.toByteArray=function(a){var b,d,f,e,k;b=a.length;e=c(a);k=new h(3*b/4-e);d=0>16&255,k[r++]=f>>8&255,k[r++]=f&255;2===e?(f= +l[a.charCodeAt(b)]<<2|l[a.charCodeAt(b+1)]>>4,k[r++]=f&255):1===e&&(f=l[a.charCodeAt(b)]<<10|l[a.charCodeAt(b+1)]<<4|l[a.charCodeAt(b+2)]>>2,k[r++]=f>>8&255,k[r++]=f&255);return k};b.fromByteArray=function(a){for(var b=a.length,c=b%3,h="",e=[],k=0,l=b-c;kl?l:k+16383));1===c?(a=a[b-1],h+=f[a>>2],h+=f[a<<4&63],h+="\x3d\x3d"):2===c&&(a=(a[b-2]<<8)+a[b-1],h+=f[a>>10],h+=f[a>>4&63],h+=f[a<<2&63],h+="\x3d");e.push(h);return e.join("")};var f=[],l=[],h="undefined"!==typeof Uint8Array? +Uint8Array:Array;for(e=0;64>e;++e)f[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e],l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;l[45]=62;l[95]=63},{}],34:[function(e,a,b){(function(a,b){function c(a,b){if(!a)throw Error(b||"Assertion failed");}function d(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a}function h(a,b,c){if(h.isBN(a))return a;this.negative=0;this.words=null;this.length= +0;this.red=null;if(null!==a){if("le"===b||"be"===b)c=b,b=10;this._init(a||0,b||10,c||"be")}}function k(a,b,c){var d=0;for(c=Math.min(a.length,c);b=g?d|g-49+10:17<=g&&22>=g?d|g-17+10:d|g&15;return d}function n(a,b,c,d){var g=0;for(c=Math.min(a.length,c);b>>26,l=h&67108863,h=Math.min(e,b.length-1),m=Math.max(0,e-a.length+1);m<=h;m++)g=a.words[e-m|0]|0,f=b.words[m]|0,g=g*f+l,k+=g/67108864|0,l=g&67108863;c.words[e]=l|0;h=k|0}0!==h?c.words[e]=h|0:c.length--;return c.strip()}function m(a,b){this.x=a;this.y=b}function p(a,b){this.name=a;this.p=new h(b,16);this.n=this.p.bitLength();this.k=(new h(1)).iushln(this.n).isub(this.p);this.tmp=this._tmp()}function u(){p.call(this, "k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function r(){p.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){p.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){p.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function q(a){"string"===typeof a?(a=h._prime(a),this.m=a.p,this.prime=a):(c(a.gtn(1),"modulus must be greater than 1"),this.m=a, -this.prime=null)}function A(a){q.call(this,a);this.shift=this.m.bitLength();0!==this.shift%26&&(this.shift+=26-this.shift%26);this.r=(new h(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)}"object"===typeof a?a.exports=h:b.BN=h;h.BN=h;h.wordSize=26;var D;try{D=d("buffer").Buffer}catch(z){}h.isBN=function(a){return a instanceof h?!0:null!==a&&"object"=== -typeof a&&a.constructor.wordSize===h.wordSize&&Array.isArray(a.words)};h.max=function(a,b){return 0a.cmp(b)?a:b};h.prototype._init=function(a,b,e){if("number"===typeof a)return this._initNumber(a,b,e);if("object"===typeof a)return this._initArray(a,b,e);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");var d=0;"-"===a[0]&&d++;16===b?this._parseHex(a,d):this._parseBase(a,b,d);"-"===a[0]&&(this.negative=1);this.strip();"le"===e&& -this._initArray(this.toArray(),b,e)};h.prototype._initNumber=function(a,b,e){0>a&&(this.negative=1,a=-a);67108864>a?(this.words=[a&67108863],this.length=1):4503599627370496>a?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[a&67108863,a/67108864&67108863,1],this.length=3);"le"===e&&this._initArray(this.toArray(),b,e)};h.prototype._initArray=function(a,b,e){c("number"===typeof a.length);if(0>=a.length)return this.words=[0],this.length=1,this;this.length= -Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);else if("le"===e)for(e=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);return this.strip()};h.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length- -b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6)d=k(a,c,c+6),this.words[e]|=d<>>26-f&4194303,f+=24,26<=f&&(f-=26,e++);c+6!==b&&(d=k(a,b,c+6),this.words[e]|=d<>>26-f&4194303);this.strip()};h.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var e=0,d=1;67108863>=d;d*=b)e++;e--;for(var d=d/b|0,f=a.length-c,g=f%e,f=Math.min(f,f-g)+c,h=c;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==g){e=1;c=n(a,h,a.length,b);for(h=0;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};h.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;ba.cmp(b)?a:b};h.prototype._init=function(a,b,d){if("number"===typeof a)return this._initNumber(a,b,d);if("object"===typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");var g=0;"-"===a[0]&&g++;16===b?this._parseHex(a,g):this._parseBase(a,b,g);"-"===a[0]&&(this.negative=1);this.strip();"le"===d&& +this._initArray(this.toArray(),b,d)};h.prototype._initNumber=function(a,b,d){0>a&&(this.negative=1,a=-a);67108864>a?(this.words=[a&67108863],this.length=1):4503599627370496>a?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[a&67108863,a/67108864&67108863,1],this.length=3);"le"===d&&this._initArray(this.toArray(),b,d)};h.prototype._initArray=function(a,b,d){c("number"===typeof a.length);if(0>=a.length)return this.words=[0],this.length=1,this;this.length= +Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,d++);else if("le"===d)for(d=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,d++);return this.strip()};h.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length- +b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6)g=k(a,c,c+6),this.words[d]|=g<>>26-f&4194303,f+=24,26<=f&&(f-=26,d++);c+6!==b&&(g=k(a,b,c+6),this.words[d]|=g<>>26-f&4194303);this.strip()};h.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var d=0,g=1;67108863>=g;g*=b)d++;d--;for(var g=g/b|0,f=a.length-c,h=f%d,f=Math.min(f,f-h)+c,e=c;ethis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==h){d=1;c=n(a,e,a.length,b);for(e=0;ethis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};h.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215;e=0!==d||f!==this.length-1?x[6-h.length]+h+e:h+e;a+=2;26<=a&&(a-=26,f--)}for(0!==d&&(e=d.toString(16)+e);0!==e.length%b;)e="0"+e;0!==this.negative&&(e="-"+e);return e}if(a===(a|0)&&2<=a&&36>=a){d=w[a];f=y[a];e="";g=this.clone();for(g.negative=0;!g.isZero();)h=g.modn(f).toString(a),g=g.idivn(f),e=g.isZero()?h+e:x[d-h.length]+h+e;for(this.isZero()&&(e="0"+e);0!==e.length%b;)e="0"+e;0!==this.negative&&(e="-"+e);return e}c(!1,"Base should be between 2 and 36")}; +w=[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],y=[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];h.prototype.toString=function(a,b){a=a||10;b=b|0||1;var d;if(16===a||"hex"===a){d="";for(var g=a=0,f=0;f>>24-a&16777215;d=0!==g||f!==this.length-1?x[6-e.length]+e+d:e+d;a+=2;26<=a&&(a-=26,f--)}for(0!==g&&(d=g.toString(16)+d);0!==d.length%b;)d="0"+d;0!==this.negative&&(d="-"+d);return d}if(a===(a|0)&&2<=a&&36>=a){g=w[a];f=y[a];d="";h=this.clone();for(h.negative=0;!h.isZero();)e=h.modn(f).toString(a),h=h.idivn(f),d=h.isZero()?e+d:x[g-e.length]+e+d;for(this.isZero()&&(d="0"+d);0!==d.length%b;)d="0"+d;0!==this.negative&&(d="-"+d);return d}c(!1,"Base should be between 2 and 36")}; h.prototype.toNumber=function(){var a=this.words[0];2===this.length?a+=67108864*this.words[1]:3===this.length&&1===this.words[2]?a+=4503599627370496+67108864*this.words[1]:2>>= +function(a,b,d){var g=this.byteLength();d=d||Math.max(1,g);c(g<=d,"byte array longer than desired length");c(0>>= 13);64<=a&&(b+=7,a>>>=7);8<=a&&(b+=4,a>>>=4);2<=a&&(b+=2,a>>>=2);return b+a};h.prototype._zeroBits=function(a){if(0===a)return 26;var b=0;0===(a&8191)&&(b+=13,a>>>=13);0===(a&127)&&(b+=7,a>>>=7);0===(a&15)&&(b+=4,a>>>=4);0===(a&3)&&(b+=2,a>>>=2);0===(a&1)&&b++;return b};h.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)};h.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)};h.prototype.iuand=function(a){var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};h.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)};h.prototype.iuxor=function(a){var b;this.length>a.length?b=this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};h.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)};h.prototype.inotn=function(a){c("number"===typeof a&&0<=a);var b=Math.ceil(a/26)|0;a%=26;this._expand(b);0>26-a);return this.strip()};h.prototype.notn=function(a){return this.clone().inotn(a)};h.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var e=a/26|0;a%=26;this._expand(e+1);this.words[e]=b?this.words[e]|1<a.length?c=this:(c=a,a=this);for(var e=b=0;e>>=26;for(;0!==b&&e>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;ea.length?this.clone().iadd(a):a.clone().iadd(this)};h.prototype.isub=function(a){if(0!==a.negative){a.negative=0;var b=this.iadd(a);a.negative=1;return b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();b=this.cmp(a);if(0===b)return this.negative=0,this.length=1,this.words[0]=0,this;var c;0>26,this.words[d]=b&67108863;for(;0!==e&&d>26,this.words[d]=b&67108863;if(0===e&&d>>13,n=e[1]|0,k=n&8191,u=n>>>13, -p=e[2]|0,n=p&8191,r=p>>>13,v=e[3]|0,p=v&8191,z=v>>>13,C=e[4]|0,v=C&8191,q=C>>>13,A=e[5]|0,C=A&8191,D=A>>>13,x=e[6]|0,A=x&8191,w=x>>>13,G=e[7]|0,x=G&8191,B=G>>>13,y=e[8]|0,G=y&8191,y=y>>>13,E=e[9]|0,e=E&8191,E=E>>>13,F=d[0]|0,fa=F&8191,ga=F>>>13,V=d[1]|0,F=V&8191,ha=V>>>13,W=d[2]|0,V=W&8191,ia=W>>>13,X=d[3]|0,W=X&8191,ja=X>>>13,Y=d[4]|0,X=Y&8191,ka=Y>>>13,Z=d[5]|0,Y=Z&8191,la=Z>>>13,aa=d[6]|0,Z=aa&8191,ma=aa>>>13,ba=d[7]|0,aa=ba&8191,na=ba>>>13,ca=d[8]|0,ba=ca&8191,ca=ca>>>13,da=d[9]|0,d=da&8191,da= -da>>>13;c.negative=a.negative^b.negative;c.length=19;h=Math.imul(l,fa);a=Math.imul(l,ga);a=a+Math.imul(m,fa)|0;b=Math.imul(m,ga);var ra=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ra>>>26)|0,ra=ra&67108863;h=Math.imul(k,fa);a=Math.imul(k,ga);a=a+Math.imul(u,fa)|0;b=Math.imul(u,ga);h=h+Math.imul(l,F)|0;a=a+Math.imul(l,ha)|0;a=a+Math.imul(m,F)|0;b=b+Math.imul(m,ha)|0;var sa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(sa>>>26)|0,sa=sa&67108863;h=Math.imul(n,fa);a=Math.imul(n,ga);a=a+Math.imul(r,fa)|0; -b=Math.imul(r,ga);h=h+Math.imul(k,F)|0;a=a+Math.imul(k,ha)|0;a=a+Math.imul(u,F)|0;b=b+Math.imul(u,ha)|0;h=h+Math.imul(l,V)|0;a=a+Math.imul(l,ia)|0;a=a+Math.imul(m,V)|0;b=b+Math.imul(m,ia)|0;var ta=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ta>>>26)|0,ta=ta&67108863;h=Math.imul(p,fa);a=Math.imul(p,ga);a=a+Math.imul(z,fa)|0;b=Math.imul(z,ga);h=h+Math.imul(n,F)|0;a=a+Math.imul(n,ha)|0;a=a+Math.imul(r,F)|0;b=b+Math.imul(r,ha)|0;h=h+Math.imul(k,V)|0;a=a+Math.imul(k,ia)|0;a=a+Math.imul(u,V)|0;b=b+Math.imul(u, -ia)|0;h=h+Math.imul(l,W)|0;a=a+Math.imul(l,ja)|0;a=a+Math.imul(m,W)|0;b=b+Math.imul(m,ja)|0;var ua=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ua>>>26)|0,ua=ua&67108863;h=Math.imul(v,fa);a=Math.imul(v,ga);a=a+Math.imul(q,fa)|0;b=Math.imul(q,ga);h=h+Math.imul(p,F)|0;a=a+Math.imul(p,ha)|0;a=a+Math.imul(z,F)|0;b=b+Math.imul(z,ha)|0;h=h+Math.imul(n,V)|0;a=a+Math.imul(n,ia)|0;a=a+Math.imul(r,V)|0;b=b+Math.imul(r,ia)|0;h=h+Math.imul(k,W)|0;a=a+Math.imul(k,ja)|0;a=a+Math.imul(u,W)|0;b=b+Math.imul(u,ja)|0; -h=h+Math.imul(l,X)|0;a=a+Math.imul(l,ka)|0;a=a+Math.imul(m,X)|0;b=b+Math.imul(m,ka)|0;var va=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(va>>>26)|0,va=va&67108863;h=Math.imul(C,fa);a=Math.imul(C,ga);a=a+Math.imul(D,fa)|0;b=Math.imul(D,ga);h=h+Math.imul(v,F)|0;a=a+Math.imul(v,ha)|0;a=a+Math.imul(q,F)|0;b=b+Math.imul(q,ha)|0;h=h+Math.imul(p,V)|0;a=a+Math.imul(p,ia)|0;a=a+Math.imul(z,V)|0;b=b+Math.imul(z,ia)|0;h=h+Math.imul(n,W)|0;a=a+Math.imul(n,ja)|0;a=a+Math.imul(r,W)|0;b=b+Math.imul(r,ja)|0;h=h+Math.imul(k, -X)|0;a=a+Math.imul(k,ka)|0;a=a+Math.imul(u,X)|0;b=b+Math.imul(u,ka)|0;h=h+Math.imul(l,Y)|0;a=a+Math.imul(l,la)|0;a=a+Math.imul(m,Y)|0;b=b+Math.imul(m,la)|0;var wa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(wa>>>26)|0,wa=wa&67108863;h=Math.imul(A,fa);a=Math.imul(A,ga);a=a+Math.imul(w,fa)|0;b=Math.imul(w,ga);h=h+Math.imul(C,F)|0;a=a+Math.imul(C,ha)|0;a=a+Math.imul(D,F)|0;b=b+Math.imul(D,ha)|0;h=h+Math.imul(v,V)|0;a=a+Math.imul(v,ia)|0;a=a+Math.imul(q,V)|0;b=b+Math.imul(q,ia)|0;h=h+Math.imul(p,W)|0; -a=a+Math.imul(p,ja)|0;a=a+Math.imul(z,W)|0;b=b+Math.imul(z,ja)|0;h=h+Math.imul(n,X)|0;a=a+Math.imul(n,ka)|0;a=a+Math.imul(r,X)|0;b=b+Math.imul(r,ka)|0;h=h+Math.imul(k,Y)|0;a=a+Math.imul(k,la)|0;a=a+Math.imul(u,Y)|0;b=b+Math.imul(u,la)|0;h=h+Math.imul(l,Z)|0;a=a+Math.imul(l,ma)|0;a=a+Math.imul(m,Z)|0;b=b+Math.imul(m,ma)|0;var xa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(xa>>>26)|0,xa=xa&67108863;h=Math.imul(x,fa);a=Math.imul(x,ga);a=a+Math.imul(B,fa)|0;b=Math.imul(B,ga);h=h+Math.imul(A,F)|0;a=a+Math.imul(A, -ha)|0;a=a+Math.imul(w,F)|0;b=b+Math.imul(w,ha)|0;h=h+Math.imul(C,V)|0;a=a+Math.imul(C,ia)|0;a=a+Math.imul(D,V)|0;b=b+Math.imul(D,ia)|0;h=h+Math.imul(v,W)|0;a=a+Math.imul(v,ja)|0;a=a+Math.imul(q,W)|0;b=b+Math.imul(q,ja)|0;h=h+Math.imul(p,X)|0;a=a+Math.imul(p,ka)|0;a=a+Math.imul(z,X)|0;b=b+Math.imul(z,ka)|0;h=h+Math.imul(n,Y)|0;a=a+Math.imul(n,la)|0;a=a+Math.imul(r,Y)|0;b=b+Math.imul(r,la)|0;h=h+Math.imul(k,Z)|0;a=a+Math.imul(k,ma)|0;a=a+Math.imul(u,Z)|0;b=b+Math.imul(u,ma)|0;h=h+Math.imul(l,aa)|0; -a=a+Math.imul(l,na)|0;a=a+Math.imul(m,aa)|0;b=b+Math.imul(m,na)|0;var ya=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ya>>>26)|0,ya=ya&67108863;h=Math.imul(G,fa);a=Math.imul(G,ga);a=a+Math.imul(y,fa)|0;b=Math.imul(y,ga);h=h+Math.imul(x,F)|0;a=a+Math.imul(x,ha)|0;a=a+Math.imul(B,F)|0;b=b+Math.imul(B,ha)|0;h=h+Math.imul(A,V)|0;a=a+Math.imul(A,ia)|0;a=a+Math.imul(w,V)|0;b=b+Math.imul(w,ia)|0;h=h+Math.imul(C,W)|0;a=a+Math.imul(C,ja)|0;a=a+Math.imul(D,W)|0;b=b+Math.imul(D,ja)|0;h=h+Math.imul(v,X)|0;a=a+ -Math.imul(v,ka)|0;a=a+Math.imul(q,X)|0;b=b+Math.imul(q,ka)|0;h=h+Math.imul(p,Y)|0;a=a+Math.imul(p,la)|0;a=a+Math.imul(z,Y)|0;b=b+Math.imul(z,la)|0;h=h+Math.imul(n,Z)|0;a=a+Math.imul(n,ma)|0;a=a+Math.imul(r,Z)|0;b=b+Math.imul(r,ma)|0;h=h+Math.imul(k,aa)|0;a=a+Math.imul(k,na)|0;a=a+Math.imul(u,aa)|0;b=b+Math.imul(u,na)|0;h=h+Math.imul(l,ba)|0;a=a+Math.imul(l,ca)|0;a=a+Math.imul(m,ba)|0;b=b+Math.imul(m,ca)|0;var za=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(za>>>26)|0,za=za&67108863;h=Math.imul(e,fa); -a=Math.imul(e,ga);a=a+Math.imul(E,fa)|0;b=Math.imul(E,ga);h=h+Math.imul(G,F)|0;a=a+Math.imul(G,ha)|0;a=a+Math.imul(y,F)|0;b=b+Math.imul(y,ha)|0;h=h+Math.imul(x,V)|0;a=a+Math.imul(x,ia)|0;a=a+Math.imul(B,V)|0;b=b+Math.imul(B,ia)|0;h=h+Math.imul(A,W)|0;a=a+Math.imul(A,ja)|0;a=a+Math.imul(w,W)|0;b=b+Math.imul(w,ja)|0;h=h+Math.imul(C,X)|0;a=a+Math.imul(C,ka)|0;a=a+Math.imul(D,X)|0;b=b+Math.imul(D,ka)|0;h=h+Math.imul(v,Y)|0;a=a+Math.imul(v,la)|0;a=a+Math.imul(q,Y)|0;b=b+Math.imul(q,la)|0;h=h+Math.imul(p, -Z)|0;a=a+Math.imul(p,ma)|0;a=a+Math.imul(z,Z)|0;b=b+Math.imul(z,ma)|0;h=h+Math.imul(n,aa)|0;a=a+Math.imul(n,na)|0;a=a+Math.imul(r,aa)|0;b=b+Math.imul(r,na)|0;h=h+Math.imul(k,ba)|0;a=a+Math.imul(k,ca)|0;a=a+Math.imul(u,ba)|0;b=b+Math.imul(u,ca)|0;h=h+Math.imul(l,d)|0;a=a+Math.imul(l,da)|0;a=a+Math.imul(m,d)|0;b=b+Math.imul(m,da)|0;l=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(l>>>26)|0;l&=67108863;h=Math.imul(e,F);a=Math.imul(e,ha);a=a+Math.imul(E,F)|0;b=Math.imul(E,ha);h=h+Math.imul(G,V)|0;a=a+Math.imul(G, -ia)|0;a=a+Math.imul(y,V)|0;b=b+Math.imul(y,ia)|0;h=h+Math.imul(x,W)|0;a=a+Math.imul(x,ja)|0;a=a+Math.imul(B,W)|0;b=b+Math.imul(B,ja)|0;h=h+Math.imul(A,X)|0;a=a+Math.imul(A,ka)|0;a=a+Math.imul(w,X)|0;b=b+Math.imul(w,ka)|0;h=h+Math.imul(C,Y)|0;a=a+Math.imul(C,la)|0;a=a+Math.imul(D,Y)|0;b=b+Math.imul(D,la)|0;h=h+Math.imul(v,Z)|0;a=a+Math.imul(v,ma)|0;a=a+Math.imul(q,Z)|0;b=b+Math.imul(q,ma)|0;h=h+Math.imul(p,aa)|0;a=a+Math.imul(p,na)|0;a=a+Math.imul(z,aa)|0;b=b+Math.imul(z,na)|0;h=h+Math.imul(n,ba)| -0;a=a+Math.imul(n,ca)|0;a=a+Math.imul(r,ba)|0;b=b+Math.imul(r,ca)|0;h=h+Math.imul(k,d)|0;a=a+Math.imul(k,da)|0;a=a+Math.imul(u,d)|0;b=b+Math.imul(u,da)|0;k=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(k>>>26)|0;k&=67108863;h=Math.imul(e,V);a=Math.imul(e,ia);a=a+Math.imul(E,V)|0;b=Math.imul(E,ia);h=h+Math.imul(G,W)|0;a=a+Math.imul(G,ja)|0;a=a+Math.imul(y,W)|0;b=b+Math.imul(y,ja)|0;h=h+Math.imul(x,X)|0;a=a+Math.imul(x,ka)|0;a=a+Math.imul(B,X)|0;b=b+Math.imul(B,ka)|0;h=h+Math.imul(A,Y)|0;a=a+Math.imul(A, -la)|0;a=a+Math.imul(w,Y)|0;b=b+Math.imul(w,la)|0;h=h+Math.imul(C,Z)|0;a=a+Math.imul(C,ma)|0;a=a+Math.imul(D,Z)|0;b=b+Math.imul(D,ma)|0;h=h+Math.imul(v,aa)|0;a=a+Math.imul(v,na)|0;a=a+Math.imul(q,aa)|0;b=b+Math.imul(q,na)|0;h=h+Math.imul(p,ba)|0;a=a+Math.imul(p,ca)|0;a=a+Math.imul(z,ba)|0;b=b+Math.imul(z,ca)|0;h=h+Math.imul(n,d)|0;a=a+Math.imul(n,da)|0;a=a+Math.imul(r,d)|0;b=b+Math.imul(r,da)|0;n=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(n>>>26)|0;n&=67108863;h=Math.imul(e,W);a=Math.imul(e,ja);a= -a+Math.imul(E,W)|0;b=Math.imul(E,ja);h=h+Math.imul(G,X)|0;a=a+Math.imul(G,ka)|0;a=a+Math.imul(y,X)|0;b=b+Math.imul(y,ka)|0;h=h+Math.imul(x,Y)|0;a=a+Math.imul(x,la)|0;a=a+Math.imul(B,Y)|0;b=b+Math.imul(B,la)|0;h=h+Math.imul(A,Z)|0;a=a+Math.imul(A,ma)|0;a=a+Math.imul(w,Z)|0;b=b+Math.imul(w,ma)|0;h=h+Math.imul(C,aa)|0;a=a+Math.imul(C,na)|0;a=a+Math.imul(D,aa)|0;b=b+Math.imul(D,na)|0;h=h+Math.imul(v,ba)|0;a=a+Math.imul(v,ca)|0;a=a+Math.imul(q,ba)|0;b=b+Math.imul(q,ca)|0;h=h+Math.imul(p,d)|0;a=a+Math.imul(p, -da)|0;a=a+Math.imul(z,d)|0;b=b+Math.imul(z,da)|0;p=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(p>>>26)|0;p&=67108863;h=Math.imul(e,X);a=Math.imul(e,ka);a=a+Math.imul(E,X)|0;b=Math.imul(E,ka);h=h+Math.imul(G,Y)|0;a=a+Math.imul(G,la)|0;a=a+Math.imul(y,Y)|0;b=b+Math.imul(y,la)|0;h=h+Math.imul(x,Z)|0;a=a+Math.imul(x,ma)|0;a=a+Math.imul(B,Z)|0;b=b+Math.imul(B,ma)|0;h=h+Math.imul(A,aa)|0;a=a+Math.imul(A,na)|0;a=a+Math.imul(w,aa)|0;b=b+Math.imul(w,na)|0;h=h+Math.imul(C,ba)|0;a=a+Math.imul(C,ca)|0;a=a+Math.imul(D, -ba)|0;b=b+Math.imul(D,ca)|0;h=h+Math.imul(v,d)|0;a=a+Math.imul(v,da)|0;a=a+Math.imul(q,d)|0;b=b+Math.imul(q,da)|0;v=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(v>>>26)|0;v&=67108863;h=Math.imul(e,Y);a=Math.imul(e,la);a=a+Math.imul(E,Y)|0;b=Math.imul(E,la);h=h+Math.imul(G,Z)|0;a=a+Math.imul(G,ma)|0;a=a+Math.imul(y,Z)|0;b=b+Math.imul(y,ma)|0;h=h+Math.imul(x,aa)|0;a=a+Math.imul(x,na)|0;a=a+Math.imul(B,aa)|0;b=b+Math.imul(B,na)|0;h=h+Math.imul(A,ba)|0;a=a+Math.imul(A,ca)|0;a=a+Math.imul(w,ba)|0;b=b+Math.imul(w, -ca)|0;h=h+Math.imul(C,d)|0;a=a+Math.imul(C,da)|0;a=a+Math.imul(D,d)|0;b=b+Math.imul(D,da)|0;C=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(C>>>26)|0;C&=67108863;h=Math.imul(e,Z);a=Math.imul(e,ma);a=a+Math.imul(E,Z)|0;b=Math.imul(E,ma);h=h+Math.imul(G,aa)|0;a=a+Math.imul(G,na)|0;a=a+Math.imul(y,aa)|0;b=b+Math.imul(y,na)|0;h=h+Math.imul(x,ba)|0;a=a+Math.imul(x,ca)|0;a=a+Math.imul(B,ba)|0;b=b+Math.imul(B,ca)|0;h=h+Math.imul(A,d)|0;a=a+Math.imul(A,da)|0;a=a+Math.imul(w,d)|0;b=b+Math.imul(w,da)|0;A=(g+h| -0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(A>>>26)|0;A&=67108863;h=Math.imul(e,aa);a=Math.imul(e,na);a=a+Math.imul(E,aa)|0;b=Math.imul(E,na);h=h+Math.imul(G,ba)|0;a=a+Math.imul(G,ca)|0;a=a+Math.imul(y,ba)|0;b=b+Math.imul(y,ca)|0;h=h+Math.imul(x,d)|0;a=a+Math.imul(x,da)|0;a=a+Math.imul(B,d)|0;b=b+Math.imul(B,da)|0;x=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(x>>>26)|0;x&=67108863;h=Math.imul(e,ba);a=Math.imul(e,ca);a=a+Math.imul(E,ba)|0;b=Math.imul(E,ca);h=h+Math.imul(G,d)|0;a=a+Math.imul(G,da)|0;a=a+Math.imul(y, -d)|0;b=b+Math.imul(y,da)|0;G=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(G>>>26)|0;G&=67108863;h=Math.imul(e,d);a=Math.imul(e,da);a=a+Math.imul(E,d)|0;b=Math.imul(E,da);m=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(m>>>26)|0;f[0]=ra;f[1]=sa;f[2]=ta;f[3]=ua;f[4]=va;f[5]=wa;f[6]=xa;f[7]=ya;f[8]=za;f[9]=l;f[10]=k;f[11]=n;f[12]=p;f[13]=v;f[14]=C;f[15]=A;f[16]=x;f[17]=G;f[18]=m&67108863;0!==g&&(f[19]=g,c.length++);return c};Math.imul||(B=f);h.prototype.mulTo=function(a,b){var c=this.length+a.length;if(10=== -this.length&&10===a.length)a=B(this,a,b);else if(63>c)a=f(this,a,b);else if(1024>c){b.negative=a.negative^this.negative;b.length=this.length+a.length;for(var e=0,d=c=0;d>>26)|0,c=c+(h>>>26),h=h&67108863;b.words[d]=e;e=h}0!==e?b.words[d]=e:b.length--;a=b.strip()}else a=(new m).mulp(this,a, -b);return a};m.prototype.makeRBT=function(a){for(var b=Array(a),c=h.prototype._countBits(a)-1,e=0;e>=1;return c};m.prototype.permute=function(a,b,c,e,d,f){for(var h=0;h>>=1)c++;return 1<=c))for(var e=0;ec?0:c/67108864|0;return a};m.prototype.convert13b=function(a,b,e,d){for(var f=0,h=0;h>>=13,e[2*h+1]=f&8191,f>>>=13;for(h=2*b;ha);for(var b=0,e=0;e>26,b=b+(d/67108864|0),b=b+(f>>>26);this.words[e]=f&67108863}0!==b&&(this.words[e]=b,this.length++);return this};h.prototype.muln= -function(a){return this.clone().imuln(a)};h.prototype.sqr=function(){return this.mul(this)};h.prototype.isqr=function(){return this.imul(this.clone())};h.prototype.pow=function(a){for(var b=Array(a.bitLength()),c=0;c>>e}if(0===b.length)return new h(1);a=this;for(c=0;c>>26-b<<26-b,d;if(0!==b){var f=0;for(d=0;d>>26-b}f&&(this.words[d]=f,this.length++)}if(0!==a){for(d=this.length-1;0<=d;d--)this.words[d+a]=this.words[d];for(d=0;d>>d<f)for(this.length-=f,h=0;h=b);h--){var g=this.words[h]|0;this.words[h]=f<<26-d|g>>>d;f=g&a}e&&0!==f&&(e.words[e.length++]=f);0===this.length&&(this.words[0]=0,this.length=1);return this.strip()};h.prototype.ishrn= -function(a,b,e){c(0===this.negative);return this.iushrn(a,b,e)};h.prototype.shln=function(a){return this.clone().ishln(a)};h.prototype.ushln=function(a){return this.clone().iushln(a)};h.prototype.shrn=function(a){return this.clone().ishrn(a)};h.prototype.ushrn=function(a){return this.clone().iushrn(a)};h.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a?!1:!!(this.words[a]&1<a.length?this.clone().ixor(a):a.clone().ixor(this)};h.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)};h.prototype.inotn=function(a){c("number"===typeof a&&0<=a);var b=Math.ceil(a/26)|0;a%=26;this._expand(b);0>26-a);return this.strip()};h.prototype.notn=function(a){return this.clone().inotn(a)};h.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var d=a/26|0;a%=26;this._expand(d+1);this.words[d]=b?this.words[d]|1<a.length?c=this:(c=a,a=this);for(var d=b=0;d>>=26;for(;0!==b&&d>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;da.length?this.clone().iadd(a):a.clone().iadd(this)};h.prototype.isub=function(a){if(0!==a.negative){a.negative=0;var b=this.iadd(a);a.negative=1;return b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();b=this.cmp(a);if(0===b)return this.negative=0,this.length=1,this.words[0]=0,this;var c;0>26,this.words[g]=b&67108863;for(;0!==d&&g>26,this.words[g]=b&67108863;if(0===d&&g>>13,n=d[1]|0,k=n&8191,u=n>>>13, +p=d[2]|0,n=p&8191,r=p>>>13,v=d[3]|0,p=v&8191,B=v>>>13,C=d[4]|0,v=C&8191,q=C>>>13,z=d[5]|0,C=z&8191,D=z>>>13,x=d[6]|0,z=x&8191,w=x>>>13,G=d[7]|0,x=G&8191,A=G>>>13,y=d[8]|0,G=y&8191,y=y>>>13,E=d[9]|0,d=E&8191,E=E>>>13,F=g[0]|0,fa=F&8191,ga=F>>>13,V=g[1]|0,F=V&8191,ha=V>>>13,W=g[2]|0,V=W&8191,ia=W>>>13,X=g[3]|0,W=X&8191,ja=X>>>13,Y=g[4]|0,X=Y&8191,ka=Y>>>13,Z=g[5]|0,Y=Z&8191,la=Z>>>13,aa=g[6]|0,Z=aa&8191,ma=aa>>>13,ba=g[7]|0,aa=ba&8191,na=ba>>>13,ca=g[8]|0,ba=ca&8191,ca=ca>>>13,da=g[9]|0,g=da&8191,da= +da>>>13;c.negative=a.negative^b.negative;c.length=19;e=Math.imul(l,fa);a=Math.imul(l,ga);a=a+Math.imul(m,fa)|0;b=Math.imul(m,ga);var ra=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ra>>>26)|0,ra=ra&67108863;e=Math.imul(k,fa);a=Math.imul(k,ga);a=a+Math.imul(u,fa)|0;b=Math.imul(u,ga);e=e+Math.imul(l,F)|0;a=a+Math.imul(l,ha)|0;a=a+Math.imul(m,F)|0;b=b+Math.imul(m,ha)|0;var sa=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(sa>>>26)|0,sa=sa&67108863;e=Math.imul(n,fa);a=Math.imul(n,ga);a=a+Math.imul(r,fa)|0; +b=Math.imul(r,ga);e=e+Math.imul(k,F)|0;a=a+Math.imul(k,ha)|0;a=a+Math.imul(u,F)|0;b=b+Math.imul(u,ha)|0;e=e+Math.imul(l,V)|0;a=a+Math.imul(l,ia)|0;a=a+Math.imul(m,V)|0;b=b+Math.imul(m,ia)|0;var ta=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ta>>>26)|0,ta=ta&67108863;e=Math.imul(p,fa);a=Math.imul(p,ga);a=a+Math.imul(B,fa)|0;b=Math.imul(B,ga);e=e+Math.imul(n,F)|0;a=a+Math.imul(n,ha)|0;a=a+Math.imul(r,F)|0;b=b+Math.imul(r,ha)|0;e=e+Math.imul(k,V)|0;a=a+Math.imul(k,ia)|0;a=a+Math.imul(u,V)|0;b=b+Math.imul(u, +ia)|0;e=e+Math.imul(l,W)|0;a=a+Math.imul(l,ja)|0;a=a+Math.imul(m,W)|0;b=b+Math.imul(m,ja)|0;var ua=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ua>>>26)|0,ua=ua&67108863;e=Math.imul(v,fa);a=Math.imul(v,ga);a=a+Math.imul(q,fa)|0;b=Math.imul(q,ga);e=e+Math.imul(p,F)|0;a=a+Math.imul(p,ha)|0;a=a+Math.imul(B,F)|0;b=b+Math.imul(B,ha)|0;e=e+Math.imul(n,V)|0;a=a+Math.imul(n,ia)|0;a=a+Math.imul(r,V)|0;b=b+Math.imul(r,ia)|0;e=e+Math.imul(k,W)|0;a=a+Math.imul(k,ja)|0;a=a+Math.imul(u,W)|0;b=b+Math.imul(u,ja)|0; +e=e+Math.imul(l,X)|0;a=a+Math.imul(l,ka)|0;a=a+Math.imul(m,X)|0;b=b+Math.imul(m,ka)|0;var va=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(va>>>26)|0,va=va&67108863;e=Math.imul(C,fa);a=Math.imul(C,ga);a=a+Math.imul(D,fa)|0;b=Math.imul(D,ga);e=e+Math.imul(v,F)|0;a=a+Math.imul(v,ha)|0;a=a+Math.imul(q,F)|0;b=b+Math.imul(q,ha)|0;e=e+Math.imul(p,V)|0;a=a+Math.imul(p,ia)|0;a=a+Math.imul(B,V)|0;b=b+Math.imul(B,ia)|0;e=e+Math.imul(n,W)|0;a=a+Math.imul(n,ja)|0;a=a+Math.imul(r,W)|0;b=b+Math.imul(r,ja)|0;e=e+Math.imul(k, +X)|0;a=a+Math.imul(k,ka)|0;a=a+Math.imul(u,X)|0;b=b+Math.imul(u,ka)|0;e=e+Math.imul(l,Y)|0;a=a+Math.imul(l,la)|0;a=a+Math.imul(m,Y)|0;b=b+Math.imul(m,la)|0;var wa=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(wa>>>26)|0,wa=wa&67108863;e=Math.imul(z,fa);a=Math.imul(z,ga);a=a+Math.imul(w,fa)|0;b=Math.imul(w,ga);e=e+Math.imul(C,F)|0;a=a+Math.imul(C,ha)|0;a=a+Math.imul(D,F)|0;b=b+Math.imul(D,ha)|0;e=e+Math.imul(v,V)|0;a=a+Math.imul(v,ia)|0;a=a+Math.imul(q,V)|0;b=b+Math.imul(q,ia)|0;e=e+Math.imul(p,W)|0; +a=a+Math.imul(p,ja)|0;a=a+Math.imul(B,W)|0;b=b+Math.imul(B,ja)|0;e=e+Math.imul(n,X)|0;a=a+Math.imul(n,ka)|0;a=a+Math.imul(r,X)|0;b=b+Math.imul(r,ka)|0;e=e+Math.imul(k,Y)|0;a=a+Math.imul(k,la)|0;a=a+Math.imul(u,Y)|0;b=b+Math.imul(u,la)|0;e=e+Math.imul(l,Z)|0;a=a+Math.imul(l,ma)|0;a=a+Math.imul(m,Z)|0;b=b+Math.imul(m,ma)|0;var xa=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(xa>>>26)|0,xa=xa&67108863;e=Math.imul(x,fa);a=Math.imul(x,ga);a=a+Math.imul(A,fa)|0;b=Math.imul(A,ga);e=e+Math.imul(z,F)|0;a=a+Math.imul(z, +ha)|0;a=a+Math.imul(w,F)|0;b=b+Math.imul(w,ha)|0;e=e+Math.imul(C,V)|0;a=a+Math.imul(C,ia)|0;a=a+Math.imul(D,V)|0;b=b+Math.imul(D,ia)|0;e=e+Math.imul(v,W)|0;a=a+Math.imul(v,ja)|0;a=a+Math.imul(q,W)|0;b=b+Math.imul(q,ja)|0;e=e+Math.imul(p,X)|0;a=a+Math.imul(p,ka)|0;a=a+Math.imul(B,X)|0;b=b+Math.imul(B,ka)|0;e=e+Math.imul(n,Y)|0;a=a+Math.imul(n,la)|0;a=a+Math.imul(r,Y)|0;b=b+Math.imul(r,la)|0;e=e+Math.imul(k,Z)|0;a=a+Math.imul(k,ma)|0;a=a+Math.imul(u,Z)|0;b=b+Math.imul(u,ma)|0;e=e+Math.imul(l,aa)|0; +a=a+Math.imul(l,na)|0;a=a+Math.imul(m,aa)|0;b=b+Math.imul(m,na)|0;var ya=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ya>>>26)|0,ya=ya&67108863;e=Math.imul(G,fa);a=Math.imul(G,ga);a=a+Math.imul(y,fa)|0;b=Math.imul(y,ga);e=e+Math.imul(x,F)|0;a=a+Math.imul(x,ha)|0;a=a+Math.imul(A,F)|0;b=b+Math.imul(A,ha)|0;e=e+Math.imul(z,V)|0;a=a+Math.imul(z,ia)|0;a=a+Math.imul(w,V)|0;b=b+Math.imul(w,ia)|0;e=e+Math.imul(C,W)|0;a=a+Math.imul(C,ja)|0;a=a+Math.imul(D,W)|0;b=b+Math.imul(D,ja)|0;e=e+Math.imul(v,X)|0;a=a+ +Math.imul(v,ka)|0;a=a+Math.imul(q,X)|0;b=b+Math.imul(q,ka)|0;e=e+Math.imul(p,Y)|0;a=a+Math.imul(p,la)|0;a=a+Math.imul(B,Y)|0;b=b+Math.imul(B,la)|0;e=e+Math.imul(n,Z)|0;a=a+Math.imul(n,ma)|0;a=a+Math.imul(r,Z)|0;b=b+Math.imul(r,ma)|0;e=e+Math.imul(k,aa)|0;a=a+Math.imul(k,na)|0;a=a+Math.imul(u,aa)|0;b=b+Math.imul(u,na)|0;e=e+Math.imul(l,ba)|0;a=a+Math.imul(l,ca)|0;a=a+Math.imul(m,ba)|0;b=b+Math.imul(m,ca)|0;var za=(h+e|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(za>>>26)|0,za=za&67108863;e=Math.imul(d,fa); +a=Math.imul(d,ga);a=a+Math.imul(E,fa)|0;b=Math.imul(E,ga);e=e+Math.imul(G,F)|0;a=a+Math.imul(G,ha)|0;a=a+Math.imul(y,F)|0;b=b+Math.imul(y,ha)|0;e=e+Math.imul(x,V)|0;a=a+Math.imul(x,ia)|0;a=a+Math.imul(A,V)|0;b=b+Math.imul(A,ia)|0;e=e+Math.imul(z,W)|0;a=a+Math.imul(z,ja)|0;a=a+Math.imul(w,W)|0;b=b+Math.imul(w,ja)|0;e=e+Math.imul(C,X)|0;a=a+Math.imul(C,ka)|0;a=a+Math.imul(D,X)|0;b=b+Math.imul(D,ka)|0;e=e+Math.imul(v,Y)|0;a=a+Math.imul(v,la)|0;a=a+Math.imul(q,Y)|0;b=b+Math.imul(q,la)|0;e=e+Math.imul(p, +Z)|0;a=a+Math.imul(p,ma)|0;a=a+Math.imul(B,Z)|0;b=b+Math.imul(B,ma)|0;e=e+Math.imul(n,aa)|0;a=a+Math.imul(n,na)|0;a=a+Math.imul(r,aa)|0;b=b+Math.imul(r,na)|0;e=e+Math.imul(k,ba)|0;a=a+Math.imul(k,ca)|0;a=a+Math.imul(u,ba)|0;b=b+Math.imul(u,ca)|0;e=e+Math.imul(l,g)|0;a=a+Math.imul(l,da)|0;a=a+Math.imul(m,g)|0;b=b+Math.imul(m,da)|0;l=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(l>>>26)|0;l&=67108863;e=Math.imul(d,F);a=Math.imul(d,ha);a=a+Math.imul(E,F)|0;b=Math.imul(E,ha);e=e+Math.imul(G,V)|0;a=a+Math.imul(G, +ia)|0;a=a+Math.imul(y,V)|0;b=b+Math.imul(y,ia)|0;e=e+Math.imul(x,W)|0;a=a+Math.imul(x,ja)|0;a=a+Math.imul(A,W)|0;b=b+Math.imul(A,ja)|0;e=e+Math.imul(z,X)|0;a=a+Math.imul(z,ka)|0;a=a+Math.imul(w,X)|0;b=b+Math.imul(w,ka)|0;e=e+Math.imul(C,Y)|0;a=a+Math.imul(C,la)|0;a=a+Math.imul(D,Y)|0;b=b+Math.imul(D,la)|0;e=e+Math.imul(v,Z)|0;a=a+Math.imul(v,ma)|0;a=a+Math.imul(q,Z)|0;b=b+Math.imul(q,ma)|0;e=e+Math.imul(p,aa)|0;a=a+Math.imul(p,na)|0;a=a+Math.imul(B,aa)|0;b=b+Math.imul(B,na)|0;e=e+Math.imul(n,ba)| +0;a=a+Math.imul(n,ca)|0;a=a+Math.imul(r,ba)|0;b=b+Math.imul(r,ca)|0;e=e+Math.imul(k,g)|0;a=a+Math.imul(k,da)|0;a=a+Math.imul(u,g)|0;b=b+Math.imul(u,da)|0;k=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(k>>>26)|0;k&=67108863;e=Math.imul(d,V);a=Math.imul(d,ia);a=a+Math.imul(E,V)|0;b=Math.imul(E,ia);e=e+Math.imul(G,W)|0;a=a+Math.imul(G,ja)|0;a=a+Math.imul(y,W)|0;b=b+Math.imul(y,ja)|0;e=e+Math.imul(x,X)|0;a=a+Math.imul(x,ka)|0;a=a+Math.imul(A,X)|0;b=b+Math.imul(A,ka)|0;e=e+Math.imul(z,Y)|0;a=a+Math.imul(z, +la)|0;a=a+Math.imul(w,Y)|0;b=b+Math.imul(w,la)|0;e=e+Math.imul(C,Z)|0;a=a+Math.imul(C,ma)|0;a=a+Math.imul(D,Z)|0;b=b+Math.imul(D,ma)|0;e=e+Math.imul(v,aa)|0;a=a+Math.imul(v,na)|0;a=a+Math.imul(q,aa)|0;b=b+Math.imul(q,na)|0;e=e+Math.imul(p,ba)|0;a=a+Math.imul(p,ca)|0;a=a+Math.imul(B,ba)|0;b=b+Math.imul(B,ca)|0;e=e+Math.imul(n,g)|0;a=a+Math.imul(n,da)|0;a=a+Math.imul(r,g)|0;b=b+Math.imul(r,da)|0;n=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(n>>>26)|0;n&=67108863;e=Math.imul(d,W);a=Math.imul(d,ja);a= +a+Math.imul(E,W)|0;b=Math.imul(E,ja);e=e+Math.imul(G,X)|0;a=a+Math.imul(G,ka)|0;a=a+Math.imul(y,X)|0;b=b+Math.imul(y,ka)|0;e=e+Math.imul(x,Y)|0;a=a+Math.imul(x,la)|0;a=a+Math.imul(A,Y)|0;b=b+Math.imul(A,la)|0;e=e+Math.imul(z,Z)|0;a=a+Math.imul(z,ma)|0;a=a+Math.imul(w,Z)|0;b=b+Math.imul(w,ma)|0;e=e+Math.imul(C,aa)|0;a=a+Math.imul(C,na)|0;a=a+Math.imul(D,aa)|0;b=b+Math.imul(D,na)|0;e=e+Math.imul(v,ba)|0;a=a+Math.imul(v,ca)|0;a=a+Math.imul(q,ba)|0;b=b+Math.imul(q,ca)|0;e=e+Math.imul(p,g)|0;a=a+Math.imul(p, +da)|0;a=a+Math.imul(B,g)|0;b=b+Math.imul(B,da)|0;p=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(p>>>26)|0;p&=67108863;e=Math.imul(d,X);a=Math.imul(d,ka);a=a+Math.imul(E,X)|0;b=Math.imul(E,ka);e=e+Math.imul(G,Y)|0;a=a+Math.imul(G,la)|0;a=a+Math.imul(y,Y)|0;b=b+Math.imul(y,la)|0;e=e+Math.imul(x,Z)|0;a=a+Math.imul(x,ma)|0;a=a+Math.imul(A,Z)|0;b=b+Math.imul(A,ma)|0;e=e+Math.imul(z,aa)|0;a=a+Math.imul(z,na)|0;a=a+Math.imul(w,aa)|0;b=b+Math.imul(w,na)|0;e=e+Math.imul(C,ba)|0;a=a+Math.imul(C,ca)|0;a=a+Math.imul(D, +ba)|0;b=b+Math.imul(D,ca)|0;e=e+Math.imul(v,g)|0;a=a+Math.imul(v,da)|0;a=a+Math.imul(q,g)|0;b=b+Math.imul(q,da)|0;v=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(v>>>26)|0;v&=67108863;e=Math.imul(d,Y);a=Math.imul(d,la);a=a+Math.imul(E,Y)|0;b=Math.imul(E,la);e=e+Math.imul(G,Z)|0;a=a+Math.imul(G,ma)|0;a=a+Math.imul(y,Z)|0;b=b+Math.imul(y,ma)|0;e=e+Math.imul(x,aa)|0;a=a+Math.imul(x,na)|0;a=a+Math.imul(A,aa)|0;b=b+Math.imul(A,na)|0;e=e+Math.imul(z,ba)|0;a=a+Math.imul(z,ca)|0;a=a+Math.imul(w,ba)|0;b=b+Math.imul(w, +ca)|0;e=e+Math.imul(C,g)|0;a=a+Math.imul(C,da)|0;a=a+Math.imul(D,g)|0;b=b+Math.imul(D,da)|0;C=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(C>>>26)|0;C&=67108863;e=Math.imul(d,Z);a=Math.imul(d,ma);a=a+Math.imul(E,Z)|0;b=Math.imul(E,ma);e=e+Math.imul(G,aa)|0;a=a+Math.imul(G,na)|0;a=a+Math.imul(y,aa)|0;b=b+Math.imul(y,na)|0;e=e+Math.imul(x,ba)|0;a=a+Math.imul(x,ca)|0;a=a+Math.imul(A,ba)|0;b=b+Math.imul(A,ca)|0;e=e+Math.imul(z,g)|0;a=a+Math.imul(z,da)|0;a=a+Math.imul(w,g)|0;b=b+Math.imul(w,da)|0;z=(h+e| +0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(z>>>26)|0;z&=67108863;e=Math.imul(d,aa);a=Math.imul(d,na);a=a+Math.imul(E,aa)|0;b=Math.imul(E,na);e=e+Math.imul(G,ba)|0;a=a+Math.imul(G,ca)|0;a=a+Math.imul(y,ba)|0;b=b+Math.imul(y,ca)|0;e=e+Math.imul(x,g)|0;a=a+Math.imul(x,da)|0;a=a+Math.imul(A,g)|0;b=b+Math.imul(A,da)|0;x=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(x>>>26)|0;x&=67108863;e=Math.imul(d,ba);a=Math.imul(d,ca);a=a+Math.imul(E,ba)|0;b=Math.imul(E,ca);e=e+Math.imul(G,g)|0;a=a+Math.imul(G,da)|0;a=a+Math.imul(y, +g)|0;b=b+Math.imul(y,da)|0;G=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(G>>>26)|0;G&=67108863;e=Math.imul(d,g);a=Math.imul(d,da);a=a+Math.imul(E,g)|0;b=Math.imul(E,da);m=(h+e|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(m>>>26)|0;f[0]=ra;f[1]=sa;f[2]=ta;f[3]=ua;f[4]=va;f[5]=wa;f[6]=xa;f[7]=ya;f[8]=za;f[9]=l;f[10]=k;f[11]=n;f[12]=p;f[13]=v;f[14]=C;f[15]=z;f[16]=x;f[17]=G;f[18]=m&67108863;0!==h&&(f[19]=h,c.length++);return c};Math.imul||(A=g);h.prototype.mulTo=function(a,b){var c=this.length+a.length;if(10=== +this.length&&10===a.length)a=A(this,a,b);else if(63>c)a=g(this,a,b);else if(1024>c){b.negative=a.negative^this.negative;b.length=this.length+a.length;for(var d=0,f=c=0;f>>26)|0,c=c+(h>>>26),h=h&67108863;b.words[f]=d;d=h}0!==d?b.words[f]=d:b.length--;a=b.strip()}else a=(new m).mulp(this,a, +b);return a};m.prototype.makeRBT=function(a){for(var b=Array(a),c=h.prototype._countBits(a)-1,d=0;d>=1;return c};m.prototype.permute=function(a,b,c,d,g,f){for(var h=0;h>>=1)c++;return 1<=c))for(var d=0;dc?0:c/67108864|0;return a};m.prototype.convert13b=function(a,b,d,g){for(var f=0,h=0;h>>=13,d[2*h+1]=f&8191,f>>>=13;for(h=2*b;ha);for(var b=0,d=0;d>26,b=b+(g/67108864|0),b=b+(f>>>26);this.words[d]=f&67108863}0!==b&&(this.words[d]=b,this.length++);return this};h.prototype.muln= +function(a){return this.clone().imuln(a)};h.prototype.sqr=function(){return this.mul(this)};h.prototype.isqr=function(){return this.imul(this.clone())};h.prototype.pow=function(a){for(var b=Array(a.bitLength()),c=0;c>>d}if(0===b.length)return new h(1);a=this;for(c=0;c>>26-b<<26-b,g;if(0!==b){var f=0;for(g=0;g>>26-b}f&&(this.words[g]=f,this.length++)}if(0!==a){for(g=this.length-1;0<=g;g--)this.words[g+a]=this.words[g];for(g=0;g>>g<f)for(this.length-=f,h=0;h=b);h--){var e=this.words[h]|0;this.words[h]=f<<26-g|e>>>g;f=e&a}d&&0!==f&&(d.words[d.length++]=f);0===this.length&&(this.words[0]=0,this.length=1);return this.strip()};h.prototype.ishrn= +function(a,b,d){c(0===this.negative);return this.iushrn(a,b,d)};h.prototype.shln=function(a){return this.clone().ishln(a)};h.prototype.ushln=function(a){return this.clone().iushln(a)};h.prototype.shrn=function(a){return this.clone().ishrn(a)};h.prototype.ushrn=function(a){return this.clone().iushrn(a)};h.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a?!1:!!(this.words[a]&1<>>b<a);if(0>a)return this.isubn(-a);if(0!==this.negative){if(1===this.length&&(this.words[0]|0)a);if(0>a)return this.iaddn(-a);if(0!==this.negative)return this.negative=0,this.iaddn(a),this.negative=1,this;this.words[0]-= -a;if(1===this.length&&0>this.words[0])this.words[0]=-this.words[0],this.negative=1;else for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};h.prototype.addn=function(a){return this.clone().iaddn(a)};h.prototype.subn=function(a){return this.clone().isubn(a)};h.prototype.iabs=function(){this.negative=0;return this};h.prototype.abs=function(){return this.clone().iabs()};h.prototype._ishlnsubmul=function(a,b,e){var d;this._expand(a.length+e);var f, -h=0;for(d=0;d>26)-(h/67108864|0),this.words[d+e]=f&67108863;for(;d>26,this.words[d+e]=f&67108863;if(0===h)return this.strip();c(-1===h);for(d=h=0;d>26,this.words[d]=f&67108863;this.negative=1;return this.strip()};h.prototype._wordDiv=function(a,b){var c=this.clone(),e=a,d=e.words[e.length-1]|0;a=26-this._countBits(d);0!==a&&(e=e.ushln(a), -c.iushln(a),d=e.words[e.length-1]|0);var f=c.length-e.length,g;if("mod"!==b){g=new h(null);g.length=f+1;g.words=Array(g.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new h(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new h(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new h(this.modn(a.words[0]))}:this._wordDiv(a,b)};h.prototype.div=function(a){return this.divmod(a,"div",!1).div};h.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod};h.prototype.umod=function(a){return this.divmod(a,"mod", -!0).mod};h.prototype.divRound=function(a){var b=this.divmod(a);if(b.mod.isZero())return b.div;var c=0!==b.div.negative?b.mod.isub(a):b.mod,e=a.ushrn(1);a=a.andln(1);c=c.cmp(e);return 0>c||1===a&&0===c?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)};h.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,e=0,d=this.length-1;0<=d;d--)e=(b*e+(this.words[d]|0))%a;return e};h.prototype.idivn=function(a){c(67108863>=a);for(var b=0,e=this.length-1;0<=e;e--)b=(this.words[e]|0)+67108864*b, -this.words[e]=b/a|0,b%=a;return this.strip()};h.prototype.divn=function(a){return this.clone().idivn(a)};h.prototype.egcd=function(a){c(0===a.negative);c(!a.isZero());var b=this,e=a.clone(),b=0!==b.negative?b.umod(a):b.clone();a=new h(1);for(var d=new h(0),f=new h(0),g=new h(1),k=0;b.isEven()&&e.isEven();)b.iushrn(1),e.iushrn(1),++k;for(var l=e.clone(),m=b.clone();!b.isZero();){for(var n=0,u=1;0===(b.words[0]&u)&&26>n;++n,u<<=1);if(0n;++n,u<<=1);if(0k;++k,l<<=1);if(0k;++k,l<<=1);if(0b.cmpn(0)&&b.iadd(a);return b};h.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var b=this.clone();a=a.clone();b.negative=0;for(var c=a.negative=0;b.isEven()&&a.isEven();c++)b.iushrn(1), -a.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;a.isEven();)a.iushrn(1);var e=b.cmp(a);if(0>e)e=b,b=a,a=e;else if(0===e||0===a.cmpn(1))break;b.isub(a)}while(1);return a.iushln(c)};h.prototype.invm=function(a){return this.egcd(a).a.umod(a)};h.prototype.isEven=function(){return 0===(this.words[0]&1)};h.prototype.isOdd=function(){return 1===(this.words[0]&1)};h.prototype.andln=function(a){return this.words[0]&a};h.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;b=1<>>26,e=e&67108863;this.words[a]=e}0!==b&&(this.words[a]=b,this.length++);return this};h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};h.prototype.cmpn=function(a){var b=0>a;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;this.strip();1=a,"Number is too big"),b=this.words[0]|0,a=b===a?0:ba.length)return 1;if(this.lengthd&&(b=1);break}}return b};h.prototype.gtn=function(a){return 1===this.cmpn(a)};h.prototype.gt=function(a){return 1===this.cmp(a)}; +a;if(1===this.length&&0>this.words[0])this.words[0]=-this.words[0],this.negative=1;else for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};h.prototype.addn=function(a){return this.clone().iaddn(a)};h.prototype.subn=function(a){return this.clone().isubn(a)};h.prototype.iabs=function(){this.negative=0;return this};h.prototype.abs=function(){return this.clone().iabs()};h.prototype._ishlnsubmul=function(a,b,d){var g;this._expand(a.length+d);var f, +h=0;for(g=0;g>26)-(h/67108864|0),this.words[g+d]=f&67108863;for(;g>26,this.words[g+d]=f&67108863;if(0===h)return this.strip();c(-1===h);for(g=h=0;g>26,this.words[g]=f&67108863;this.negative=1;return this.strip()};h.prototype._wordDiv=function(a,b){var c=this.clone(),d=a,g=d.words[d.length-1]|0;a=26-this._countBits(g);0!==a&&(d=d.ushln(a), +c.iushln(a),g=d.words[d.length-1]|0);var f=c.length-d.length,e;if("mod"!==b){e=new h(null);e.length=f+1;e.words=Array(e.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new h(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new h(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new h(this.modn(a.words[0]))}:this._wordDiv(a,b)};h.prototype.div=function(a){return this.divmod(a,"div",!1).div};h.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod};h.prototype.umod=function(a){return this.divmod(a,"mod", +!0).mod};h.prototype.divRound=function(a){var b=this.divmod(a);if(b.mod.isZero())return b.div;var c=0!==b.div.negative?b.mod.isub(a):b.mod,d=a.ushrn(1);a=a.andln(1);c=c.cmp(d);return 0>c||1===a&&0===c?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)};h.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,d=0,g=this.length-1;0<=g;g--)d=(b*d+(this.words[g]|0))%a;return d};h.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;0<=d;d--)b=(this.words[d]|0)+67108864*b, +this.words[d]=b/a|0,b%=a;return this.strip()};h.prototype.divn=function(a){return this.clone().idivn(a)};h.prototype.egcd=function(a){c(0===a.negative);c(!a.isZero());var b=this,d=a.clone(),b=0!==b.negative?b.umod(a):b.clone();a=new h(1);for(var g=new h(0),f=new h(0),e=new h(1),k=0;b.isEven()&&d.isEven();)b.iushrn(1),d.iushrn(1),++k;for(var l=d.clone(),m=b.clone();!b.isZero();){for(var n=0,u=1;0===(b.words[0]&u)&&26>n;++n,u<<=1);if(0n;++n,u<<=1);if(0k;++k,l<<=1);if(0k;++k,l<<=1);if(0b.cmpn(0)&&b.iadd(a);return b};h.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var b=this.clone();a=a.clone();b.negative=0;for(var c=a.negative=0;b.isEven()&&a.isEven();c++)b.iushrn(1), +a.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;a.isEven();)a.iushrn(1);var d=b.cmp(a);if(0>d)d=b,b=a,a=d;else if(0===d||0===a.cmpn(1))break;b.isub(a)}while(1);return a.iushln(c)};h.prototype.invm=function(a){return this.egcd(a).a.umod(a)};h.prototype.isEven=function(){return 0===(this.words[0]&1)};h.prototype.isOdd=function(){return 1===(this.words[0]&1)};h.prototype.andln=function(a){return this.words[0]&a};h.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;b=1<>>26,d=d&67108863;this.words[a]=d}0!==b&&(this.words[a]=b,this.length++);return this};h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};h.prototype.cmpn=function(a){var b=0>a;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;this.strip();1=a,"Number is too big"),b=this.words[0]|0,a=b===a?0:ba.length)return 1;if(this.lengthg&&(b=1);break}}return b};h.prototype.gtn=function(a){return 1===this.cmpn(a)};h.prototype.gt=function(a){return 1===this.cmp(a)}; h.prototype.gten=function(a){return 0<=this.cmpn(a)};h.prototype.gte=function(a){return 0<=this.cmp(a)};h.prototype.ltn=function(a){return-1===this.cmpn(a)};h.prototype.lt=function(a){return-1===this.cmp(a)};h.prototype.lten=function(a){return 0>=this.cmpn(a)};h.prototype.lte=function(a){return 0>=this.cmp(a)};h.prototype.eqn=function(a){return 0===this.cmpn(a)};h.prototype.eq=function(a){return 0===this.cmp(a)};h.red=function(a){return new q(a)};h.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context"); c(0===this.negative,"red works only with positives");return a.convertTo(this)._forceRed(a)};h.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};h.prototype._forceRed=function(a){this.red=a;return this};h.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};h.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)}; h.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};h.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers");return this.red.sub(this,a)};h.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};h.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};h.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers"); this.red._verify2(this,a);return this.red.mul(this,a)};h.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this,a)};h.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};h.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};h.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers"); this.red._verify1(this);return this.red.sqrt(this)};h.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};h.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};h.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var F={k256:null,p224:null,p192:null,p25519:null};p.prototype._tmp= -function(){var a=new h(null);a.words=Array(Math.ceil(this.n/13));return a};p.prototype.ireduce=function(a){var b;do this.split(a,this.tmp),a=this.imulK(a),a=a.iadd(this.tmp),b=a.bitLength();while(b>this.n);b=b=a.length)a.words[0]=0,a.length=1;else{c=a.words[9];b.words[b.length++]=c&4194303;for(e=10;e>>22,c=b;c>>>=22;a.words[e-10]=c;a.length=0===c&&10>>26;a.words[c]=e}0!==b&&(a.words[a.length++]=b);return a};h._prime=function(a){if(F[a])return F[a];var b;if("k256"===a)b=new u;else if("p224"===a)b=new r;else if("p192"===a)b=new v;else if("p25519"===a)b=new C;else throw Error("Unknown prime "+a);return F[a]=b};q.prototype._verify1=function(a){c(0===a.negative,"red works only with positives");c(a.red, +function(){var a=new h(null);a.words=Array(Math.ceil(this.n/13));return a};p.prototype.ireduce=function(a){var b;do this.split(a,this.tmp),a=this.imulK(a),a=a.iadd(this.tmp),b=a.bitLength();while(b>this.n);b=b=a.length)a.words[0]=0,a.length=1;else{c=a.words[9];b.words[b.length++]=c&4194303;for(d=10;d>>22,c=b;c>>>=22;a.words[d-10]=c;a.length=0===c&&10>>26;a.words[c]=d}0!==b&&(a.words[a.length++]=b);return a};h._prime=function(a){if(F[a])return F[a];var b;if("k256"===a)b=new u;else if("p224"===a)b=new r;else if("p192"===a)b=new v;else if("p25519"===a)b=new C;else throw Error("Unknown prime "+a);return F[a]=b};q.prototype._verify1=function(a){c(0===a.negative,"red works only with positives");c(a.red, "red works only with red numbers")};q.prototype._verify2=function(a,b){c(0===(a.negative|b.negative),"red works only with positives");c(a.red&&a.red===b.red,"red works only with red numbers")};q.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)};q.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)};q.prototype.add=function(a,b){this._verify2(a,b);a=a.add(b);0<=a.cmp(this.m)&&a.isub(this.m);return a._forceRed(this)}; q.prototype.iadd=function(a,b){this._verify2(a,b);a=a.iadd(b);0<=a.cmp(this.m)&&a.isub(this.m);return a};q.prototype.sub=function(a,b){this._verify2(a,b);a=a.sub(b);0>a.cmpn(0)&&a.iadd(this.m);return a._forceRed(this)};q.prototype.isub=function(a,b){this._verify2(a,b);a=a.isub(b);0>a.cmpn(0)&&a.iadd(this.m);return a};q.prototype.shl=function(a,b){this._verify1(a);return this.imod(a.ushln(b))};q.prototype.imul=function(a,b){this._verify2(a,b);return this.imod(a.imul(b))};q.prototype.mul=function(a, -b){this._verify2(a,b);return this.imod(a.mul(b))};q.prototype.isqr=function(a){return this.imul(a,a.clone())};q.prototype.sqr=function(a){return this.mul(a,a)};q.prototype.sqrt=function(a){if(a.isZero())return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b)return b=this.m.add(new h(1)).iushrn(2),this.pow(a,b);for(var e=this.m.subn(1),d=0;!e.isZero()&&0===e.andln(1);)d++,e.iushrn(1);c(!e.isZero());for(var b=(new h(1)).toRed(this),f=b.redNeg(),g=this.m.subn(1).iushrn(1),k=this.m.bitLength(),k= -(new h(2*k*k)).toRed(this);0!==this.pow(k,g).cmp(f);)k.redIAdd(f);g=this.pow(k,e);f=this.pow(a,e.addn(1).iushrn(1));a=this.pow(a,e);for(e=d;0!==a.cmp(b);){k=a;for(d=0;0!==k.cmp(b);d++)k=k.redSqr();c(d>g&1;a!==c[0]&&(a=this.sqr(a));if(0===l&&0===d)f=0;else if(d<<=1,d|=l,f++,4===f||0===e&&0===g)a=this.mul(a,c[d]),d=f=0}g=26}return a};q.prototype.convertTo=function(a){var b=a.umod(this.m);return b===a?b.clone():b};q.prototype.convertFrom=function(a){a=a.clone();a.red=null;return a}; -h.mont=function(a){return new A(a)};e(A,q);A.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))};A.prototype.convertFrom=function(a){a=this.imod(a.mul(this.rinv));a.red=null;return a};A.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;a=a.imul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.mul= -function(a,b){if(a.isZero()||b.isZero())return(new h(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{buffer:36}],35:[function(d,a,b){function c(a){this.rand=a}var e;a.exports=function(a){e||(e=new c(null)); -return e.generate(a)};a.exports.Rand=c;c.prototype.generate=function(a){return this._rand(a)};c.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);a=new Uint8Array(a);for(var b=0;b>>24]^h[l>>>16&255]^g[m>>>8&255]^c[n&255]^b[r++],u=f[l>>>24]^h[m>>>16&255]^g[n>>>8&255]^c[k&255]^b[r++],p=f[m>>>24]^h[n>>>16&255]^g[k>>>8&255]^c[l&255]^b[r++],n=f[n>>>24]^h[k>>>16&255]^g[l>>>8&255]^c[m&255]^b[r++],k=a,l=u,m=p;a=(e[k>>>24]<<24|e[l>>>16&255]<<16|e[m>>>8&255]<<8|e[n&255])^b[r++];u=(e[l>>>24]<<24|e[m>>>16&255]<<16|e[n>>>8&255]<<8|e[k&255])^b[r++];p= -(e[m>>>24]<<24|e[n>>>16&255]<<16|e[k>>>8&255]<<8|e[l&255])^b[r++];n=(e[n>>>24]<<24|e[k>>>16&255]<<16|e[l>>>8&255]<<8|e[m&255])^b[r++];return[a>>>0,u>>>0,p>>>0,n>>>0]}function l(a){this._key=c(a);this._reset()}var h=d("safe-buffer").Buffer,k=[0,1,2,4,8,16,32,64,128,27,54],n=function(){for(var a=Array(256),b=0;256>b;b++)a[b]=128>b?b<<1:b<<1^283;for(var b=[],c=[],e=[[],[],[],[]],d=[[],[],[],[]],h=0,g=0,k=0;256>k;++k){var l=g^g<<1^g<<2^g<<3^g<<4,l=l>>>8^l&255^99;b[h]=l;c[l]=h;var n=a[h],x=a[n],w=a[x], -y=257*a[l]^16843008*l;e[0][h]=y<<24|y>>>8;e[1][h]=y<<16|y>>>16;e[2][h]=y<<8|y>>>24;e[3][h]=y;y=16843009*w^65537*x^257*n^16843008*h;d[0][l]=y<<24|y>>>8;d[1][l]=y<<16|y>>>16;d[2][l]=y<<8|y>>>24;d[3][l]=y;0===h?h=g=1:(h=n^a[a[a[w^n]]],g^=a[a[g]])}return{SBOX:b,INV_SBOX:c,SUB_MIX:e,INV_SUB_MIX:d}}();l.blockSize=16;l.keySize=32;l.prototype.blockSize=l.blockSize;l.prototype.keySize=l.keySize;l.prototype._reset=function(){for(var a=this._key,b=a.length,c=b+6,e=4*(c+1),d=[],h=0;h>>24,a=n.SBOX[a>>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255],a^=k[h/b|0]<<24):6>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255]),d[h]=d[h-b]^a;b=[];for(h=0;hh||4>=a?g:n.INV_SUB_MIX[0][n.SBOX[g>>>24]]^n.INV_SUB_MIX[1][n.SBOX[g>>>16&255]]^n.INV_SUB_MIX[2][n.SBOX[g>>>8&255]]^n.INV_SUB_MIX[3][n.SBOX[g&255]]}this._nRounds=c;this._keySchedule=d;this._invKeySchedule= -b};l.prototype.encryptBlockRaw=function(a){a=c(a);return g(a,this._keySchedule,n.SUB_MIX,n.SBOX,this._nRounds)};l.prototype.encryptBlock=function(a){a=this.encryptBlockRaw(a);var b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[1],4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[3],12);return b};l.prototype.decryptBlock=function(a){a=c(a);var b=a[1];a[1]=a[3];a[3]=b;a=g(a,this._invKeySchedule,n.INV_SUB_MIX,n.INV_SBOX,this._nRounds);b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[3], -4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[1],12);return b};l.prototype.scrub=function(){e(this._keySchedule);e(this._invKeySchedule);e(this._key)};a.exports.AES=l},{"safe-buffer":160}],38:[function(d,a,b){function c(a,b,c,d){l.call(this);var f=g.alloc(4,0);this._cipher=new e.AES(b);f=this._cipher.encryptBlock(f);this._ghash=new h(f);b=c;if(12===b.length)this._finID=g.concat([b,g.from([0,0,0,1])]),c=g.concat([b,g.from([0,0,0,2])]);else{c=new h(f);var f=b.length,k=f%16;c.update(b);k&&c.update(g.alloc(16- -k,0));c.update(g.alloc(8,0));b=8*f;f=g.alloc(8);f.writeUIntBE(b,0,8);c.update(f);this._finID=c.state;c=g.from(this._finID);n(c)}this._prev=g.from(c);this._cache=g.allocUnsafe(0);this._secCache=g.allocUnsafe(0);this._decrypt=d;this._len=this._alen=0;this._mode=a;this._authTag=null;this._called=!1}var e=d("./aes"),g=d("safe-buffer").Buffer,l=d("cipher-base");b=d("inherits");var h=d("./ghash"),k=d("buffer-xor"),n=d("./incr32");b(c,l);c.prototype._update=function(a){if(!this._called&&this._alen){var b= -16-this._alen%16;16>b&&(b=g.alloc(b,0),this._ghash.update(b))}this._called=!0;b=this._mode.encrypt(this,a);this._decrypt?this._ghash.update(a):this._ghash.update(b);this._len+=a.length;return b};c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var a=k(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID)),b;if(b=this._decrypt){b=this._authTag;var c=0;a.length!==b.length&&c++;for(var e=Math.min(a.length, -b.length),d=0;d>>0,0);b.writeUInt32BE(a[1]>>>0,4);b.writeUInt32BE(a[2]>>>0,8);b.writeUInt32BE(a[3]>>>0, -12);return b}function e(a){this.h=a;this.state=g.alloc(16,0);this.cache=g.allocUnsafe(0)}var g=d("safe-buffer").Buffer,l=g.alloc(16,0);e.prototype.ghash=function(a){for(var b=-1;++b++g;){if(e=0!==(this.state[~~(g/8)]&1<<7-g%8))b[0]^=a[0],b[1]^=a[1],b[2]^=a[2],b[3]^=a[3];d=0!==(a[3]&1);for(e=3;0< -e;e--)a[e]=a[e]>>>1|(a[e-1]&1)<<31;a[0]>>>=1;d&&(a[0]^=-520093696)}this.state=c(b)};e.prototype.update=function(a){for(this.cache=g.concat([this.cache,a]);16<=this.cache.length;)a=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(a)};e.prototype.final=function(a,b){this.cache.length&&this.ghash(g.concat([this.cache,l],16));this.ghash(c([0,a,0,b]));return this.state};a.exports=e},{"safe-buffer":160}],43:[function(d,a,b){a.exports=function(a){for(var b=a.length,c;b--;)if(c=a.readUInt8(b), -255===c)a.writeUInt8(0,b);else{c++;a.writeUInt8(c,b);break}}},{}],44:[function(d,a,b){var c=d("buffer-xor");b.encrypt=function(a,b){b=c(b,a._prev);a._prev=a._cipher.encryptBlock(b);return a._prev};b.decrypt=function(a,b){var e=a._prev;a._prev=b;a=a._cipher.decryptBlock(b);return c(a,e)}},{"buffer-xor":64}],45:[function(d,a,b){function c(a,b,c){var d=b.length,f=g(b,a._cache);a._cache=a._cache.slice(d);a._prev=e.concat([a._prev,c?b:f]);return f}var e=d("safe-buffer").Buffer,g=d("buffer-xor");b.encrypt= -function(a,b,d){for(var h=e.allocUnsafe(0),f;b.length;)if(0===a._cache.length&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=e.allocUnsafe(0)),a._cache.length<=b.length)f=a._cache.length,h=e.concat([h,c(a,b.slice(0,f),d)]),b=b.slice(f);else{h=e.concat([h,c(a,b,d)]);break}return h}},{"buffer-xor":64,"safe-buffer":160}],46:[function(d,a,b){var c=d("safe-buffer").Buffer;b.encrypt=function(a,b,d){for(var e=b.length,g=c.allocUnsafe(e),l=-1;++l++v;){r= -m._cipher.encryptBlock(m._prev);q=p&1<<7-v?128:0;A=r[0]^q;C+=(A&128)>>v%8;r=m;var D=m._prev;q=u?q:A;A=D.length;for(var x=-1,w=c.allocUnsafe(D.length),D=c.concat([D,c.from([q])]);++x>7;r._prev=w}g[f]=C}return g}},{"safe-buffer":160}],47:[function(d,a,b){(function(a){b.encrypt=function(b,c,d){for(var e=c.length,g=a.allocUnsafe(e),l=-1;++l>e&1;a!==c[0]&&(a=this.sqr(a));if(0===l&&0===g)f=0;else if(g<<=1,g|=l,f++,4===f||0===d&&0===e)a=this.mul(a,c[g]),g=f=0}e=26}return a};q.prototype.convertTo=function(a){var b=a.umod(this.m);return b===a?b.clone():b};q.prototype.convertFrom=function(a){a=a.clone();a.red=null;return a}; +h.mont=function(a){return new z(a)};d(z,q);z.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))};z.prototype.convertFrom=function(a){a=this.imod(a.mul(this.rinv));a.red=null;return a};z.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;a=a.imul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};z.prototype.mul= +function(a,b){if(a.isZero()||b.isZero())return(new h(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};z.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{buffer:36}],35:[function(e,a,b){function c(a){this.rand=a}var d;a.exports=function(a){d||(d=new c(null)); +return d.generate(a)};a.exports.Rand=c;c.prototype.generate=function(a){return this._rand(a)};c.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);a=new Uint8Array(a);for(var b=0;b>>24]^h[l>>>16&255]^e[m>>>8&255]^c[n&255]^b[r++],u=g[l>>>24]^h[m>>>16&255]^e[n>>>8&255]^c[k&255]^b[r++],p=g[m>>>24]^h[n>>>16&255]^e[k>>>8&255]^c[l&255]^b[r++],n=g[n>>>24]^h[k>>>16&255]^e[l>>>8&255]^c[m&255]^b[r++],k=a,l=u,m=p;a=(d[k>>>24]<<24|d[l>>>16&255]<<16|d[m>>>8&255]<<8|d[n&255])^b[r++];u=(d[l>>>24]<<24|d[m>>>16&255]<<16|d[n>>>8&255]<<8|d[k&255])^b[r++];p= +(d[m>>>24]<<24|d[n>>>16&255]<<16|d[k>>>8&255]<<8|d[l&255])^b[r++];n=(d[n>>>24]<<24|d[k>>>16&255]<<16|d[l>>>8&255]<<8|d[m&255])^b[r++];return[a>>>0,u>>>0,p>>>0,n>>>0]}function l(a){this._key=c(a);this._reset()}var h=e("safe-buffer").Buffer,k=[0,1,2,4,8,16,32,64,128,27,54],n=function(){for(var a=Array(256),b=0;256>b;b++)a[b]=128>b?b<<1:b<<1^283;for(var b=[],c=[],d=[[],[],[],[]],f=[[],[],[],[]],h=0,e=0,k=0;256>k;++k){var l=e^e<<1^e<<2^e<<3^e<<4,l=l>>>8^l&255^99;b[h]=l;c[l]=h;var n=a[h],x=a[n],w=a[x], +y=257*a[l]^16843008*l;d[0][h]=y<<24|y>>>8;d[1][h]=y<<16|y>>>16;d[2][h]=y<<8|y>>>24;d[3][h]=y;y=16843009*w^65537*x^257*n^16843008*h;f[0][l]=y<<24|y>>>8;f[1][l]=y<<16|y>>>16;f[2][l]=y<<8|y>>>24;f[3][l]=y;0===h?h=e=1:(h=n^a[a[a[w^n]]],e^=a[a[e]])}return{SBOX:b,INV_SBOX:c,SUB_MIX:d,INV_SUB_MIX:f}}();l.blockSize=16;l.keySize=32;l.prototype.blockSize=l.blockSize;l.prototype.keySize=l.keySize;l.prototype._reset=function(){for(var a=this._key,b=a.length,c=b+6,d=4*(c+1),f=[],h=0;h>>24,a=n.SBOX[a>>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255],a^=k[h/b|0]<<24):6>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255]),f[h]=f[h-b]^a;b=[];for(h=0;hh||4>=a?e:n.INV_SUB_MIX[0][n.SBOX[e>>>24]]^n.INV_SUB_MIX[1][n.SBOX[e>>>16&255]]^n.INV_SUB_MIX[2][n.SBOX[e>>>8&255]]^n.INV_SUB_MIX[3][n.SBOX[e&255]]}this._nRounds=c;this._keySchedule=f;this._invKeySchedule= +b};l.prototype.encryptBlockRaw=function(a){a=c(a);return f(a,this._keySchedule,n.SUB_MIX,n.SBOX,this._nRounds)};l.prototype.encryptBlock=function(a){a=this.encryptBlockRaw(a);var b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[1],4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[3],12);return b};l.prototype.decryptBlock=function(a){a=c(a);var b=a[1];a[1]=a[3];a[3]=b;a=f(a,this._invKeySchedule,n.INV_SUB_MIX,n.INV_SBOX,this._nRounds);b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[3], +4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[1],12);return b};l.prototype.scrub=function(){d(this._keySchedule);d(this._invKeySchedule);d(this._key)};a.exports.AES=l},{"safe-buffer":160}],38:[function(e,a,b){function c(a,b,c,e){l.call(this);var g=f.alloc(4,0);this._cipher=new d.AES(b);g=this._cipher.encryptBlock(g);this._ghash=new h(g);b=c;if(12===b.length)this._finID=f.concat([b,f.from([0,0,0,1])]),c=f.concat([b,f.from([0,0,0,2])]);else{c=new h(g);var g=b.length,k=g%16;c.update(b);k&&c.update(f.alloc(16- +k,0));c.update(f.alloc(8,0));b=8*g;g=f.alloc(8);g.writeUIntBE(b,0,8);c.update(g);this._finID=c.state;c=f.from(this._finID);n(c)}this._prev=f.from(c);this._cache=f.allocUnsafe(0);this._secCache=f.allocUnsafe(0);this._decrypt=e;this._len=this._alen=0;this._mode=a;this._authTag=null;this._called=!1}var d=e("./aes"),f=e("safe-buffer").Buffer,l=e("cipher-base");b=e("inherits");var h=e("./ghash"),k=e("buffer-xor"),n=e("./incr32");b(c,l);c.prototype._update=function(a){if(!this._called&&this._alen){var b= +16-this._alen%16;16>b&&(b=f.alloc(b,0),this._ghash.update(b))}this._called=!0;b=this._mode.encrypt(this,a);this._decrypt?this._ghash.update(a):this._ghash.update(b);this._len+=a.length;return b};c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var a=k(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID)),b;if(b=this._decrypt){b=this._authTag;var c=0;a.length!==b.length&&c++;for(var d=Math.min(a.length, +b.length),f=0;f>>0,0);b.writeUInt32BE(a[1]>>>0,4);b.writeUInt32BE(a[2]>>>0,8);b.writeUInt32BE(a[3]>>>0, +12);return b}function d(a){this.h=a;this.state=f.alloc(16,0);this.cache=f.allocUnsafe(0)}var f=e("safe-buffer").Buffer,l=f.alloc(16,0);d.prototype.ghash=function(a){for(var b=-1;++b++f;){if(d=0!==(this.state[~~(f/8)]&1<<7-f%8))b[0]^=a[0],b[1]^=a[1],b[2]^=a[2],b[3]^=a[3];g=0!==(a[3]&1);for(d=3;0< +d;d--)a[d]=a[d]>>>1|(a[d-1]&1)<<31;a[0]>>>=1;g&&(a[0]^=-520093696)}this.state=c(b)};d.prototype.update=function(a){for(this.cache=f.concat([this.cache,a]);16<=this.cache.length;)a=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(a)};d.prototype.final=function(a,b){this.cache.length&&this.ghash(f.concat([this.cache,l],16));this.ghash(c([0,a,0,b]));return this.state};a.exports=d},{"safe-buffer":160}],43:[function(e,a,b){a.exports=function(a){for(var b=a.length,c;b--;)if(c=a.readUInt8(b), +255===c)a.writeUInt8(0,b);else{c++;a.writeUInt8(c,b);break}}},{}],44:[function(e,a,b){var c=e("buffer-xor");b.encrypt=function(a,b){b=c(b,a._prev);a._prev=a._cipher.encryptBlock(b);return a._prev};b.decrypt=function(a,b){var d=a._prev;a._prev=b;a=a._cipher.decryptBlock(b);return c(a,d)}},{"buffer-xor":64}],45:[function(e,a,b){function c(a,b,c){var h=b.length,g=f(b,a._cache);a._cache=a._cache.slice(h);a._prev=d.concat([a._prev,c?b:g]);return g}var d=e("safe-buffer").Buffer,f=e("buffer-xor");b.encrypt= +function(a,b,f){for(var h=d.allocUnsafe(0),g;b.length;)if(0===a._cache.length&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=d.allocUnsafe(0)),a._cache.length<=b.length)g=a._cache.length,h=d.concat([h,c(a,b.slice(0,g),f)]),b=b.slice(g);else{h=d.concat([h,c(a,b,f)]);break}return h}},{"buffer-xor":64,"safe-buffer":160}],46:[function(e,a,b){var c=e("safe-buffer").Buffer;b.encrypt=function(a,b,e){for(var d=b.length,f=c.allocUnsafe(d),l=-1;++l++v;){r= +m._cipher.encryptBlock(m._prev);q=p&1<<7-v?128:0;z=r[0]^q;C+=(z&128)>>v%8;r=m;var D=m._prev;q=u?q:z;z=D.length;for(var x=-1,w=c.allocUnsafe(D.length),D=c.concat([D,c.from([q])]);++x>7;r._prev=w}f[g]=C}return f}},{"safe-buffer":160}],47:[function(e,a,b){(function(a){b.encrypt=function(b,c,e){for(var d=c.length,f=a.allocUnsafe(d),l=-1;++l=a.cmpn(0))throw Error("invalid sig");if(a.cmp(b)>=b)throw Error("invalid sig");}var g=d("bn.js"),l=d("elliptic").ec,h=d("parse-asn1"),k=d("./curves.json");a.exports=function(a,e,d,p,u){d=h(d); -if("ec"===d.type){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");p=k[d.data.algorithm.curve.join(".")];if(!p)throw Error("unknown curve "+d.data.algorithm.curve.join("."));return(new l(p)).verify(e,a,d.data.subjectPrivateKey.data)}if("dsa"===d.type){if("dsa"!==p)throw Error("wrong public key type");p=d.data.p;u=d.data.q;var f=d.data.g;d=d.data.pub_key;var m=h.signature.decode(a,"der");a=m.s;m=m.r;c(a,u);c(m,u);var n=g.mont(p);a=a.invm(u);return 0===f.toRed(n).redPow((new g(e)).mul(a).mod(u)).fromRed().mul(d.toRed(n).redPow(m.mul(a).mod(u)).fromRed()).mod(p).mod(u).cmp(m)}if("rsa"!== -p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");e=b.concat([u,e]);u=d.modulus.byteLength();p=[1];for(f=0;e.length+p.length+2f?1:0;u=Math.min(a.length,p.length);a.length!==p.length&&(d=1);for(m=-1;++mt)throw new RangeError("Invalid typed array length");a=new Uint8Array(a);a.__proto__=e.prototype;return a}function e(a,b,c){if("number"===typeof a){if("string"===typeof b)throw Error("If encoding is specified then the first argument must be a string"); -return h(a)}return g(a,b,c)}function g(a,b,d){if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if(G(a)){if(0>b||a.byteLengtha)throw new RangeError('"size" argument must not be negative');}function h(a){l(a);return c(0>a?0:f(a)|0)}function k(a){for(var b=0>a.length?0:f(a.length)|0,e=c(b),d=0;d=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return a|0}function m(a,b){if(e.isBuffer(a))return a.length;if("function"=== -typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||G(a))return a.byteLength;"string"!==typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case "ascii":case "latin1":case "binary":return c;case "utf8":case "utf-8":case void 0:return B(a).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*c;case "hex":return c>>>1;case "base64":return E.toByteArray(y(a)).length;default:if(d)return B(a).length;b=(""+b).toLowerCase();d=!0}}function p(a,b,c){var e=!1;if(void 0=== -b||0>b)b=0;if(b>this.length)return"";if(void 0===c||c>this.length)c=this.length;if(0>=c)return"";c>>>=0;b>>>=0;if(c<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=c;c=this.length;if(!a||0>a)a=0;if(!b||0>b||b>c)b=c;e="";for(c=a;ce?"0"+e.toString(16):e.toString(16),e=a+e;return e;case "utf8":case "utf-8":return C(this,b,c);case "ascii":a="";for(c=Math.min(this.length,c);bc&&(c=-2147483648);c=+c;c!==c&&(c=f?0:a.length-1);0>c&&(c=a.length+c);if(c>=a.length){if(f)return-1;c=a.length-1}else if(0>c)if(f)c=0;else return-1;"string"===typeof b&&(b=e.from(b,d));if(e.isBuffer(b))return 0===b.length?-1:v(a,b,c,d,f);if("number"===typeof b)return b&=255,"function"===typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):v(a,[b],c,d,f);throw new TypeError("val must be string, number or Buffer"); -}function v(a,b,c,e,d){function f(a,b){return 1===h?a[b]:a.readUInt16BE(b*h)}var h=1,g=a.length,k=b.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(2>a.length||2>b.length)return-1;h=2;g/=2;k/=2;c/=2}if(d)for(e=-1;cg&&(c=g-k);0<=c;c--){g=!0;for(e=0;ed&&(f=d);break;case 2:g=a[b+1];128===(g&192)&&(d=(d&31)<<6|g&63,127d||57343d&&(f=d))}}null===f?(f= -65533,h=1):65535>>10&1023|55296),f=56320|f&1023);e.push(f);b+=h}a=e.length;if(a<=O)e=String.fromCharCode.apply(String,e);else{c="";for(b=0;ba)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length");}function A(a,b,c,d,f,h){if(!e.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>f||b< -h)throw new RangeError('"value" argument is out of bounds');if(c+d>a.length)throw new RangeError("Index out of range");}function D(a,b,c,e,d,f){if(c+e>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range");}function x(a,b,c,e,d){b=+b;c>>>=0;d||D(a,b,c,4,3.4028234663852886E38,-3.4028234663852886E38);L.write(a,b,c,e,23,4);return c+4}function w(a,b,c,e,d){b=+b;c>>>=0;d||D(a,b,c,8,1.7976931348623157E308,-1.7976931348623157E308);L.write(a,b,c,e,52,8);return c+ -8}function y(a){a=a.trim().replace(J,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="\x3d";return a}function B(a,b){b=b||Infinity;for(var c,e=a.length,d=null,f=[],h=0;hc){if(!d){if(56319c){-1<(b-=3)&&f.push(239,191,189);d=c;continue}c=(d-55296<<10|c-56320)+65536}else d&&-1<(b-=3)&&f.push(239,191,189);d=null;if(128>c){if(0>--b)break; -f.push(c)}else if(2048>c){if(0>(b-=2))break;f.push(c>>6|192,c&63|128)}else if(65536>c){if(0>(b-=3))break;f.push(c>>12|224,c>>6&63|128,c&63|128)}else if(1114112>c){if(0>(b-=4))break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw Error("Invalid code point");}return f}function F(a){for(var b=[],c=0;c=b.length||d>=a.length);++d)b[d+c]=a[d];return d}function G(a){return a instanceof ArrayBuffer|| -null!=a&&null!=a.constructor&&"ArrayBuffer"===a.constructor.name&&"number"===typeof a.byteLength}var E=d("base64-js"),L=d("ieee754");b.Buffer=e;b.SlowBuffer=function(a){+a!=a&&(a=0);return e.alloc(+a)};b.INSPECT_MAX_BYTES=50;var t=2147483647;b.kMaxLength=t;e.TYPED_ARRAY_SUPPORT=function(){try{var a=new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(T){return!1}}();e.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.");$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();"undefined"!==typeof Symbol&&Symbol.species&&e[Symbol.species]===e&&($jscomp.initSymbol(),Object.defineProperty(e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));e.poolSize=8192;e.from=function(a,b,c){return g(a,b,c)};e.prototype.__proto__=Uint8Array.prototype; -e.__proto__=Uint8Array;e.alloc=function(a,b,e){l(a);a=0>=a?c(a):void 0!==b?"string"===typeof e?c(a).fill(b,e):c(a).fill(b):c(a);return a};e.allocUnsafe=function(a){return h(a)};e.allocUnsafeSlow=function(a){return h(a)};e.isBuffer=function(a){return null!=a&&!0===a._isBuffer};e.compare=function(a,b){if(!e.isBuffer(a)||!e.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,f=0,h=Math.min(c,d);fc&&(a+=" ... "));return"\x3cBuffer "+a+"\x3e"};e.prototype.compare=function(a,b,c,d,f){if(!e.isBuffer(a))throw new TypeError("Argument must be a Buffer");void 0===b&&(b=0);void 0===c&&(c=a?a.length:0);void 0===d&&(d=0);void 0===f&&(f=this.length);if(0>b||c>a.length||0>d||f>this.length)throw new RangeError("out of range index");if(d>=f&&b>=c)return 0;if(d>= -f)return-1;if(b>=c)return 1;b>>>=0;c>>>=0;d>>>=0;f>>>=0;if(this===a)return 0;var h=f-d,g=c-b,k=Math.min(h,g);d=this.slice(d,f);a=a.slice(b,c);for(b=0;b>>=0,isFinite(c)?(c>>>=0,void 0===e&&(e="utf8")):(e=c,c=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var d=this.length-b;if(void 0===c||c>d)c=d;if(0c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(d=!1;;)switch(e){case "hex":a:{b=Number(b)||0;e=this.length-b;c?(c=Number(c),c>e&&(c=e)):c=e;e=a.length;if(0!==e% -2)throw new TypeError("Invalid hex string");c>e/2&&(c=e/2);for(e=0;e(e-=2));++g)f=a.charCodeAt(g),d=f>> -8,f%=256,h.push(f),h.push(d);return z(h,this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase();d=!0}};e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;e.prototype.slice=function(a,b){var c=this.length;a=~~a;b=void 0===b?c:~~b;0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c);b>>= -0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var e=1,d=0;++d>>=0;b>>>=0;c||q(a,b,this.length);c=this[a+--b];for(var e=1;0>>=0;b||q(a,1,this.length);return this[a]};e.prototype.readUInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]|this[a+1]<<8};e.prototype.readUInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]<< -8|this[a+1]};e.prototype.readUInt32LE=function(a,b){a>>>=0;b||q(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};e.prototype.readUInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};e.prototype.readIntLE=function(a,b,c){a>>>=0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var e=1,d=0;++d=128*e&&(c-=Math.pow(2,8*b));return c};e.prototype.readIntBE=function(a,b,c){a>>>=0;b>>>=0; -c||q(a,b,this.length);c=b;for(var e=1,d=this[a+--c];0=128*e&&(d-=Math.pow(2,8*b));return d};e.prototype.readInt8=function(a,b){a>>>=0;b||q(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};e.prototype.readInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a]|this[a+1]<<8;return a&32768?a|4294901760:a};e.prototype.readInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a+1]|this[a]<<8;return a&32768?a|4294901760:a};e.prototype.readInt32LE= -function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};e.prototype.readInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};e.prototype.readFloatLE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!0,23,4)};e.prototype.readFloatBE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!1,23,4)};e.prototype.readDoubleLE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this, -a,!0,52,8)};e.prototype.readDoubleBE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this,a,!1,52,8)};e.prototype.writeUIntLE=function(a,b,c,e){a=+a;b>>>=0;c>>>=0;e||A(this,a,b,c,Math.pow(2,8*c)-1,0);e=1;var d=0;for(this[b]=a&255;++d>>=0;c>>>=0;e||A(this,a,b,c,Math.pow(2,8*c)-1,0);e=c-1;var d=1;for(this[b+e]=a&255;0<=--e&&(d*=256);)this[b+e]=a/d&255;return b+c};e.prototype.writeUInt8=function(a,b, -c){a=+a;b>>>=0;c||A(this,a,b,1,255,0);this[b]=a&255;return b+1};e.prototype.writeUInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};e.prototype.writeUInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};e.prototype.writeUInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&255;return b+4};e.prototype.writeUInt32BE=function(a, -b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};e.prototype.writeIntLE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),A(this,a,b,c,e-1,-e));e=0;var d=1,f=0;for(this[b]=a&255;++ea&&0===f&&0!==this[b+e-1]&&(f=1),this[b+e]=(a/d>>0)-f&255;return b+c};e.prototype.writeIntBE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),A(this,a,b,c,e-1,-e));e=c-1;var d=1,f=0;for(this[b+e]=a&255;0<=--e&&(d*=256);)0> -a&&0===f&&0!==this[b+e+1]&&(f=1),this[b+e]=(a/d>>0)-f&255;return b+c};e.prototype.writeInt8=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};e.prototype.writeInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};e.prototype.writeInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};e.prototype.writeInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this, -a,b,4,2147483647,-2147483648);this[b]=a&255;this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};e.prototype.writeInt32BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};e.prototype.writeFloatLE=function(a,b,c){return x(this,a,b,!0,c)};e.prototype.writeFloatBE=function(a,b,c){return x(this,a,b,!1,c)};e.prototype.writeDoubleLE=function(a,b,c){return w(this,a,b,!0,c)};e.prototype.writeDoubleBE= -function(a,b,c){return w(this,a,b,!1,c)};e.prototype.copy=function(a,b,c,e){c||(c=0);e||0===e||(e=this.length);b>=a.length&&(b=a.length);b||(b=0);0b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length);a.length-bd)for(e=0;ef&&(a=f)}if(void 0!==d&&"string"!==typeof d)throw new TypeError("encoding must be a string");if("string"===typeof d&&!e.isEncoding(d))throw new TypeError("Unknown encoding: "+ -d);}else"number"===typeof a&&(a&=255);if(0>b||this.length>>=0;c=void 0===c?this.length:c>>>0;a||(a=0);if("number"===typeof a)for(d=b;d=a.cmpn(0))throw Error("invalid sig");if(a.cmp(b)>=b)throw Error("invalid sig");}var f=e("bn.js"),l=e("elliptic").ec,h=e("parse-asn1"),k=e("./curves.json");a.exports=function(a,d,e,p,u){e=h(e); +if("ec"===e.type){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");p=k[e.data.algorithm.curve.join(".")];if(!p)throw Error("unknown curve "+e.data.algorithm.curve.join("."));return(new l(p)).verify(d,a,e.data.subjectPrivateKey.data)}if("dsa"===e.type){if("dsa"!==p)throw Error("wrong public key type");p=e.data.p;u=e.data.q;var g=e.data.g;e=e.data.pub_key;var m=h.signature.decode(a,"der");a=m.s;m=m.r;c(a,u);c(m,u);var n=f.mont(p);a=a.invm(u);return 0===g.toRed(n).redPow((new f(d)).mul(a).mod(u)).fromRed().mul(e.toRed(n).redPow(m.mul(a).mod(u)).fromRed()).mod(p).mod(u).cmp(m)}if("rsa"!== +p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");d=b.concat([u,d]);u=e.modulus.byteLength();p=[1];for(g=0;d.length+p.length+2g?1:0;u=Math.min(a.length,p.length);a.length!==p.length&&(e=1);for(m=-1;++mt)throw new RangeError("Invalid typed array length");a=new Uint8Array(a);a.__proto__=d.prototype;return a}function d(a,b,c){if("number"===typeof a){if("string"===typeof b)throw Error("If encoding is specified then the first argument must be a string"); +return h(a)}return f(a,b,c)}function f(a,b,f){if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if(G(a)){if(0>b||a.byteLengtha)throw new RangeError('"size" argument must not be negative');}function h(a){l(a);return c(0>a?0:g(a)|0)}function k(a){for(var b=0>a.length?0:g(a.length)|0,d=c(b),f=0;f=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return a|0}function m(a,b){if(d.isBuffer(a))return a.length;if("function"=== +typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||G(a))return a.byteLength;"string"!==typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var f=!1;;)switch(b){case "ascii":case "latin1":case "binary":return c;case "utf8":case "utf-8":case void 0:return A(a).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*c;case "hex":return c>>>1;case "base64":return E.toByteArray(y(a)).length;default:if(f)return A(a).length;b=(""+b).toLowerCase();f=!0}}function p(a,b,c){var d=!1;if(void 0=== +b||0>b)b=0;if(b>this.length)return"";if(void 0===c||c>this.length)c=this.length;if(0>=c)return"";c>>>=0;b>>>=0;if(c<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=c;c=this.length;if(!a||0>a)a=0;if(!b||0>b||b>c)b=c;d="";for(c=a;cd?"0"+d.toString(16):d.toString(16),d=a+d;return d;case "utf8":case "utf-8":return C(this,b,c);case "ascii":a="";for(c=Math.min(this.length,c);bc&&(c=-2147483648);c=+c;c!==c&&(c=g?0:a.length-1);0>c&&(c=a.length+c);if(c>=a.length){if(g)return-1;c=a.length-1}else if(0>c)if(g)c=0;else return-1;"string"===typeof b&&(b=d.from(b,f));if(d.isBuffer(b))return 0===b.length?-1:v(a,b,c,f,g);if("number"===typeof b)return b&=255,"function"===typeof Uint8Array.prototype.indexOf?g?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):v(a,[b],c,f,g);throw new TypeError("val must be string, number or Buffer"); +}function v(a,b,c,d,f){function g(a,b){return 1===h?a[b]:a.readUInt16BE(b*h)}var h=1,e=a.length,k=b.length;if(void 0!==d&&(d=String(d).toLowerCase(),"ucs2"===d||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(2>a.length||2>b.length)return-1;h=2;e/=2;k/=2;c/=2}if(f)for(d=-1;ce&&(c=e-k);0<=c;c--){e=!0;for(d=0;df&&(g=f);break;case 2:h=a[b+1];128===(h&192)&&(f=(f&31)<<6|h&63,127f||57343f&&(g=f))}}null===g?(g= +65533,e=1):65535>>10&1023|55296),g=56320|g&1023);d.push(g);b+=e}a=d.length;if(a<=O)d=String.fromCharCode.apply(String,d);else{c="";for(b=0;ba)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length");}function z(a,b,c,f,g,h){if(!d.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>g||b< +h)throw new RangeError('"value" argument is out of bounds');if(c+f>a.length)throw new RangeError("Index out of range");}function D(a,b,c,d,f,g){if(c+d>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range");}function x(a,b,c,d,f){b=+b;c>>>=0;f||D(a,b,c,4,3.4028234663852886E38,-3.4028234663852886E38);L.write(a,b,c,d,23,4);return c+4}function w(a,b,c,d,f){b=+b;c>>>=0;f||D(a,b,c,8,1.7976931348623157E308,-1.7976931348623157E308);L.write(a,b,c,d,52,8);return c+ +8}function y(a){a=a.trim().replace(J,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="\x3d";return a}function A(a,b){b=b||Infinity;for(var c,d=a.length,f=null,g=[],h=0;hc){if(!f){if(56319c){-1<(b-=3)&&g.push(239,191,189);f=c;continue}c=(f-55296<<10|c-56320)+65536}else f&&-1<(b-=3)&&g.push(239,191,189);f=null;if(128>c){if(0>--b)break; +g.push(c)}else if(2048>c){if(0>(b-=2))break;g.push(c>>6|192,c&63|128)}else if(65536>c){if(0>(b-=3))break;g.push(c>>12|224,c>>6&63|128,c&63|128)}else if(1114112>c){if(0>(b-=4))break;g.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw Error("Invalid code point");}return g}function F(a){for(var b=[],c=0;c=b.length||f>=a.length);++f)b[f+c]=a[f];return f}function G(a){return a instanceof ArrayBuffer|| +null!=a&&null!=a.constructor&&"ArrayBuffer"===a.constructor.name&&"number"===typeof a.byteLength}var E=e("base64-js"),L=e("ieee754");b.Buffer=d;b.SlowBuffer=function(a){+a!=a&&(a=0);return d.alloc(+a)};b.INSPECT_MAX_BYTES=50;var t=2147483647;b.kMaxLength=t;d.TYPED_ARRAY_SUPPORT=function(){try{var a=new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(T){return!1}}();d.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.");$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();"undefined"!==typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&($jscomp.initSymbol(),Object.defineProperty(d,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));d.poolSize=8192;d.from=function(a,b,c){return f(a,b,c)};d.prototype.__proto__=Uint8Array.prototype; +d.__proto__=Uint8Array;d.alloc=function(a,b,d){l(a);a=0>=a?c(a):void 0!==b?"string"===typeof d?c(a).fill(b,d):c(a).fill(b):c(a);return a};d.allocUnsafe=function(a){return h(a)};d.allocUnsafeSlow=function(a){return h(a)};d.isBuffer=function(a){return null!=a&&!0===a._isBuffer};d.compare=function(a,b){if(!d.isBuffer(a)||!d.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,f=b.length,g=0,h=Math.min(c,f);gc&&(a+=" ... "));return"\x3cBuffer "+a+"\x3e"};d.prototype.compare=function(a,b,c,f,g){if(!d.isBuffer(a))throw new TypeError("Argument must be a Buffer");void 0===b&&(b=0);void 0===c&&(c=a?a.length:0);void 0===f&&(f=0);void 0===g&&(g=this.length);if(0>b||c>a.length||0>f||g>this.length)throw new RangeError("out of range index");if(f>=g&&b>=c)return 0;if(f>= +g)return-1;if(b>=c)return 1;b>>>=0;c>>>=0;f>>>=0;g>>>=0;if(this===a)return 0;var h=g-f,e=c-b,k=Math.min(h,e);f=this.slice(f,g);a=a.slice(b,c);for(b=0;b>>=0,isFinite(c)?(c>>>=0,void 0===d&&(d="utf8")):(d=c,c=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-b;if(void 0===c||c>f)c=f;if(0c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");for(f=!1;;)switch(d){case "hex":a:{b=Number(b)||0;d=this.length-b;c?(c=Number(c),c>d&&(c=d)):c=d;d=a.length;if(0!==d% +2)throw new TypeError("Invalid hex string");c>d/2&&(c=d/2);for(d=0;d(d-=2));++e)g=a.charCodeAt(e),f=g>> +8,g%=256,h.push(g),h.push(f);return B(h,this,b,c);default:if(f)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase();f=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;d.prototype.slice=function(a,b){var c=this.length;a=~~a;b=void 0===b?c:~~b;0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c);b>>= +0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var d=1,f=0;++f>>=0;b>>>=0;c||q(a,b,this.length);c=this[a+--b];for(var d=1;0>>=0;b||q(a,1,this.length);return this[a]};d.prototype.readUInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]|this[a+1]<<8};d.prototype.readUInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]<< +8|this[a+1]};d.prototype.readUInt32LE=function(a,b){a>>>=0;b||q(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};d.prototype.readUInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};d.prototype.readIntLE=function(a,b,c){a>>>=0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var d=1,f=0;++f=128*d&&(c-=Math.pow(2,8*b));return c};d.prototype.readIntBE=function(a,b,c){a>>>=0;b>>>=0; +c||q(a,b,this.length);c=b;for(var d=1,f=this[a+--c];0=128*d&&(f-=Math.pow(2,8*b));return f};d.prototype.readInt8=function(a,b){a>>>=0;b||q(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};d.prototype.readInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a]|this[a+1]<<8;return a&32768?a|4294901760:a};d.prototype.readInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a+1]|this[a]<<8;return a&32768?a|4294901760:a};d.prototype.readInt32LE= +function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};d.prototype.readInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};d.prototype.readFloatLE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!0,23,4)};d.prototype.readFloatBE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!1,23,4)};d.prototype.readDoubleLE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this, +a,!0,52,8)};d.prototype.readDoubleBE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this,a,!1,52,8)};d.prototype.writeUIntLE=function(a,b,c,d){a=+a;b>>>=0;c>>>=0;d||z(this,a,b,c,Math.pow(2,8*c)-1,0);d=1;var f=0;for(this[b]=a&255;++f>>=0;c>>>=0;d||z(this,a,b,c,Math.pow(2,8*c)-1,0);d=c-1;var f=1;for(this[b+d]=a&255;0<=--d&&(f*=256);)this[b+d]=a/f&255;return b+c};d.prototype.writeUInt8=function(a,b, +c){a=+a;b>>>=0;c||z(this,a,b,1,255,0);this[b]=a&255;return b+1};d.prototype.writeUInt16LE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};d.prototype.writeUInt16BE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};d.prototype.writeUInt32LE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&255;return b+4};d.prototype.writeUInt32BE=function(a, +b,c){a=+a;b>>>=0;c||z(this,a,b,4,4294967295,0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};d.prototype.writeIntLE=function(a,b,c,d){a=+a;b>>>=0;d||(d=Math.pow(2,8*c-1),z(this,a,b,c,d-1,-d));d=0;var f=1,g=0;for(this[b]=a&255;++da&&0===g&&0!==this[b+d-1]&&(g=1),this[b+d]=(a/f>>0)-g&255;return b+c};d.prototype.writeIntBE=function(a,b,c,d){a=+a;b>>>=0;d||(d=Math.pow(2,8*c-1),z(this,a,b,c,d-1,-d));d=c-1;var f=1,g=0;for(this[b+d]=a&255;0<=--d&&(f*=256);)0> +a&&0===g&&0!==this[b+d+1]&&(g=1),this[b+d]=(a/f>>0)-g&255;return b+c};d.prototype.writeInt8=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};d.prototype.writeInt16LE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};d.prototype.writeInt16BE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};d.prototype.writeInt32LE=function(a,b,c){a=+a;b>>>=0;c||z(this, +a,b,4,2147483647,-2147483648);this[b]=a&255;this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};d.prototype.writeInt32BE=function(a,b,c){a=+a;b>>>=0;c||z(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};d.prototype.writeFloatLE=function(a,b,c){return x(this,a,b,!0,c)};d.prototype.writeFloatBE=function(a,b,c){return x(this,a,b,!1,c)};d.prototype.writeDoubleLE=function(a,b,c){return w(this,a,b,!0,c)};d.prototype.writeDoubleBE= +function(a,b,c){return w(this,a,b,!1,c)};d.prototype.copy=function(a,b,c,d){c||(c=0);d||0===d||(d=this.length);b>=a.length&&(b=a.length);b||(b=0);0b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);a.length-bf)for(d=0;dg&&(a=g)}if(void 0!==f&&"string"!==typeof f)throw new TypeError("encoding must be a string");if("string"===typeof f&&!d.isEncoding(f))throw new TypeError("Unknown encoding: "+ +f);}else"number"===typeof a&&(a&=255);if(0>b||this.length>>=0;c=void 0===c?this.length:c>>>0;a||(a=0);if("number"===typeof a)for(f=b;f>>2),l=0,f=0;l>5]|=128<>>9<<4)+14]=b;b=1732584193;for(var c=-271733879,d=-1732584194,f=271733878,m=0;m>>32-d,c)}function g(a,b,c,d,h,g,k){return e(b&c|~b&d,a,b,h,g,k)}function l(a,b,c,d,h,g,k){return e(b&d|c&~d,a,b,h,g,k)}function h(a,b,c,d,h,g,k){return e(c^(b|~d),a,b,h,g,k)}function k(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}var n=d("./make-hash");a.exports=function(a){return n(a,c)}},{"./make-hash":70}],72:[function(d,a,b){function c(a,b){g.call(this,"digest"); -"string"===typeof b&&(b=l.from(b));var c="sha512"===a||"sha384"===a?128:64;this._alg=a;this._key=b;b.length>c?b=("rmd160"===a?new k:n(a)).update(b).digest():b.lengthb.length&&(b=e.concat([b,l],64));a=this._ipad=e.allocUnsafe(64);for(var c=this._opad=e.allocUnsafe(64),d=0;64>d;d++)a[d]=b[d]^54,c[d]=b[d]^92;this._hash=[a]}b=d("inherits");var e=d("safe-buffer").Buffer,g=d("cipher-base"),l=e.alloc(128);b(c,g);c.prototype._update=function(a){this._hash.push(a)};c.prototype._final=function(){var a=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,a]))};a.exports=c}, -{"cipher-base":66,inherits:119,"safe-buffer":160}],74:[function(d,a,b){b.randomBytes=b.rng=b.pseudoRandomBytes=b.prng=d("randombytes");b.createHash=b.Hash=d("create-hash");b.createHmac=b.Hmac=d("create-hmac");a=d("browserify-sign/algos");a=Object.keys(a);var c="sha1 sha224 sha256 sha384 sha512 md5 rmd160".split(" ").concat(a);b.getHashes=function(){return c};a=d("pbkdf2");b.pbkdf2=a.pbkdf2;b.pbkdf2Sync=a.pbkdf2Sync;a=d("browserify-cipher");b.Cipher=a.Cipher;b.createCipher=a.createCipher;b.Cipheriv= -a.Cipheriv;b.createCipheriv=a.createCipheriv;b.Decipher=a.Decipher;b.createDecipher=a.createDecipher;b.Decipheriv=a.Decipheriv;b.createDecipheriv=a.createDecipheriv;b.getCiphers=a.getCiphers;b.listCiphers=a.listCiphers;a=d("diffie-hellman");b.DiffieHellmanGroup=a.DiffieHellmanGroup;b.createDiffieHellmanGroup=a.createDiffieHellmanGroup;b.getDiffieHellman=a.getDiffieHellman;b.createDiffieHellman=a.createDiffieHellman;b.DiffieHellman=a.DiffieHellman;a=d("browserify-sign");b.createSign=a.createSign;b.Sign= -a.Sign;b.createVerify=a.createVerify;b.Verify=a.Verify;b.createECDH=d("create-ecdh");d=d("public-encrypt");b.publicEncrypt=d.publicEncrypt;b.privateEncrypt=d.privateEncrypt;b.publicDecrypt=d.publicDecrypt;b.privateDecrypt=d.privateDecrypt;b.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify");};b.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4, -DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":54,"browserify-sign":61,"browserify-sign/algos":58,"create-ecdh":68,"create-hash":69,"create-hmac":72,"diffie-hellman":81,pbkdf2:132,"public-encrypt":139,randombytes:145}],75:[function(d,a,b){b.utils=d("./des/utils"); -b.Cipher=d("./des/cipher");b.DES=d("./des/des");b.CBC=d("./des/cbc");b.EDE=d("./des/ede")},{"./des/cbc":76,"./des/cipher":77,"./des/des":78,"./des/ede":79,"./des/utils":80}],76:[function(d,a,b){function c(a){e.equal(a.length,8,"Invalid IV length");this.iv=Array(8);for(var b=0;b>>1],c=l.r28shl(c,d);b=l.r28shl(b,d);l.pc2(c,b,a.keys,e)}};e.prototype._update=function(a,b,c,e){var d=this._desState, -f=l.readUInt32BE(a,b);a=l.readUInt32BE(a,b+4);l.ip(f,a,d.tmp,0);f=d.tmp[0];a=d.tmp[1];"encrypt"===this.type?this._encrypt(d,f,a,d.tmp,0):this._decrypt(d,f,a,d.tmp,0);f=d.tmp[0];a=d.tmp[1];l.writeUInt32BE(c,f,e);l.writeUInt32BE(c,a,e+4)};e.prototype._pad=function(a,b){for(var c=a.length-b;b>>0;b=h}l.rip(c,b,e,d)};e.prototype._decrypt=function(a,b,c,e,d){for(var f=a.keys.length-2;0<=f;f-=2){var g=a.keys[f],h=a.keys[f+1];l.expand(c,a.tmp,0);g^=a.tmp[0];h^=a.tmp[1];g=l.substitute(g,h);g=l.permute(g);h=c;c=(b^g)>>>0;b=h}l.rip(c,b,e,d)}},{"../des":75,inherits:119,"minimalistic-assert":125}],79:[function(d,a,b){function c(a,b){g.equal(b.length,24, -"Invalid key length");var c=b.slice(0,8),e=b.slice(8,16);b=b.slice(16,24);this.ciphers="encrypt"===a?[h.create({type:"encrypt",key:c}),h.create({type:"decrypt",key:e}),h.create({type:"encrypt",key:b})]:[h.create({type:"decrypt",key:b}),h.create({type:"encrypt",key:e}),h.create({type:"decrypt",key:c})]}function e(a){l.call(this,a);this._edeState=new c(this.type,this.options.key)}var g=d("minimalistic-assert");b=d("inherits");d=d("../des");var l=d.Cipher,h=d.DES;b(e,l);a.exports=e;e.create=function(a){return new e(a)}; -e.prototype._update=function(a,b,c,e){var d=this._edeState;d.ciphers[0]._update(a,b,c,e);d.ciphers[1]._update(c,e,c,e);d.ciphers[2]._update(c,e,c,e)};e.prototype._pad=h.prototype._pad;e.prototype._unpad=h.prototype._unpad},{"../des":75,inherits:119,"minimalistic-assert":125}],80:[function(d,a,b){b.readUInt32BE=function(a,b){return(a[0+b]<<24|a[1+b]<<16|a[2+b]<<8|a[3+b])>>>0};b.writeUInt32BE=function(a,b,c){a[0+c]=b>>>24;a[1+c]=b>>>16&255;a[2+c]=b>>>8&255;a[3+c]=b&255};b.ip=function(a,b,c,e){for(var d= -0,g=0,h=6;0<=h;h-=2){for(var k=0;24>=k;k+=8)d<<=1,d|=b>>>k+h&1;for(k=0;24>=k;k+=8)d<<=1,d|=a>>>k+h&1}for(h=6;0<=h;h-=2){for(k=1;25>=k;k+=8)g<<=1,g|=b>>>k+h&1;for(k=1;25>=k;k+=8)g<<=1,g|=a>>>k+h&1}c[e+0]=d>>>0;c[e+1]=g>>>0};b.rip=function(a,b,c,e){for(var d=0,g=0,h=0;4>h;h++)for(var k=24;0<=k;k-=8)d<<=1,d|=b>>>k+h&1,d<<=1,d|=a>>>k+h&1;for(h=4;8>h;h++)for(k=24;0<=k;k-=8)g<<=1,g|=b>>>k+h&1,g<<=1,g|=a>>>k+h&1;c[e+0]=d>>>0;c[e+1]=g>>>0};b.pc1=function(a,b,c,e){for(var d=0,g=0,h=7;5<=h;h--){for(var k=0;24>= -k;k+=8)d<<=1,d|=b>>k+h&1;for(k=0;24>=k;k+=8)d<<=1,d|=a>>k+h&1}for(k=0;24>=k;k+=8)d<<=1,d|=b>>k+h&1;for(h=1;3>=h;h++){for(k=0;24>=k;k+=8)g<<=1,g|=b>>k+h&1;for(k=0;24>=k;k+=8)g<<=1,g|=a>>k+h&1}for(k=0;24>=k;k+=8)g<<=1,g|=a>>k+h&1;c[e+0]=d>>>0;c[e+1]=g>>>0};b.r28shl=function(a,b){return a<>>28-b};var c=[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];b.pc2=function(a,b,e,d){for(var f=0,g=0,h=c.length>>>1,k= -0;k>>c[k]&1;for(k=h;k>>c[k]&1;e[d+0]=f>>>0;e[d+1]=g>>>0};b.expand=function(a,b,c){var e,d=0;e=(a&1)<<5|a>>>27;for(var g=23;15<=g;g-=4)e<<=6,e|=a>>>g&63;for(g=11;3<=g;g-=4)d|=a>>>g&63,d<<=6;b[c+0]=e>>>0;b[c+1]=(d|(a&31)<<1|a>>>31)>>>0};var e=[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, +b.isError=function(a){return"[object Error]"===Object.prototype.toString.call(a)||a instanceof Error};b.isFunction=function(a){return"function"===typeof a};b.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};b.isBuffer=a.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":120}],68:[function(e,a,b){(function(b){function c(a){this.curveType=k[a];this.curveType|| +(this.curveType={name:a});this.curve=new l.ec(this.curveType.name);this.keys=void 0}function f(a,c,d){Array.isArray(a)||(a=a.toArray());a=new b(a);d&&a.length>>2),l=0,g=0;l>5]|=128<>>9<<4)+14]=b;b=1732584193;for(var c=-271733879,g=-1732584194,e=271733878,m=0;m>>32-f,c)}function f(a,b,c,f,e,h,k){return d(b&c|~b&f,a,b,e,h,k)}function l(a,b,c,f,e,h,k){return d(b&f|c&~f,a,b,e,h,k)}function h(a,b,c,f,e,h,k){return d(c^(b|~f),a,b,e,h,k)}function k(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}var n=e("./make-hash");a.exports=function(a){return n(a,c)}},{"./make-hash":70}],72:[function(e,a,b){function c(a,b){f.call(this,"digest"); +"string"===typeof b&&(b=l.from(b));var c="sha512"===a||"sha384"===a?128:64;this._alg=a;this._key=b;b.length>c?b=("rmd160"===a?new k:n(a)).update(b).digest():b.lengthb.length&&(b=d.concat([b,l],64));a=this._ipad=d.allocUnsafe(64);for(var c=this._opad=d.allocUnsafe(64),g=0;64>g;g++)a[g]=b[g]^54,c[g]=b[g]^92;this._hash=[a]}b=e("inherits");var d=e("safe-buffer").Buffer,f=e("cipher-base"),l=d.alloc(128);b(c,f);c.prototype._update=function(a){this._hash.push(a)};c.prototype._final=function(){var a=this._alg(d.concat(this._hash));return this._alg(d.concat([this._opad,a]))};a.exports=c}, +{"cipher-base":66,inherits:119,"safe-buffer":160}],74:[function(e,a,b){b.randomBytes=b.rng=b.pseudoRandomBytes=b.prng=e("randombytes");b.createHash=b.Hash=e("create-hash");b.createHmac=b.Hmac=e("create-hmac");a=e("browserify-sign/algos");a=Object.keys(a);var c="sha1 sha224 sha256 sha384 sha512 md5 rmd160".split(" ").concat(a);b.getHashes=function(){return c};a=e("pbkdf2");b.pbkdf2=a.pbkdf2;b.pbkdf2Sync=a.pbkdf2Sync;a=e("browserify-cipher");b.Cipher=a.Cipher;b.createCipher=a.createCipher;b.Cipheriv= +a.Cipheriv;b.createCipheriv=a.createCipheriv;b.Decipher=a.Decipher;b.createDecipher=a.createDecipher;b.Decipheriv=a.Decipheriv;b.createDecipheriv=a.createDecipheriv;b.getCiphers=a.getCiphers;b.listCiphers=a.listCiphers;a=e("diffie-hellman");b.DiffieHellmanGroup=a.DiffieHellmanGroup;b.createDiffieHellmanGroup=a.createDiffieHellmanGroup;b.getDiffieHellman=a.getDiffieHellman;b.createDiffieHellman=a.createDiffieHellman;b.DiffieHellman=a.DiffieHellman;a=e("browserify-sign");b.createSign=a.createSign;b.Sign= +a.Sign;b.createVerify=a.createVerify;b.Verify=a.Verify;b.createECDH=e("create-ecdh");e=e("public-encrypt");b.publicEncrypt=e.publicEncrypt;b.privateEncrypt=e.privateEncrypt;b.publicDecrypt=e.publicDecrypt;b.privateDecrypt=e.privateDecrypt;b.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify");};b.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4, +DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":54,"browserify-sign":61,"browserify-sign/algos":58,"create-ecdh":68,"create-hash":69,"create-hmac":72,"diffie-hellman":81,pbkdf2:132,"public-encrypt":139,randombytes:145}],75:[function(e,a,b){b.utils=e("./des/utils"); +b.Cipher=e("./des/cipher");b.DES=e("./des/des");b.CBC=e("./des/cbc");b.EDE=e("./des/ede")},{"./des/cbc":76,"./des/cipher":77,"./des/des":78,"./des/ede":79,"./des/utils":80}],76:[function(e,a,b){function c(a){d.equal(a.length,8,"Invalid IV length");this.iv=Array(8);for(var b=0;b>>1],c=l.r28shl(c,g);b=l.r28shl(b,g);l.pc2(c,b,a.keys,d)}};d.prototype._update=function(a,b,c,d){var f=this._desState, +g=l.readUInt32BE(a,b);a=l.readUInt32BE(a,b+4);l.ip(g,a,f.tmp,0);g=f.tmp[0];a=f.tmp[1];"encrypt"===this.type?this._encrypt(f,g,a,f.tmp,0):this._decrypt(f,g,a,f.tmp,0);g=f.tmp[0];a=f.tmp[1];l.writeUInt32BE(c,g,d);l.writeUInt32BE(c,a,d+4)};d.prototype._pad=function(a,b){for(var c=a.length-b;b>>0;b=h}l.rip(c,b,d,f)};d.prototype._decrypt=function(a,b,c,d,f){for(var g=a.keys.length-2;0<=g;g-=2){var e=a.keys[g],h=a.keys[g+1];l.expand(c,a.tmp,0);e^=a.tmp[0];h^=a.tmp[1];e=l.substitute(e,h);e=l.permute(e);h=c;c=(b^e)>>>0;b=h}l.rip(c,b,d,f)}},{"../des":75,inherits:119,"minimalistic-assert":125}],79:[function(e,a,b){function c(a,b){f.equal(b.length,24, +"Invalid key length");var c=b.slice(0,8),d=b.slice(8,16);b=b.slice(16,24);this.ciphers="encrypt"===a?[h.create({type:"encrypt",key:c}),h.create({type:"decrypt",key:d}),h.create({type:"encrypt",key:b})]:[h.create({type:"decrypt",key:b}),h.create({type:"encrypt",key:d}),h.create({type:"decrypt",key:c})]}function d(a){l.call(this,a);this._edeState=new c(this.type,this.options.key)}var f=e("minimalistic-assert");b=e("inherits");e=e("../des");var l=e.Cipher,h=e.DES;b(d,l);a.exports=d;d.create=function(a){return new d(a)}; +d.prototype._update=function(a,b,c,d){var f=this._edeState;f.ciphers[0]._update(a,b,c,d);f.ciphers[1]._update(c,d,c,d);f.ciphers[2]._update(c,d,c,d)};d.prototype._pad=h.prototype._pad;d.prototype._unpad=h.prototype._unpad},{"../des":75,inherits:119,"minimalistic-assert":125}],80:[function(e,a,b){b.readUInt32BE=function(a,b){return(a[0+b]<<24|a[1+b]<<16|a[2+b]<<8|a[3+b])>>>0};b.writeUInt32BE=function(a,b,c){a[0+c]=b>>>24;a[1+c]=b>>>16&255;a[2+c]=b>>>8&255;a[3+c]=b&255};b.ip=function(a,b,c,d){for(var f= +0,e=0,h=6;0<=h;h-=2){for(var k=0;24>=k;k+=8)f<<=1,f|=b>>>k+h&1;for(k=0;24>=k;k+=8)f<<=1,f|=a>>>k+h&1}for(h=6;0<=h;h-=2){for(k=1;25>=k;k+=8)e<<=1,e|=b>>>k+h&1;for(k=1;25>=k;k+=8)e<<=1,e|=a>>>k+h&1}c[d+0]=f>>>0;c[d+1]=e>>>0};b.rip=function(a,b,c,d){for(var f=0,e=0,h=0;4>h;h++)for(var k=24;0<=k;k-=8)f<<=1,f|=b>>>k+h&1,f<<=1,f|=a>>>k+h&1;for(h=4;8>h;h++)for(k=24;0<=k;k-=8)e<<=1,e|=b>>>k+h&1,e<<=1,e|=a>>>k+h&1;c[d+0]=f>>>0;c[d+1]=e>>>0};b.pc1=function(a,b,c,d){for(var f=0,e=0,h=7;5<=h;h--){for(var k=0;24>= +k;k+=8)f<<=1,f|=b>>k+h&1;for(k=0;24>=k;k+=8)f<<=1,f|=a>>k+h&1}for(k=0;24>=k;k+=8)f<<=1,f|=b>>k+h&1;for(h=1;3>=h;h++){for(k=0;24>=k;k+=8)e<<=1,e|=b>>k+h&1;for(k=0;24>=k;k+=8)e<<=1,e|=a>>k+h&1}for(k=0;24>=k;k+=8)e<<=1,e|=a>>k+h&1;c[d+0]=f>>>0;c[d+1]=e>>>0};b.r28shl=function(a,b){return a<>>28-b};var c=[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];b.pc2=function(a,b,d,f){for(var g=0,e=0,h=c.length>>>1,k= +0;k>>c[k]&1;for(k=h;k>>c[k]&1;d[f+0]=g>>>0;d[f+1]=e>>>0};b.expand=function(a,b,c){var d,f=0;d=(a&1)<<5|a>>>27;for(var e=23;15<=e;e-=4)d<<=6,d|=a>>>e&63;for(e=11;3<=e;e-=4)f|=a>>>e&63,f<<=6;b[c+0]=d>>>0;b[c+1]=(f|(a&31)<<1|a>>>31)>>>0};var d=[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];b.substitute= -function(a,b){for(var c=0,d=0;4>d;d++)var f=a>>>18-6*d&63,f=e[64*d+f],c=c<<4,c=c|f;for(d=0;4>d;d++)f=b>>>18-6*d&63,f=e[256+64*d+f],c<<=4,c|=f;return c>>>0};var g=[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];b.permute=function(a){for(var b=0,c=0;c>>g[c]&1;return b>>>0};b.padSplit=function(a,b,c){for(a=a.toString(2);a.lengthf;f++)var g=a>>>18-6*f&63,g=d[64*f+g],c=c<<4,c=c|g;for(f=0;4>f;f++)g=b>>>18-6*f&63,g=d[256+64*f+g],c<<=4,c|=g;return c>>>0};var f=[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];b.permute=function(a){for(var b=0,c=0;c>>f[c]&1;return b>>>0};b.padSplit=function(a,b,c){for(a=a.toString(2);a.lengthe;e+=2){for(var d=Math.ceil(Math.sqrt(e)),f=0;fa)return 2===b||5===b?new h([140,123]):new h([140,39]);b=new h(b);for(var d,g;;){for(d=new h(l(Math.ceil(a/8)));d.bitLength()>a;)d.ishrn(1);d.isEven()&&d.iadd(f);d.testn(1)||d.iadd(m);if(!b.cmp(m))for(;d.mod(k).cmp(v);)d.iadd(C);else if(!b.cmp(p))for(;d.mod(u).cmp(r);)d.iadd(C);g=d.shrn(1);if(c(g)&&c(d)&&e(g)&&e(d)&&n.test(g)&&n.test(d))return d}}var l=d("randombytes");a.exports=g;g.simpleSieve=c;g.fermatTest=e;var h=d("bn.js"), -k=new h(24),n=new (d("miller-rabin")),f=new h(1),m=new h(2),p=new h(5);new h(16);new h(8);var u=new h(10),r=new h(3);new h(7);var v=new h(11),C=new h(4);new h(12);var q=null},{"bn.js":34,"miller-rabin":124,randombytes:145}],84:[function(d,a,b){a.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"}, +(a=new b(a,c));this.__gen=a;this._gen=new k(a);return this}}).call(this,e("buffer").Buffer)},{"./generatePrime":83,"bn.js":34,buffer:65,"miller-rabin":124,randombytes:145}],83:[function(e,a,b){function c(a){var b;if(null!==q)b=q;else{b=[2];for(var c=1,d=3;1048576>d;d+=2){for(var f=Math.ceil(Math.sqrt(d)),g=0;ga)return 2===b||5===b?new h([140,123]):new h([140,39]);b=new h(b);for(var f,e;;){for(f=new h(l(Math.ceil(a/8)));f.bitLength()>a;)f.ishrn(1);f.isEven()&&f.iadd(g);f.testn(1)||f.iadd(m);if(!b.cmp(m))for(;f.mod(k).cmp(v);)f.iadd(C);else if(!b.cmp(p))for(;f.mod(u).cmp(r);)f.iadd(C);e=f.shrn(1);if(c(e)&&c(f)&&d(e)&&d(f)&&n.test(e)&&n.test(f))return f}}var l=e("randombytes");a.exports=f;f.simpleSieve=c;f.fermatTest=d;var h=e("bn.js"), +k=new h(24),n=new (e("miller-rabin")),g=new h(1),m=new h(2),p=new h(5);new h(16);new h(8);var u=new h(10),r=new h(3);new h(7);var v=new h(11),C=new h(4);new h(12);var q=null},{"bn.js":34,"miller-rabin":124,randombytes:145}],84:[function(e,a,b){a.exports={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:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"}, modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}, -{}],85:[function(d,a,b){b.version=d("../package.json").version;b.utils=d("./elliptic/utils");b.rand=d("brorand");b.curve=d("./elliptic/curve");b.curves=d("./elliptic/curves");b.ec=d("./elliptic/ec");b.eddsa=d("./elliptic/eddsa")},{"../package.json":100,"./elliptic/curve":88,"./elliptic/curves":91,"./elliptic/ec":92,"./elliptic/eddsa":95,"./elliptic/utils":99,brorand:35}],86:[function(d,a,b){function c(a,b){this.type=a;this.p=new g(b.p,16);this.red=b.prime?g.red(b.prime):g.mont(this.p);this.zero=(new g(0)).toRed(this.red); -this.one=(new g(1)).toRed(this.red);this.two=(new g(2)).toRed(this.red);this.n=b.n&&new g(b.n,16);this.g=b.g&&this.pointFromJSON(b.g,b.gRed);this._wnafT1=Array(4);this._wnafT2=Array(4);this._wnafT3=Array(4);this._wnafT4=Array(4);a=this.n&&this.p.div(this.n);!a||0=f;b--)g=(g<<1)+c[b];d.push(g)}b=this.jpoint(null,null,null);for(c=this.jpoint(null,null,null);0f)break;b=c[f];n(0!==b);d="affine"===a.type?0>1]):d.mixedAdd(e[-b-1>>1].neg()):0>1]):d.add(e[-b-1>>1].neg())}return"affine"===a.type?d.toP():d};c.prototype._wnafMulAdd=function(a,b,c,e,d){for(var f=this._wnafT1,g=this._wnafT2,l=this._wnafT3, -m=0,n=0;nn)break;for(a=0;a>1]:0>m&&(u=g[a][-m-1>>1].neg()),b="affine"===u.type?b.mixedAdd(u):b.add(u))}for(n=0;n=Math.ceil((a.bitLength()+1)/b.step):!1};e.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],e=this,d=0;db[0].cmp(b[1])?b[0]:b[1],b=b.toRed(this.red));a.lambda?c=new h(a.lambda,16):(c=this._getEndoRoots(this.n),0===this.g.mul(c[0]).x.cmp(this.g.x.redMul(b))?c=c[0]:(c=c[1],n(0===this.g.mul(c).x.cmp(this.g.x.redMul(b)))));a= -a.basis?a.basis.map(function(a){return{a:new h(a.a,16),b:new h(a.b,16)}}):this._getEndoBasis(c);return{beta:b,lambda:c,basis:a}}};c.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:h.mont(a),c=(new h(2)).toRed(b).redInvm();a=c.redNeg();c=(new h(3)).toRed(b).redNeg().redSqrt().redMul(c);b=a.redAdd(c).fromRed();a=a.redSub(c).fromRed();return[b,a]};c.prototype._getEndoBasis=function(a){for(var b=this.n.ushrn(Math.floor(this.n.bitLength()/2)),c=this.n.clone(),e=new h(1),d=new h(0),g=new h(0), -f=new h(1),k,l,n,x,w,y,B=0,F;0!==a.cmpn(0);){var z=c.div(a);F=c.sub(z.mul(a));w=g.sub(z.mul(e));z=f.sub(z.mul(d));if(!n&&0>F.cmp(b))k=y.neg(),l=e,n=F.neg(),x=w;else if(n&&2===++B)break;y=F;c=a;a=F;g=e;e=w;f=d;d=z}b=F.neg();y=n.sqr().add(x.sqr());0<=b.sqr().add(w.sqr()).cmp(y)&&(b=k,w=l);n.negative&&(n=n.neg(),x=x.neg());b.negative&&(b=b.neg(),w=w.neg());return[{a:n,b:x},{a:b,b:w}]};c.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],e=b[1],d=e.b.mul(a).divRound(this.n),g=c.b.neg().mul(a).divRound(this.n), -b=d.mul(c.a),h=g.mul(e.a),c=d.mul(c.b),e=g.mul(e.b);a=a.sub(b).sub(h);b=c.add(e).neg();return{k1:a,k2:b}};c.prototype.pointFromX=function(a,b){a=new h(a,16);a.red||(a=a.toRed(this.red));var c=a.redSqr().redMul(a).redIAdd(a.redMul(this.a)).redIAdd(this.b),e=c.redSqrt();if(0!==e.redSqr().redSub(c).cmp(this.zero))throw Error("invalid point");c=e.fromRed().isOdd();if(b&&!c||!b&&c)e=e.redNeg();return this.point(a,e)};c.prototype.validate=function(a){if(a.inf)return!0;var b=a.x;a=a.y;var c=this.a.redMul(b), -b=b.redSqr().redMul(b).redIAdd(c).redIAdd(this.b);return 0===a.redSqr().redISub(b).cmpn(0)};c.prototype._endoWnafMulAdd=function(a,b,c){for(var e=this._endoWnafT1,d=this._endoWnafT2,g=0;g=g;b--)e=(e<<1)+c[b];f.push(e)}b=this.jpoint(null,null,null);for(c=this.jpoint(null,null,null);0g)break;b=c[g];n(0!==b);f="affine"===a.type?0>1]):f.mixedAdd(d[-b-1>>1].neg()):0>1]):f.add(d[-b-1>>1].neg())}return"affine"===a.type?f.toP():f};c.prototype._wnafMulAdd=function(a,b,c,d,f){for(var g=this._wnafT1,e=this._wnafT2,l=this._wnafT3, +m=0,n=0;nn)break;for(a=0;a>1]:0>m&&(u=e[a][-m-1>>1].neg()),b="affine"===u.type?b.mixedAdd(u):b.add(u))}for(n=0;n=Math.ceil((a.bitLength()+1)/b.step):!1};d.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,f=0;fb[0].cmp(b[1])?b[0]:b[1],b=b.toRed(this.red));a.lambda?c=new h(a.lambda,16):(c=this._getEndoRoots(this.n),0===this.g.mul(c[0]).x.cmp(this.g.x.redMul(b))?c=c[0]:(c=c[1],n(0===this.g.mul(c).x.cmp(this.g.x.redMul(b)))));a= +a.basis?a.basis.map(function(a){return{a:new h(a.a,16),b:new h(a.b,16)}}):this._getEndoBasis(c);return{beta:b,lambda:c,basis:a}}};c.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:h.mont(a),c=(new h(2)).toRed(b).redInvm();a=c.redNeg();c=(new h(3)).toRed(b).redNeg().redSqrt().redMul(c);b=a.redAdd(c).fromRed();a=a.redSub(c).fromRed();return[b,a]};c.prototype._getEndoBasis=function(a){for(var b=this.n.ushrn(Math.floor(this.n.bitLength()/2)),c=this.n.clone(),d=new h(1),f=new h(0),e=new h(0), +g=new h(1),k,l,n,x,w,y,A=0,F;0!==a.cmpn(0);){var B=c.div(a);F=c.sub(B.mul(a));w=e.sub(B.mul(d));B=g.sub(B.mul(f));if(!n&&0>F.cmp(b))k=y.neg(),l=d,n=F.neg(),x=w;else if(n&&2===++A)break;y=F;c=a;a=F;e=d;d=w;g=f;f=B}b=F.neg();y=n.sqr().add(x.sqr());0<=b.sqr().add(w.sqr()).cmp(y)&&(b=k,w=l);n.negative&&(n=n.neg(),x=x.neg());b.negative&&(b=b.neg(),w=w.neg());return[{a:n,b:x},{a:b,b:w}]};c.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],d=b[1],f=d.b.mul(a).divRound(this.n),e=c.b.neg().mul(a).divRound(this.n), +b=f.mul(c.a),g=e.mul(d.a),c=f.mul(c.b),d=e.mul(d.b);a=a.sub(b).sub(g);b=c.add(d).neg();return{k1:a,k2:b}};c.prototype.pointFromX=function(a,b){a=new h(a,16);a.red||(a=a.toRed(this.red));var c=a.redSqr().redMul(a).redIAdd(a.redMul(this.a)).redIAdd(this.b),d=c.redSqrt();if(0!==d.redSqr().redSub(c).cmp(this.zero))throw Error("invalid point");c=d.fromRed().isOdd();if(b&&!c||!b&&c)d=d.redNeg();return this.point(a,d)};c.prototype.validate=function(a){if(a.inf)return!0;var b=a.x;a=a.y;var c=this.a.redMul(b), +b=b.redSqr().redMul(b).redIAdd(c).redIAdd(this.b);return 0===a.redSqr().redISub(b).cmpn(0)};c.prototype._endoWnafMulAdd=function(a,b,c){for(var d=this._endoWnafT1,f=this._endoWnafT2,e=0;e=l.cmpn(1)||0<=l.cmp(f))){var m=this.g.mul(l);if(!m.isInfinity()){var u=m.getX();c=u.umod(this.n);if(0!==c.cmpn(0)&&(l=l.invm(this.n).mul(c.mul(b.getPrivate()).iadd(a)),l=l.umod(this.n),0!==l.cmpn(0)))return a=(m.getY().isOdd()?1:0)|(0!==u.cmp(c)?2:0),d.canonical&&0d.cmpn(1)||0<=d.cmp(this.n)||0>b.cmpn(1)||0<=b.cmp(this.n))return!1;b=b.invm(this.n);a=b.mul(a).umod(this.n);b=b.mul(d).umod(this.n);if(!this.curve._maxwellTrick)return c=this.g.mulAdd(a,c.getPublic(),b),c.isInfinity()?!1:0===c.getX().umod(this.n).cmp(d);c=this.g.jmulAdd(a,c.getPublic(),b);return c.isInfinity()?!1:c.eqXToP(d)};c.prototype.recoverPubKey=function(a,b,c,d){h((3&c)===c,"The recovery param is more than two bits");b=new n(b,d);d=this.n;var g=new e(a); -a=b.r;var f=b.s,k=c&1;c>>=1;if(0<=a.cmp(this.curve.p.umod(this.curve.n))&&c)throw Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),k):this.curve.pointFromX(a,k);b=b.r.invm(d);c=d.sub(g).mul(b).umod(d);d=f.mul(b).umod(d);return this.g.mulAdd(c,a,d)};c.prototype.getKeyRecoveryParam=function(a,b,c,e){b=new n(b,e);if(null!==b.recoveryParam)return b.recoveryParam;for(e=0;4>e;e++){var d;try{d=this.recoverPubKey(a,b,e)}catch(v){continue}if(d.eq(c))return e}throw Error("Unable to find valid recovery factor"); -}},{"../../elliptic":85,"./key":93,"./signature":94,"bn.js":34,"hmac-drbg":116}],93:[function(d,a,b){function c(a,b){this.ec=a;this.pub=this.priv=null;b.priv&&this._importPrivate(b.priv,b.privEnc);b.pub&&this._importPublic(b.pub,b.pubEnc)}var e=d("bn.js"),g=d("../../elliptic").utils.assert;a.exports=c;c.fromPublic=function(a,b,e){return b instanceof c?b:new c(a,{pub:b,pubEnc:e})};c.fromPrivate=function(a,b,e){return b instanceof c?b:new c(a,{priv:b,privEnc:e})};c.prototype.validate=function(){var a= +d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]});d("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:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var k;try{k=e("./precomputed/secp256k1")}catch(n){k=void 0}d("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:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", +lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",k]})},{"../elliptic":85,"./precomputed/secp256k1":98,"hash.js":104}],92:[function(e,a,b){function c(a){if(!(this instanceof +c))return new c(a);"string"===typeof a&&(h(l.curves.hasOwnProperty(a),"Unknown curve "+a),a=l.curves[a]);a instanceof l.curves.PresetCurve&&(a={curve:a});this.curve=a.curve.curve;this.n=this.curve.n;this.nh=this.n.ushrn(1);this.g=this.curve.g;this.g=a.curve.g;this.g.precompute(a.curve.n.bitLength()+1);this.hash=a.hash||a.curve.hash}var d=e("bn.js"),f=e("hmac-drbg"),l=e("../../elliptic"),h=l.utils.assert,k=e("./key"),n=e("./signature");a.exports=c;c.prototype.keyPair=function(a){return new k(this, +a)};c.prototype.keyFromPrivate=function(a,b){return k.fromPrivate(this,a,b)};c.prototype.keyFromPublic=function(a,b){return k.fromPublic(this,a,b)};c.prototype.genKeyPair=function(a){a||(a={});a=new f({hash:this.hash,pers:a.pers,persEnc:a.persEnc||"utf8",entropy:a.entropy||l.rand(this.hash.hmacStrength),entropyEnc:a.entropy&&a.entropyEnc||"utf8",nonce:this.n.toArray()});var b=this.n.byteLength(),c=this.n.sub(new d(2));do{var e=new d(a.generate(b));if(!(0=l.cmpn(1)||0<=l.cmp(g))){var m=this.g.mul(l);if(!m.isInfinity()){var u=m.getX();c=u.umod(this.n);if(0!==c.cmpn(0)&&(l=l.invm(this.n).mul(c.mul(b.getPrivate()).iadd(a)),l=l.umod(this.n),0!==l.cmpn(0)))return a=(m.getY().isOdd()?1:0)|(0!==u.cmp(c)?2:0),e.canonical&&0f.cmpn(1)||0<=f.cmp(this.n)||0>b.cmpn(1)||0<=b.cmp(this.n))return!1;b=b.invm(this.n);a=b.mul(a).umod(this.n);b=b.mul(f).umod(this.n);if(!this.curve._maxwellTrick)return c=this.g.mulAdd(a,c.getPublic(),b),c.isInfinity()?!1:0===c.getX().umod(this.n).cmp(f);c=this.g.jmulAdd(a,c.getPublic(),b);return c.isInfinity()?!1:c.eqXToP(f)};c.prototype.recoverPubKey=function(a,b,c,f){h((3&c)===c,"The recovery param is more than two bits");b=new n(b,f);f=this.n;var e=new d(a); +a=b.r;var g=b.s,k=c&1;c>>=1;if(0<=a.cmp(this.curve.p.umod(this.curve.n))&&c)throw Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),k):this.curve.pointFromX(a,k);b=b.r.invm(f);c=f.sub(e).mul(b).umod(f);f=g.mul(b).umod(f);return this.g.mulAdd(c,a,f)};c.prototype.getKeyRecoveryParam=function(a,b,c,d){b=new n(b,d);if(null!==b.recoveryParam)return b.recoveryParam;for(d=0;4>d;d++){var f;try{f=this.recoverPubKey(a,b,d)}catch(v){continue}if(f.eq(c))return d}throw Error("Unable to find valid recovery factor"); +}},{"../../elliptic":85,"./key":93,"./signature":94,"bn.js":34,"hmac-drbg":116}],93:[function(e,a,b){function c(a,b){this.ec=a;this.pub=this.priv=null;b.priv&&this._importPrivate(b.priv,b.privEnc);b.pub&&this._importPublic(b.pub,b.pubEnc)}var d=e("bn.js"),f=e("../../elliptic").utils.assert;a.exports=c;c.fromPublic=function(a,b,d){return b instanceof c?b:new c(a,{pub:b,pubEnc:d})};c.fromPrivate=function(a,b,d){return b instanceof c?b:new c(a,{priv:b,privEnc:d})};c.prototype.validate=function(){var a= this.getPublic();return a.isInfinity()?{result:!1,reason:"Invalid public key"}:a.validate()?a.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N !\x3d O"}:{result:!1,reason:"Public key is not a point"}};c.prototype.getPublic=function(a,b){"string"===typeof a&&(b=a,a=null);this.pub||(this.pub=this.ec.g.mul(this.priv));return b?this.pub.encode(b,a):this.pub};c.prototype.getPrivate=function(a){return"hex"===a?this.priv.toString(16,2):this.priv};c.prototype._importPrivate= -function(a,b){this.priv=new e(a,b||16);this.priv=this.priv.umod(this.ec.curve.n)};c.prototype._importPublic=function(a,b){a.x||a.y?("mont"===this.ec.curve.type?g(a.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||g(a.x&&a.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(a.x,a.y)):this.pub=this.ec.curve.decodePoint(a,b)};c.prototype.derive=function(a){return a.mul(this.priv).getX()};c.prototype.sign=function(a,b,c){return this.ec.sign(a,this,b,c)}; -c.prototype.verify=function(a,b){return this.ec.verify(a,b,this)};c.prototype.inspect=function(){return"\x3cKey priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" \x3e"}},{"../../elliptic":85,"bn.js":34}],94:[function(d,a,b){function c(a,b){if(a instanceof c)return a;this._importDER(a,b)||(f(a.r&&a.s,"Signature without r or s"),this.r=new k(a.r,16),this.s=new k(a.s,16),this.recoveryParam=void 0===a.recoveryParam?null:a.recoveryParam)}function e(){this.place=0} -function g(a,b){var c=a[b.place++];if(!(c&128))return c;for(var c=c&15,e=0,d=0,g=b.place;db)){var c=1+(Math.log(b)/Math.LN2>>>3);for(a.push(c|128);--c;)a.push(b>>>(c<<3)&255)}a.push(b)}var k=d("bn.js"),n=d("../../elliptic").utils,f=n.assert;a.exports=c;c.prototype._importDER=function(a,b){a=n.toArray(a,b);var c=new e;if(48!==a[c.place++]|| -g(a,c)+c.place!==a.length||2!==a[c.place++])return!1;var d=g(a,c);b=a.slice(c.place,d+c.place);c.place+=d;if(2!==a[c.place++])return!1;d=g(a,c);if(a.length!==d+c.place)return!1;a=a.slice(c.place,d+c.place);0===b[0]&&b[1]&128&&(b=b.slice(1));0===a[0]&&a[1]&128&&(a=a.slice(1));this.r=new k(b);this.s=new k(a);this.recoveryParam=null;return!0};c.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();b[0]&128&&(b=[0].concat(b));c[0]&128&&(c=[0].concat(c));b=l(b);for(c=l(c);!(c[0]||c[1]& -128);)c=c.slice(1);var e=[2];h(e,b.length);e=e.concat(b);e.push(2);h(e,c.length);b=e.concat(c);c=[48];h(c,b.length);c=c.concat(b);return n.encode(c,a)}},{"../../elliptic":85,"bn.js":34}],95:[function(d,a,b){function c(a){h("ed25519"===a,"only tested with ed25519 so far");if(!(this instanceof c))return new c(a);this.curve=a=g.curves[a].curve;this.g=a.g;this.g.precompute(a.n.bitLength()+1);this.pointClass=a.point().constructor;this.encodingLength=Math.ceil(a.n.bitLength()/8);this.hash=e.sha512}var e= -d("hash.js"),g=d("../../elliptic"),l=g.utils,h=l.assert,k=l.parseBytes,n=d("./key"),f=d("./signature");a.exports=c;c.prototype.sign=function(a,b){a=k(a);var c=this.keyFromSecret(b),e=this.hashInt(c.messagePrefix(),a);b=this.g.mul(e);var d=this.encodePoint(b);a=this.hashInt(d,c.pubBytes(),a).mul(c.priv());a=e.add(a).umod(this.curve.n);return this.makeSignature({R:b,S:a,Rencoded:d})};c.prototype.verify=function(a,b,c){a=k(a);b=this.makeSignature(b);c=this.keyFromPublic(c);a=this.hashInt(b.Rencoded(), -c.pubBytes(),a);var e=this.g.mul(b.S());return b.R().add(c.pub().mul(a)).eq(e)};c.prototype.hashInt=function(){for(var a=this.hash(),b=0;bb)){var c=1+(Math.log(b)/Math.LN2>>>3);for(a.push(c|128);--c;)a.push(b>>>(c<<3)&255)}a.push(b)}var k=e("bn.js"),n=e("../../elliptic").utils,g=n.assert;a.exports=c;c.prototype._importDER=function(a,b){a=n.toArray(a,b);var c=new d;if(48!==a[c.place++]|| +f(a,c)+c.place!==a.length||2!==a[c.place++])return!1;var e=f(a,c);b=a.slice(c.place,e+c.place);c.place+=e;if(2!==a[c.place++])return!1;e=f(a,c);if(a.length!==e+c.place)return!1;a=a.slice(c.place,e+c.place);0===b[0]&&b[1]&128&&(b=b.slice(1));0===a[0]&&a[1]&128&&(a=a.slice(1));this.r=new k(b);this.s=new k(a);this.recoveryParam=null;return!0};c.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();b[0]&128&&(b=[0].concat(b));c[0]&128&&(c=[0].concat(c));b=l(b);for(c=l(c);!(c[0]||c[1]& +128);)c=c.slice(1);var d=[2];h(d,b.length);d=d.concat(b);d.push(2);h(d,c.length);b=d.concat(c);c=[48];h(c,b.length);c=c.concat(b);return n.encode(c,a)}},{"../../elliptic":85,"bn.js":34}],95:[function(e,a,b){function c(a){h("ed25519"===a,"only tested with ed25519 so far");if(!(this instanceof c))return new c(a);this.curve=a=f.curves[a].curve;this.g=a.g;this.g.precompute(a.n.bitLength()+1);this.pointClass=a.point().constructor;this.encodingLength=Math.ceil(a.n.bitLength()/8);this.hash=d.sha512}var d= +e("hash.js"),f=e("../../elliptic"),l=f.utils,h=l.assert,k=l.parseBytes,n=e("./key"),g=e("./signature");a.exports=c;c.prototype.sign=function(a,b){a=k(a);var c=this.keyFromSecret(b),d=this.hashInt(c.messagePrefix(),a);b=this.g.mul(d);var f=this.encodePoint(b);a=this.hashInt(f,c.pubBytes(),a).mul(c.priv());a=d.add(a).umod(this.curve.n);return this.makeSignature({R:b,S:a,Rencoded:f})};c.prototype.verify=function(a,b,c){a=k(a);b=this.makeSignature(b);c=this.keyFromPublic(c);a=this.hashInt(b.Rencoded(), +c.pubBytes(),a);var d=this.g.mul(b.S());return b.R().add(c.pub().mul(a)).eq(d)};c.prototype.hashInt=function(){for(var a=this.hash(),b=0;b(e>>1)-1?(e>>1)-d:d,a.isubn(d)):d=0;c.push(d);d=0!==a.cmpn(0)&&0===a.andln(e-1)?b+1:1;for(var g=1;g(d>>1)-1?(d>>1)-f:f,a.isubn(f)):f=0;c.push(f);f=0!==a.cmpn(0)&&0===a.andln(d-1)?b+1:1;for(var e=1;ea||isNaN(a))throw TypeError("n must be a positive number");this._maxListeners=a;return this};c.prototype.emit=function(a){var b, -c,d,f;this._events||(this._events={});if("error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){b=arguments[1];if(b instanceof Error)throw b;c=Error('Uncaught, unspecified "error" event. ('+b+")");c.context=b;throw c;}c=this._events[a];if(void 0===c)return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:b=Array.prototype.slice.call(arguments,1),c.apply(this, -b)}else if(g(c))for(b=Array.prototype.slice.call(arguments,1),f=c.slice(),c=f.length,d=0;db&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"===typeof console.trace&&console.trace());return this};c.prototype.on=c.prototype.addListener;c.prototype.once=function(a,b){function c(){this.removeListener(a,c);d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function"); -var d=!1;c.listener=b;this.on(a,c);return this};c.prototype.removeListener=function(a,b){var c,d,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;c=this._events[a];h=c.length;d=-1;if(c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(;0d)return this;1===c.length?(c.length=0,delete this._events[a]): -c.splice(d,1);this._events.removeListener&&this.emit("removeListener",a,b)}return this};c.prototype.removeAllListeners=function(a){var b;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);this.removeAllListeners("removeListener");this._events={};return this}b=this._events[a];if(e(b))this.removeListener(a, -b);else if(b)for(;b.length;)this.removeListener(a,b[b.length-1]);delete this._events[a];return this};c.prototype.listeners=function(a){return this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]};c.prototype.listenerCount=function(a){if(this._events){a=this._events[a];if(e(a))return 1;if(a)return a.length}return 0};c.listenerCount=function(a,b){return a.listenerCount(b)}},{}],102:[function(d,a,b){var c=d("safe-buffer").Buffer,e=d("md5.js");a.exports=function(a, -b,d,k){c.isBuffer(a)||(a=c.from(a,"binary"));if(b&&(c.isBuffer(b)||(b=c.from(b,"binary")),8!==b.length))throw new RangeError("salt should be Buffer with 8 byte length");d/=8;for(var g=c.alloc(d),h=c.alloc(k||0),l=c.alloc(0);0=this._blockSize;){for(var d=this._blockOffset;d=this._delta8)for(a=this.pending,b=a.length%this._delta8,this.pending=a.slice(a.length-b,a.length),0===this.pending.length&&(this.pending=null),a=e.join32(a,0,a.length-b,this.endian),b=0;b>>24&255;b[e++]=a>>>16&255;b[e++]=a>>>8&255;b[e++]=a&255}else for(b[e++]=a&255,b[e++]=a>>>8&255,b[e++]=a>>>16&255,b[e++]=a>>>24&255,b[e++]=0,b[e++]=0, -b[e++]=0,b[e++]=0,c=8;cthis.blockSize&&(a=(new this.Hash).update(a).digest());g(a.length<=this.blockSize);for(var b=a.length;b< -this.blockSize;b++)a.push(0);for(b=0;b=a?b^c^e:31>=a?b&c|~b&e:47>=a?(b|~c)^e:63>=a?b&e|c&~e:b^(c|~e)}var g=d("./utils");d=d("./common");var l=g.rotl32,h=g.sum32,k=g.sum32_3,n=g.sum32_4,f=d.BlockHash;g.inherits(c,f);b.ripemd160=c;c.blockSize=512;c.outSize=160;c.hmacStrength=192;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.h[0],d=this.h[1],g=this.h[2],f=this.h[3],v=this.h[4],C=c,B=d,F=g,z=f,G=v,E=0;80>E;E++)var L=h(l(n(c,e(E,d,g,f),a[m[E]+b],15>= -E?0:31>=E?1518500249:47>=E?1859775393:63>=E?2400959708:2840853838),u[E]),v),c=v,v=f,f=l(g,10),g=d,d=L,L=h(l(n(C,e(79-E,B,F,z),a[p[E]+b],15>=E?1352829926:31>=E?1548603684:47>=E?1836072691:63>=E?2053994217:0),r[E]),G),C=G,G=z,z=l(F,10),F=B,B=L;L=k(this.h[1],g,z);this.h[1]=k(this.h[2],f,G);this.h[2]=k(this.h[3],v,C);this.h[3]=k(this.h[4],c,B);this.h[4]=k(this.h[0],d,F);this.h[0]=L};c.prototype._digest=function(a){return"hex"===a?g.toHex32(this.h,"little"):g.split32(this.h,"little")};var m=[0,1,2,3,4, +{}],101:[function(e,a,b){function c(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function d(a){return"function"===typeof a}function f(a){return"object"===typeof a&&null!==a}a.exports=c;c.EventEmitter=c;c.prototype._events=void 0;c.prototype._maxListeners=void 0;c.defaultMaxListeners=10;c.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw TypeError("n must be a positive number");this._maxListeners=a;return this};c.prototype.emit=function(a){var b, +c,e,g;this._events||(this._events={});if("error"===a&&(!this._events.error||f(this._events.error)&&!this._events.error.length)){b=arguments[1];if(b instanceof Error)throw b;c=Error('Uncaught, unspecified "error" event. ('+b+")");c.context=b;throw c;}c=this._events[a];if(void 0===c)return!1;if(d(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:b=Array.prototype.slice.call(arguments,1),c.apply(this, +b)}else if(f(c))for(b=Array.prototype.slice.call(arguments,1),g=c.slice(),c=g.length,e=0;eb&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"===typeof console.trace&&console.trace());return this};c.prototype.on=c.prototype.addListener;c.prototype.once=function(a,b){function c(){this.removeListener(a,c);f||(f=!0,b.apply(this,arguments))}if(!d(b))throw TypeError("listener must be a function"); +var f=!1;c.listener=b;this.on(a,c);return this};c.prototype.removeListener=function(a,b){var c,e,h;if(!d(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;c=this._events[a];h=c.length;e=-1;if(c===b||d(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(f(c)){for(;0e)return this;1===c.length?(c.length=0,delete this._events[a]): +c.splice(e,1);this._events.removeListener&&this.emit("removeListener",a,b)}return this};c.prototype.removeAllListeners=function(a){var b;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);this.removeAllListeners("removeListener");this._events={};return this}b=this._events[a];if(d(b))this.removeListener(a, +b);else if(b)for(;b.length;)this.removeListener(a,b[b.length-1]);delete this._events[a];return this};c.prototype.listeners=function(a){return this._events&&this._events[a]?d(this._events[a])?[this._events[a]]:this._events[a].slice():[]};c.prototype.listenerCount=function(a){if(this._events){a=this._events[a];if(d(a))return 1;if(a)return a.length}return 0};c.listenerCount=function(a,b){return a.listenerCount(b)}},{}],102:[function(e,a,b){var c=e("safe-buffer").Buffer,d=e("md5.js");a.exports=function(a, +b,e,k){c.isBuffer(a)||(a=c.from(a,"binary"));if(b&&(c.isBuffer(b)||(b=c.from(b,"binary")),8!==b.length))throw new RangeError("salt should be Buffer with 8 byte length");e/=8;for(var f=c.alloc(e),h=c.alloc(k||0),l=c.alloc(0);0=this._blockSize;){for(var f=this._blockOffset;f=this._delta8)for(a=this.pending,b=a.length%this._delta8,this.pending=a.slice(a.length-b,a.length),0===this.pending.length&&(this.pending=null),a=d.join32(a,0,a.length-b,this.endian),b=0;b>>24&255;b[d++]=a>>>16&255;b[d++]=a>>>8&255;b[d++]=a&255}else for(b[d++]=a&255,b[d++]=a>>>8&255,b[d++]=a>>>16&255,b[d++]=a>>>24&255,b[d++]=0,b[d++]=0, +b[d++]=0,b[d++]=0,c=8;cthis.blockSize&&(a=(new this.Hash).update(a).digest());f(a.length<=this.blockSize);for(var b=a.length;b< +this.blockSize;b++)a.push(0);for(b=0;b=a?b^c^d:31>=a?b&c|~b&d:47>=a?(b|~c)^d:63>=a?b&d|c&~d:b^(c|~d)}var f=e("./utils");e=e("./common");var l=f.rotl32,h=f.sum32,k=f.sum32_3,n=f.sum32_4,g=e.BlockHash;f.inherits(c,g);b.ripemd160=c;c.blockSize=512;c.outSize=160;c.hmacStrength=192;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.h[0],f=this.h[1],e=this.h[2],g=this.h[3],v=this.h[4],C=c,A=f,F=e,B=g,G=v,E=0;80>E;E++)var L=h(l(n(c,d(E,f,e,g),a[m[E]+b],15>= +E?0:31>=E?1518500249:47>=E?1859775393:63>=E?2400959708:2840853838),u[E]),v),c=v,v=g,g=l(e,10),e=f,f=L,L=h(l(n(C,d(79-E,A,F,B),a[p[E]+b],15>=E?1352829926:31>=E?1548603684:47>=E?1836072691:63>=E?2053994217:0),r[E]),G),C=G,G=B,B=l(F,10),F=A,A=L;L=k(this.h[1],e,B);this.h[1]=k(this.h[2],g,G);this.h[2]=k(this.h[3],v,C);this.h[3]=k(this.h[4],c,A);this.h[4]=k(this.h[0],f,F);this.h[0]=L};c.prototype._digest=function(a){return"hex"===a?f.toHex32(this.h,"little"):f.split32(this.h,"little")};var m=[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],p=[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],r=[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]},{"./common":105,"./utils":115}],108:[function(d,a,b){b.sha1=d("./sha/1");b.sha224=d("./sha/224");b.sha256=d("./sha/256");b.sha384=d("./sha/384");b.sha512=d("./sha/512")},{"./sha/1":109,"./sha/224":110,"./sha/256":111,"./sha/384":112, -"./sha/512":113}],109:[function(d,a,b){function c(){if(!(this instanceof c))return new c;n.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.W=Array(80)}var e=d("../utils");b=d("../common");d=d("./common");var g=e.rotl32,l=e.sum32,h=e.sum32_5,k=d.ft_1,n=b.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];e.inherits(c,n);a.exports=c;c.blockSize=512;c.outSize=160;c.hmacStrength=80;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.W,e=0;16>e;e++)c[e]= -a[b+e];for(;ed;d++)c[d]= +a[b+d];for(;de;e++)c[e]=a[b+e];for(;ed;d++)c[d]=a[b+d];for(;de;e++)c[e]=a[b+e];for(;ea&&(a+=4294967296);var g=c[e-4],f=c[e-3];b=h(g,f,19);d=h(f,g,29);g=n(g,f,6);b=b^d^g;0>b&&(b+=4294967296); -var d=c[e-14],g=c[e-13],m=c[e-30],p=c[e-29],f=l(m,p,1),q=l(m,p,8),m=k(m,p,7),f=f^q^m;0>f&&(f+=4294967296);var p=c[e-30],v=c[e-29],q=h(p,v,1),m=h(p,v,8),p=n(p,v,7),q=q^m^p;0>q&&(q+=4294967296);m=c[e-32];p=c[e-31];c[e]=u(a,b,d,g,f,q,m,p);c[e+1]=r(a,b,d,g,f,q,m,p)}};c.prototype._update=function(a,b){this._prepareBlock(a,b);a=this.W;b=this.h[0];var c=this.h[1],e=this.h[2],d=this.h[3],k=this.h[4],n=this.h[5],u=this.h[6],r=this.h[7],q=this.h[8],A=this.h[9],D=this.h[10],x=this.h[11],I=this.h[12],T=this.h[13], -Q=this.h[14],ea=this.h[15];g(this.k.length===a.length);for(var S=0;SR&&(R+=4294967296);K=R;var N=q,H=A,R=h(N,H,14),P=h(N,H,18),N=h(H,N,9),R=R^P^N;0>R&&(R+=4294967296);N=R;R=q&D^~q&I;0>R&&(R+=4294967296);P=R;R=A&x^~A&T;0>R&&(R+=4294967296);var H=R,M=this.k[S],U=this.k[S+1],oa=a[S],pa=a[S+1],R=v(Q,ea,K,N,P,H,M,U,oa,pa),P=C(Q,ea,K,N,P,H,M,U,oa,pa);K=b;N=c;Q=l(K,N,28);ea=l(N,K,2);K=l(N,K,7);Q=Q^ea^K;0>Q&&(Q+=4294967296);N= -b;H=c;ea=h(N,H,28);K=h(H,N,2);N=h(H,N,7);ea=ea^K^N;0>ea&&(ea+=4294967296);K=b&e^b&k^e&k;0>K&&(K+=4294967296);N=c&d^c&n^d&n;0>N&&(N+=4294967296);H=m(Q,ea,K,N);K=p(Q,ea,K,N);Q=I;ea=T;I=D;T=x;D=q;x=A;q=m(u,r,R,P);A=p(r,r,R,P);u=k;r=n;k=e;n=d;e=b;d=c;b=m(R,P,H,K);c=p(R,P,H,K)}f(this.h,0,b,c);f(this.h,2,e,d);f(this.h,4,k,n);f(this.h,6,u,r);f(this.h,8,q,A);f(this.h,10,D,x);f(this.h,12,I,T);f(this.h,14,Q,ea)};c.prototype._digest=function(a){return"hex"===a?e.toHex32(this.h,"big"):e.split32(this.h,"big")}}, -{"../common":105,"../utils":115,"minimalistic-assert":125}],114:[function(d,a,b){function c(a,b,c){return a&b^a&c^b&c}var e=d("../utils").rotr32;b.ft_1=function(a,b,e,d){if(0===a)return b&e^~b&d;if(1===a||3===a)return b^e^d;if(2===a)return c(b,e,d)};b.ch32=function(a,b,c){return a&b^~a&c};b.maj32=c;b.p32=function(a,b,c){return a^b^c};b.s0_256=function(a){return e(a,2)^e(a,13)^e(a,22)};b.s1_256=function(a){return e(a,6)^e(a,11)^e(a,25)};b.g0_256=function(a){return e(a,7)^e(a,18)^a>>>3};b.g1_256=function(a){return e(a, -17)^e(a,19)^a>>>10}},{"../utils":115}],115:[function(d,a,b){function c(a){return(a>>>24|a>>>8&65280|a<<8&16711680|(a&255)<<24)>>>0}function e(a){return 1===a.length?"0"+a:a}function g(a){return 7===a.length?"0"+a:6===a.length?"00"+a:5===a.length?"000"+a:4===a.length?"0000"+a:3===a.length?"00000"+a:2===a.length?"000000"+a:1===a.length?"0000000"+a:a}var l=d("minimalistic-assert");d=d("inherits");b.inherits=d;b.toArray=function(a,b){if(Array.isArray(a))return a.slice();if(!a)return[];var c=[];if("string"=== -typeof a)if(!b)for(b=0;b>8,e=e&255;d?c.push(d,e):c.push(e)}else{if("hex"===b)for(a=a.replace(/[^a-z0-9]+/ig,""),0!==a.length%2&&(a="0"+a),b=0;b>>0;return c};b.split32=function(a,b){for(var c=Array(4*a.length),e=0,d=0;e>>24,c[d+1]=g>>>16&255,c[d+2]=g>>>8&255,c[d+3]=g&255):(c[d+3]=g>>>24,c[d+2]=g>>>16&255,c[d+1]=g>>>8&255,c[d]=g&255)}return c};b.rotr32=function(a,b){return a>>>b|a<<32-b};b.rotl32=function(a, -b){return a<>>32-b};b.sum32=function(a,b){return a+b>>>0};b.sum32_3=function(a,b,c){return a+b+c>>>0};b.sum32_4=function(a,b,c,e){return a+b+c+e>>>0};b.sum32_5=function(a,b,c,e,d){return a+b+c+e+d>>>0};b.sum64=function(a,b,c,e){var d=e+a[b+1]>>>0;a[b]=(d>>0;a[b+1]=d};b.sum64_hi=function(a,b,c,e){return(b+e>>>0>>0};b.sum64_lo=function(a,b,c,e){return b+e>>>0};b.sum64_4_hi=function(a,b,c,e,d,g,l,r){e=b+e>>>0;b=0+(e>>0;b+=e>> -0>>0};b.sum64_4_lo=function(a,b,c,e,d,g,l,r){return b+e+g+r>>>0};b.sum64_5_hi=function(a,b,c,e,d,g,l,r,v,C){e=b+e>>>0;b=0+(e>>0;b+=e>>0;b+=e>>0>>0};b.sum64_5_lo=function(a,b,c,e,d,g,l,r,v,C){return b+e+g+r+C>>>0};b.rotr64_hi=function(a,b,c){return(b<<32-c|a>>>c)>>>0};b.rotr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0};b.shr64_hi=function(a,b,c){return a>>>c};b.shr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0}},{inherits:119, -"minimalistic-assert":125}],116:[function(d,a,b){function c(a){if(!(this instanceof c))return new c(a);this.hash=a.hash;this.predResist=!!a.predResist;this.outLen=this.hash.outSize;this.minEntropy=a.minEntropy||this.hash.hmacStrength;this.V=this.K=this.reseedInterval=this._reseed=null;var b=g.toArray(a.entropy,a.entropyEnc||"hex"),e=g.toArray(a.nonce,a.nonceEnc||"hex");a=g.toArray(a.pers,a.persEnc||"hex");l(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(b, -e,a)}var e=d("hash.js"),g=d("minimalistic-crypto-utils"),l=d("minimalistic-assert");a.exports=c;c.prototype._init=function(a,b,c){a=a.concat(b).concat(c);this.K=Array(this.outLen/8);this.V=Array(this.outLen/8);for(b=0;b=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(a.concat(c||[]));this._reseed=1};c.prototype.generate=function(a,b,c,e){if(this._reseed>this.reseedInterval)throw Error("Reseed is required"); -"string"!==typeof b&&(e=c,c=b,b=null);c&&(c=g.toArray(c,e||"hex"),this._update(c));for(e=[];e.length>1,m=-7;h=d?h-1:0;var p=d?-1:1,u=a[b+h];h+=p;d=u&(1<<-m)-1;u>>=-m;for(m+=c;0>=-m;for(m+=l;0>1,u=23===h?Math.pow(2,-24)-Math.pow(2,-77):0;k=l?0:k-1;var r=l?1:-1,v=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,l=g):(l=Math.floor(Math.log(b)/Math.LN2),1>b*(c=Math.pow(2,-l))&&(l--,c*=2),b=1<=l+p?b+u/c:b+u*Math.pow(2,1-p),2<=b*c&&(l++, -c/=2),l+p>=g?(b=0,l=g):1<=l+p?(b=(b*c-1)*Math.pow(2,h),l+=p):(b=b*Math.pow(2,p-1)*Math.pow(2,h),l=0));for(;8<=h;a[d+k]=b&255,k+=r,b/=256,h-=8);l=l<>>32-b}function l(a, -b,c,e,d,h,f){return g(a+(b&c|~b&e)+d+h|0,f)+b|0}function h(a,b,c,e,d,h,f){return g(a+(b&e|c&~e)+d+h|0,f)+b|0}function k(a,b,c,e,d,h,f){return g(a+(b^c^e)+d+h|0,f)+b|0}function n(a,b,c,e,d,h,f){return g(a+(c^(b|~e))+d+h|0,f)+b|0}var f=d("inherits"),m=d("hash-base"),p=Array(16);f(c,m);c.prototype._update=function(){for(var a=0;16>a;++a)p[a]=this._block.readInt32LE(4*a);var a=this._a,b=this._b,c=this._c,e=this._d,a=l(a,b,c,e,p[0],3614090360,7),e=l(e,a,b,c,p[1],3905402710,12),c=l(c,e,a,b,p[2],606105819, -17),b=l(b,c,e,a,p[3],3250441966,22),a=l(a,b,c,e,p[4],4118548399,7),e=l(e,a,b,c,p[5],1200080426,12),c=l(c,e,a,b,p[6],2821735955,17),b=l(b,c,e,a,p[7],4249261313,22),a=l(a,b,c,e,p[8],1770035416,7),e=l(e,a,b,c,p[9],2336552879,12),c=l(c,e,a,b,p[10],4294925233,17),b=l(b,c,e,a,p[11],2304563134,22),a=l(a,b,c,e,p[12],1804603682,7),e=l(e,a,b,c,p[13],4254626195,12),c=l(c,e,a,b,p[14],2792965006,17),b=l(b,c,e,a,p[15],1236535329,22),a=h(a,b,c,e,p[1],4129170786,5),e=h(e,a,b,c,p[6],3225465664,9),c=h(c,e,a,b,p[11], -643717713,14),b=h(b,c,e,a,p[0],3921069994,20),a=h(a,b,c,e,p[5],3593408605,5),e=h(e,a,b,c,p[10],38016083,9),c=h(c,e,a,b,p[15],3634488961,14),b=h(b,c,e,a,p[4],3889429448,20),a=h(a,b,c,e,p[9],568446438,5),e=h(e,a,b,c,p[14],3275163606,9),c=h(c,e,a,b,p[3],4107603335,14),b=h(b,c,e,a,p[8],1163531501,20),a=h(a,b,c,e,p[13],2850285829,5),e=h(e,a,b,c,p[2],4243563512,9),c=h(c,e,a,b,p[7],1735328473,14),b=h(b,c,e,a,p[12],2368359562,20),a=k(a,b,c,e,p[5],4294588738,4),e=k(e,a,b,c,p[8],2272392833,11),c=k(c,e,a,b, -p[11],1839030562,16),b=k(b,c,e,a,p[14],4259657740,23),a=k(a,b,c,e,p[1],2763975236,4),e=k(e,a,b,c,p[4],1272893353,11),c=k(c,e,a,b,p[7],4139469664,16),b=k(b,c,e,a,p[10],3200236656,23),a=k(a,b,c,e,p[13],681279174,4),e=k(e,a,b,c,p[0],3936430074,11),c=k(c,e,a,b,p[3],3572445317,16),b=k(b,c,e,a,p[6],76029189,23),a=k(a,b,c,e,p[9],3654602809,4),e=k(e,a,b,c,p[12],3873151461,11),c=k(c,e,a,b,p[15],530742520,16),b=k(b,c,e,a,p[2],3299628645,23),a=n(a,b,c,e,p[0],4096336452,6),e=n(e,a,b,c,p[7],1126891415,10),c=n(c, -e,a,b,p[14],2878612391,15),b=n(b,c,e,a,p[5],4237533241,21),a=n(a,b,c,e,p[12],1700485571,6),e=n(e,a,b,c,p[3],2399980690,10),c=n(c,e,a,b,p[10],4293915773,15),b=n(b,c,e,a,p[1],2240044497,21),a=n(a,b,c,e,p[8],1873313359,6),e=n(e,a,b,c,p[15],4264355552,10),c=n(c,e,a,b,p[6],2734768916,15),b=n(b,c,e,a,p[13],1309151649,21),a=n(a,b,c,e,p[4],4149444226,6),e=n(e,a,b,c,p[11],3174756917,10),c=n(c,e,a,b,p[2],718787259,15),b=n(b,c,e,a,p[9],3951481745,21);this._a=this._a+a|0;this._b=this._b+b|0;this._c=this._c+c| -0;this._d=this._d+e|0};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._blockSize;){for(var d=this._blockOffset;da;++a)this._length[a]=0;return b};c.prototype._digest=function(){throw Error("_digest is not implemented");};a.exports=c},{inherits:119,"safe-buffer":160,stream:169}],124:[function(d,a,b){function c(a){this.rand=a||new g.Rand} -var e=d("bn.js"),g=d("brorand");a.exports=c;c.create=function(a){return new c(a)};c.prototype._randbelow=function(a){var b=a.bitLength(),b=Math.ceil(b/8);do var c=new e(this.rand.generate(b));while(0<=c.cmp(a));return c};c.prototype._randrange=function(a,b){b=b.sub(a);return a.add(this._randbelow(b))};c.prototype.test=function(a,b,c){var d=a.bitLength(),g=e.mont(a),h=(new e(1)).toRed(g);b||(b=Math.max(1,d/48|0));for(var d=a.subn(1),k=0;!d.testn(k);k++);a=a.shrn(k);for(var l=d.toRed(g);0>8,e=e&255;d?c.push(d,e):c.push(e)}return c};b.zero2=c;b.toHex=e;b.encode=function(a,b){return"hex"===b?e(a):a}},{}],127:[function(d,a,b){a.exports={"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"}},{}],128:[function(d,a,b){a=d("asn1.js");b.certificate=d("./certificate");d=a.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())});b.RSAPrivateKey=d;d=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});b.RSAPublicKey=d;d=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}); -b.PublicKey=d;var c=a.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())});d=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});b.PrivateKey=d;d=a.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())});b.EncryptedPrivateKey=d;d=a.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())}); -b.DSAPrivateKey=d;b.DSAparam=a.define("DSAparam",function(){this.int()});d=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(e),this.key("publicKey").optional().explicit(1).bitstr())});b.ECPrivateKey=d;var e=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});b.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":129, -"asn1.js":19}],129:[function(d,a,b){d=d("asn1.js");var c=d.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),e=d.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),g=d.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),l=d.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(g),this.key("subjectPublicKey").bitstr())}), -h=d.define("RelativeDistinguishedName",function(){this.setof(e)}),k=d.define("RDNSequence",function(){this.seqof(h)}),n=d.define("Name",function(){this.choice({rdnSequence:this.use(k)})}),f=d.define("Validity",function(){this.seq().obj(this.key("notBefore").use(c),this.key("notAfter").use(c))}),m=d.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=d.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(), -this.key("serialNumber").int(),this.key("signature").use(g),this.key("issuer").use(n),this.key("validity").use(f),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(m).optional())});d=d.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(g),this.key("signatureValue").bitstr())}); -a.exports=d},{"asn1.js":19}],130:[function(d,a,b){(function(b){var c=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,g=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,l=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,h=d("evp_bytestokey"),k=d("browserify-aes");a.exports=function(a,e){a=a.toString();var d=a.match(c),f;if(d){var n="aes"+d[1],r=new b(d[2],"hex");f=new b(d[3].replace(/\r?\n/g, -""),"base64");d=h(e,r.slice(0,8),parseInt(d[1],10)).key;e=[];n=k.createDecipheriv(n,d,r);e.push(n.update(f));e.push(n.final());f=b.concat(e)}else f=a.match(l),f=new b(f[2].replace(/\r?\n/g,""),"base64");return{tag:a.match(g)[1],data:f}}}).call(this,d("buffer").Buffer)},{"browserify-aes":39,buffer:65,evp_bytestokey:102}],131:[function(d,a,b){(function(b){function c(a){var c;"object"!==typeof a||b.isBuffer(a)||(c=a.passphrase,a=a.key);"string"===typeof a&&(a=new b(a));var e=h(a,c);a=e.tag;var e=e.data, -d;switch(a){case "CERTIFICATE":d=g.certificate.decode(e,"der").tbsCertificate.subjectPublicKeyInfo;case "PUBLIC KEY":d||(d=g.PublicKey.decode(e,"der"));c=d.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return g.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case "1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case "1.2.840.10040.4.1":return d.algorithm.params.pub_key=g.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params}; -default:throw Error("unknown key id "+c);}throw Error("unknown key type "+a);case "ENCRYPTED PRIVATE KEY":var f=e=g.EncryptedPrivateKey.decode(e,"der"),e=c,v=f.algorithm.decrypt.kde.kdeparams.salt,C=parseInt(f.algorithm.decrypt.kde.kdeparams.iters.toString(),10);d=l[f.algorithm.decrypt.cipher.algo.join(".")];a=f.algorithm.decrypt.cipher.iv;c=f.subjectPrivateKey;f=parseInt(d.split("-")[1],10)/8;e=n.pbkdf2Sync(e,v,C,f);d=k.createDecipheriv(d,e,a);a=[];a.push(d.update(c));a.push(d.final());e=b.concat(a); -case "PRIVATE KEY":d=g.PrivateKey.decode(e,"der");c=d.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return g.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case "1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:g.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case "1.2.840.10040.4.1":return d.algorithm.params.priv_key=g.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw Error("unknown key id "+c);}throw Error("unknown key type "+ -a);case "RSA PUBLIC KEY":return g.RSAPublicKey.decode(e,"der");case "RSA PRIVATE KEY":return g.RSAPrivateKey.decode(e,"der");case "DSA PRIVATE KEY":return{type:"dsa",params:g.DSAPrivateKey.decode(e,"der")};case "EC PRIVATE KEY":return e=g.ECPrivateKey.decode(e,"der"),{curve:e.parameters.value,privateKey:e.privateKey};default:throw Error("unknown key type "+a);}}var g=d("./asn1"),l=d("./aesid.json"),h=d("./fixProc"),k=d("browserify-aes"),n=d("pbkdf2");a.exports=c;c.signature=g.signature}).call(this, -d("buffer").Buffer)},{"./aesid.json":127,"./asn1":128,"./fixProc":130,"browserify-aes":39,buffer:65,pbkdf2:132}],132:[function(d,a,b){b.pbkdf2=d("./lib/async");b.pbkdf2Sync=d("./lib/sync")},{"./lib/async":133,"./lib/sync":136}],133:[function(d,a,b){(function(b,e){function c(a){if(e.process&&!e.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==v[a])return v[a];p=p||m.alloc(8);var b=l(p,p,10,128,a).then(function(){return!0}).catch(function(){return!1});return v[a]= -b}function l(a,b,c,e,d){return u.importKey("raw",a,{name:"PBKDF2"},!1,["deriveBits"]).then(function(a){return u.deriveBits({name:"PBKDF2",salt:b,iterations:c,hash:{name:d}},a,e<<3)}).then(function(a){return m.from(a)})}function h(a,c){a.then(function(a){b.nextTick(function(){c(null,a)})},function(a){b.nextTick(function(){c(a)})})}var k=d("./precondition"),n=d("./default-encoding"),f=d("./sync"),m=d("safe-buffer").Buffer,p,u=e.crypto&&e.crypto.subtle,r={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"},v=[];a.exports=function(a,d,g,p,u,v){m.isBuffer(a)||(a=m.from(a,n));m.isBuffer(d)||(d=m.from(d,n));k(g,p);"function"===typeof u&&(v=u,u=void 0);if("function"!==typeof v)throw Error("No callback provided to pbkdf2");u=u||"sha1";var q=r[u.toLowerCase()];if(!q||"function"!==typeof e.Promise)return b.nextTick(function(){var b;try{b=f(a,d,g,p,u)}catch(F){return v(F)}v(null,b)});h(c(q).then(function(b){return b? -l(a,d,g,p,q):f(a,d,g,p,u)}),v)}}).call(this,d("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./default-encoding":134,"./precondition":135,"./sync":136,_process:138,"safe-buffer":160}],134:[function(d,a,b){d=d("_process");d=d.browser?"utf-8":6<=parseInt(d.version.split(".")[0].slice(1),10)?"utf-8":"binary";a.exports=d},{_process:138}],135:[function(d,a,b){var c=Math.pow(2,30)-1;a.exports=function(a,b){if("number"!==typeof a)throw new TypeError("Iterations not a number"); -if(0>a)throw new TypeError("Bad iterations");if("number"!==typeof b)throw new TypeError("Key length not a number");if(0>b||b>c||b!==b)throw new TypeError("Bad key length");}},{}],136:[function(d,a,b){function c(a,b,c){var d=e(a),g="sha512"===a||"sha384"===a?128:64;b.length>g?b=d(b):b.lengthp||0<=(new h(e)).cmp(a.modulus))throw Error("decryption error");e=d?f(new h(e),a):k(e,a);var u=new b(p-e.length);u.fill(0);e=b.concat([u,e],p);if(4===m){p=e;m=a.modulus.byteLength();a=n("sha1").update(new b("")).digest();d=a.length;if(0!==p[0])throw Error("decryption error");e=p.slice(1,d+1);p=p.slice(d+1);e=l(e,g(p,d));m=l(p,g(e,m-d-1));p=m.slice(0,d);a=new b(a);p=new b(p);e=0;u=a.length;a.length!== -p.length&&(e++,u=Math.min(a.length,p.length));for(var q=-1;++q=m.length){e++;break}u=m.slice(2,p-1);m.slice(p-1,p);("0002"!==a.toString("hex")&&!d||"0001"!==a.toString("hex")&&d)&&e++;8>u.length&&e++;if(e)throw Error("decryption error");return m.slice(p)}if(3===m)return e;throw Error("unknown padding");}}).call(this, -d("buffer").Buffer)},{"./mgf":140,"./withPublic":143,"./xor":144,"bn.js":34,"browserify-rsa":57,buffer:65,"create-hash":69,"parse-asn1":131}],142:[function(d,a,b){(function(b){var c=d("parse-asn1"),g=d("randombytes"),l=d("create-hash"),h=d("./mgf"),k=d("./xor"),n=d("bn.js"),f=d("./withPublic"),m=d("browserify-rsa");a.exports=function(a,e,d){var p;p=a.padding?a.padding:d?1:4;a=c(a);if(4===p){p=a.modulus.byteLength();var r=e.length,q=l("sha1").update(new b("")).digest(),u=q.length,D=2*u;if(r>p-D-2)throw Error("message too long"); -D=new b(p-r-D-2);D.fill(0);var x=p-u-1,r=g(u);e=k(b.concat([q,D,new b([1]),e],x),h(r,x));u=k(r,h(e,u));e=new n(b.concat([new b([0]),u,e],p))}else if(1===p){u=e.length;p=a.modulus.byteLength();if(u>p-11)throw Error("message too long");if(d)u=new b(p-u-3),u.fill(255);else{for(var u=p-u-3,q=new b(u),r=0,D=g(2*u),x=0,w;rd;d++)c[d]=a[b+d];for(;da&&(a+=4294967296);var e=c[d-4],g=c[d-3];b=h(e,g,19);f=h(g,e,29);e=n(e,g,6);b=b^f^e;0>b&&(b+=4294967296); +var f=c[d-14],e=c[d-13],m=c[d-30],p=c[d-29],g=l(m,p,1),q=l(m,p,8),m=k(m,p,7),g=g^q^m;0>g&&(g+=4294967296);var p=c[d-30],v=c[d-29],q=h(p,v,1),m=h(p,v,8),p=n(p,v,7),q=q^m^p;0>q&&(q+=4294967296);m=c[d-32];p=c[d-31];c[d]=u(a,b,f,e,g,q,m,p);c[d+1]=r(a,b,f,e,g,q,m,p)}};c.prototype._update=function(a,b){this._prepareBlock(a,b);a=this.W;b=this.h[0];var c=this.h[1],d=this.h[2],e=this.h[3],k=this.h[4],n=this.h[5],u=this.h[6],r=this.h[7],q=this.h[8],z=this.h[9],D=this.h[10],x=this.h[11],I=this.h[12],T=this.h[13], +Q=this.h[14],ea=this.h[15];f(this.k.length===a.length);for(var S=0;SR&&(R+=4294967296);K=R;var N=q,H=z,R=h(N,H,14),P=h(N,H,18),N=h(H,N,9),R=R^P^N;0>R&&(R+=4294967296);N=R;R=q&D^~q&I;0>R&&(R+=4294967296);P=R;R=z&x^~z&T;0>R&&(R+=4294967296);var H=R,M=this.k[S],U=this.k[S+1],oa=a[S],pa=a[S+1],R=v(Q,ea,K,N,P,H,M,U,oa,pa),P=C(Q,ea,K,N,P,H,M,U,oa,pa);K=b;N=c;Q=l(K,N,28);ea=l(N,K,2);K=l(N,K,7);Q=Q^ea^K;0>Q&&(Q+=4294967296);N= +b;H=c;ea=h(N,H,28);K=h(H,N,2);N=h(H,N,7);ea=ea^K^N;0>ea&&(ea+=4294967296);K=b&d^b&k^d&k;0>K&&(K+=4294967296);N=c&e^c&n^e&n;0>N&&(N+=4294967296);H=m(Q,ea,K,N);K=p(Q,ea,K,N);Q=I;ea=T;I=D;T=x;D=q;x=z;q=m(u,r,R,P);z=p(r,r,R,P);u=k;r=n;k=d;n=e;d=b;e=c;b=m(R,P,H,K);c=p(R,P,H,K)}g(this.h,0,b,c);g(this.h,2,d,e);g(this.h,4,k,n);g(this.h,6,u,r);g(this.h,8,q,z);g(this.h,10,D,x);g(this.h,12,I,T);g(this.h,14,Q,ea)};c.prototype._digest=function(a){return"hex"===a?d.toHex32(this.h,"big"):d.split32(this.h,"big")}}, +{"../common":105,"../utils":115,"minimalistic-assert":125}],114:[function(e,a,b){function c(a,b,c){return a&b^a&c^b&c}var d=e("../utils").rotr32;b.ft_1=function(a,b,d,e){if(0===a)return b&d^~b&e;if(1===a||3===a)return b^d^e;if(2===a)return c(b,d,e)};b.ch32=function(a,b,c){return a&b^~a&c};b.maj32=c;b.p32=function(a,b,c){return a^b^c};b.s0_256=function(a){return d(a,2)^d(a,13)^d(a,22)};b.s1_256=function(a){return d(a,6)^d(a,11)^d(a,25)};b.g0_256=function(a){return d(a,7)^d(a,18)^a>>>3};b.g1_256=function(a){return d(a, +17)^d(a,19)^a>>>10}},{"../utils":115}],115:[function(e,a,b){function c(a){return(a>>>24|a>>>8&65280|a<<8&16711680|(a&255)<<24)>>>0}function d(a){return 1===a.length?"0"+a:a}function f(a){return 7===a.length?"0"+a:6===a.length?"00"+a:5===a.length?"000"+a:4===a.length?"0000"+a:3===a.length?"00000"+a:2===a.length?"000000"+a:1===a.length?"0000000"+a:a}var l=e("minimalistic-assert");e=e("inherits");b.inherits=e;b.toArray=function(a,b){if(Array.isArray(a))return a.slice();if(!a)return[];var c=[];if("string"=== +typeof a)if(!b)for(b=0;b>8,d=d&255;f?c.push(f,d):c.push(d)}else{if("hex"===b)for(a=a.replace(/[^a-z0-9]+/ig,""),0!==a.length%2&&(a="0"+a),b=0;b>>0;return c};b.split32=function(a,b){for(var c=Array(4*a.length),d=0,f=0;d>>24,c[f+1]=e>>>16&255,c[f+2]=e>>>8&255,c[f+3]=e&255):(c[f+3]=e>>>24,c[f+2]=e>>>16&255,c[f+1]=e>>>8&255,c[f]=e&255)}return c};b.rotr32=function(a,b){return a>>>b|a<<32-b};b.rotl32=function(a, +b){return a<>>32-b};b.sum32=function(a,b){return a+b>>>0};b.sum32_3=function(a,b,c){return a+b+c>>>0};b.sum32_4=function(a,b,c,d){return a+b+c+d>>>0};b.sum32_5=function(a,b,c,d,f){return a+b+c+d+f>>>0};b.sum64=function(a,b,c,d){var f=d+a[b+1]>>>0;a[b]=(f>>0;a[b+1]=f};b.sum64_hi=function(a,b,c,d){return(b+d>>>0>>0};b.sum64_lo=function(a,b,c,d){return b+d>>>0};b.sum64_4_hi=function(a,b,c,d,f,e,l,r){d=b+d>>>0;b=0+(d>>0;b+=d>> +0>>0};b.sum64_4_lo=function(a,b,c,d,f,e,l,r){return b+d+e+r>>>0};b.sum64_5_hi=function(a,b,c,d,f,e,l,r,v,C){d=b+d>>>0;b=0+(d>>0;b+=d>>0;b+=d>>0>>0};b.sum64_5_lo=function(a,b,c,d,f,e,l,r,v,C){return b+d+e+r+C>>>0};b.rotr64_hi=function(a,b,c){return(b<<32-c|a>>>c)>>>0};b.rotr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0};b.shr64_hi=function(a,b,c){return a>>>c};b.shr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0}},{inherits:119, +"minimalistic-assert":125}],116:[function(e,a,b){function c(a){if(!(this instanceof c))return new c(a);this.hash=a.hash;this.predResist=!!a.predResist;this.outLen=this.hash.outSize;this.minEntropy=a.minEntropy||this.hash.hmacStrength;this.V=this.K=this.reseedInterval=this._reseed=null;var b=f.toArray(a.entropy,a.entropyEnc||"hex"),d=f.toArray(a.nonce,a.nonceEnc||"hex");a=f.toArray(a.pers,a.persEnc||"hex");l(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(b, +d,a)}var d=e("hash.js"),f=e("minimalistic-crypto-utils"),l=e("minimalistic-assert");a.exports=c;c.prototype._init=function(a,b,c){a=a.concat(b).concat(c);this.K=Array(this.outLen/8);this.V=Array(this.outLen/8);for(b=0;b=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(a.concat(c||[]));this._reseed=1};c.prototype.generate=function(a,b,c,d){if(this._reseed>this.reseedInterval)throw Error("Reseed is required"); +"string"!==typeof b&&(d=c,c=b,b=null);c&&(c=f.toArray(c,d||"hex"),this._update(c));for(d=[];d.length>1,l=-7;h=f?h-1:0;var p=f?-1:1,u=a[b+h];h+=p;f=u&(1<<-l)-1;u>>=-l;for(l+=c;0>=-l;for(l+=e;0>1,u=23===h?Math.pow(2,-24)-Math.pow(2,-77):0;k=e?0:k-1;var r=e?1:-1,v=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,e=l):(e=Math.floor(Math.log(b)/Math.LN2),1>b*(c=Math.pow(2,-e))&&(e--,c*=2),b=1<=e+p?b+u/c:b+u*Math.pow(2,1-p),2<=b*c&&(e++, +c/=2),e+p>=l?(b=0,e=l):1<=e+p?(b=(b*c-1)*Math.pow(2,h),e+=p):(b=b*Math.pow(2,p-1)*Math.pow(2,h),e=0));for(;8<=h;a[f+k]=b&255,k+=r,b/=256,h-=8);e=e<>>32-b}function l(a, +b,c,d,e,g,h){return f(a+(b&c|~b&d)+e+g|0,h)+b|0}function h(a,b,c,d,e,g,h){return f(a+(b&d|c&~d)+e+g|0,h)+b|0}function k(a,b,c,d,e,g,h){return f(a+(b^c^d)+e+g|0,h)+b|0}function n(a,b,c,d,e,g,h){return f(a+(c^(b|~d))+e+g|0,h)+b|0}var g=e("inherits"),m=e("hash-base"),p=Array(16);g(c,m);c.prototype._update=function(){for(var a=0;16>a;++a)p[a]=this._block.readInt32LE(4*a);var a=this._a,b=this._b,c=this._c,d=this._d,a=l(a,b,c,d,p[0],3614090360,7),d=l(d,a,b,c,p[1],3905402710,12),c=l(c,d,a,b,p[2],606105819, +17),b=l(b,c,d,a,p[3],3250441966,22),a=l(a,b,c,d,p[4],4118548399,7),d=l(d,a,b,c,p[5],1200080426,12),c=l(c,d,a,b,p[6],2821735955,17),b=l(b,c,d,a,p[7],4249261313,22),a=l(a,b,c,d,p[8],1770035416,7),d=l(d,a,b,c,p[9],2336552879,12),c=l(c,d,a,b,p[10],4294925233,17),b=l(b,c,d,a,p[11],2304563134,22),a=l(a,b,c,d,p[12],1804603682,7),d=l(d,a,b,c,p[13],4254626195,12),c=l(c,d,a,b,p[14],2792965006,17),b=l(b,c,d,a,p[15],1236535329,22),a=h(a,b,c,d,p[1],4129170786,5),d=h(d,a,b,c,p[6],3225465664,9),c=h(c,d,a,b,p[11], +643717713,14),b=h(b,c,d,a,p[0],3921069994,20),a=h(a,b,c,d,p[5],3593408605,5),d=h(d,a,b,c,p[10],38016083,9),c=h(c,d,a,b,p[15],3634488961,14),b=h(b,c,d,a,p[4],3889429448,20),a=h(a,b,c,d,p[9],568446438,5),d=h(d,a,b,c,p[14],3275163606,9),c=h(c,d,a,b,p[3],4107603335,14),b=h(b,c,d,a,p[8],1163531501,20),a=h(a,b,c,d,p[13],2850285829,5),d=h(d,a,b,c,p[2],4243563512,9),c=h(c,d,a,b,p[7],1735328473,14),b=h(b,c,d,a,p[12],2368359562,20),a=k(a,b,c,d,p[5],4294588738,4),d=k(d,a,b,c,p[8],2272392833,11),c=k(c,d,a,b, +p[11],1839030562,16),b=k(b,c,d,a,p[14],4259657740,23),a=k(a,b,c,d,p[1],2763975236,4),d=k(d,a,b,c,p[4],1272893353,11),c=k(c,d,a,b,p[7],4139469664,16),b=k(b,c,d,a,p[10],3200236656,23),a=k(a,b,c,d,p[13],681279174,4),d=k(d,a,b,c,p[0],3936430074,11),c=k(c,d,a,b,p[3],3572445317,16),b=k(b,c,d,a,p[6],76029189,23),a=k(a,b,c,d,p[9],3654602809,4),d=k(d,a,b,c,p[12],3873151461,11),c=k(c,d,a,b,p[15],530742520,16),b=k(b,c,d,a,p[2],3299628645,23),a=n(a,b,c,d,p[0],4096336452,6),d=n(d,a,b,c,p[7],1126891415,10),c=n(c, +d,a,b,p[14],2878612391,15),b=n(b,c,d,a,p[5],4237533241,21),a=n(a,b,c,d,p[12],1700485571,6),d=n(d,a,b,c,p[3],2399980690,10),c=n(c,d,a,b,p[10],4293915773,15),b=n(b,c,d,a,p[1],2240044497,21),a=n(a,b,c,d,p[8],1873313359,6),d=n(d,a,b,c,p[15],4264355552,10),c=n(c,d,a,b,p[6],2734768916,15),b=n(b,c,d,a,p[13],1309151649,21),a=n(a,b,c,d,p[4],4149444226,6),d=n(d,a,b,c,p[11],3174756917,10),c=n(c,d,a,b,p[2],718787259,15),b=n(b,c,d,a,p[9],3951481745,21);this._a=this._a+a|0;this._b=this._b+b|0;this._c=this._c+c| +0;this._d=this._d+d|0};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._blockSize;){for(var f=this._blockOffset;fa;++a)this._length[a]=0;return b};c.prototype._digest=function(){throw Error("_digest is not implemented");};a.exports=c},{inherits:119,"safe-buffer":160,stream:169}],124:[function(e,a,b){function c(a){this.rand=a||new f.Rand} +var d=e("bn.js"),f=e("brorand");a.exports=c;c.create=function(a){return new c(a)};c.prototype._randbelow=function(a){var b=a.bitLength(),b=Math.ceil(b/8);do var c=new d(this.rand.generate(b));while(0<=c.cmp(a));return c};c.prototype._randrange=function(a,b){b=b.sub(a);return a.add(this._randbelow(b))};c.prototype.test=function(a,b,c){var f=a.bitLength(),e=d.mont(a),h=(new d(1)).toRed(e);b||(b=Math.max(1,f/48|0));for(var f=a.subn(1),k=0;!f.testn(k);k++);a=a.shrn(k);for(var l=f.toRed(e);0>8,d=d&255;f?c.push(f,d):c.push(d)}return c};b.zero2=c;b.toHex=d;b.encode=function(a,b){return"hex"===b?d(a):a}},{}],127:[function(e,a,b){a.exports={"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"}},{}],128:[function(e,a,b){a=e("asn1.js");b.certificate=e("./certificate");e=a.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())});b.RSAPrivateKey=e;e=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});b.RSAPublicKey=e;e=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}); +b.PublicKey=e;var c=a.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())});e=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});b.PrivateKey=e;e=a.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())});b.EncryptedPrivateKey=e;e=a.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())}); +b.DSAPrivateKey=e;b.DSAparam=a.define("DSAparam",function(){this.int()});e=a.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())});b.ECPrivateKey=e;var d=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});b.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":129, +"asn1.js":19}],129:[function(e,a,b){e=e("asn1.js");var c=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),d=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),f=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(f),this.key("subjectPublicKey").bitstr())}), +h=e.define("RelativeDistinguishedName",function(){this.setof(d)}),k=e.define("RDNSequence",function(){this.seqof(h)}),n=e.define("Name",function(){this.choice({rdnSequence:this.use(k)})}),g=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(c),this.key("notAfter").use(c))}),m=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(), +this.key("serialNumber").int(),this.key("signature").use(f),this.key("issuer").use(n),this.key("validity").use(g),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(m).optional())});e=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(f),this.key("signatureValue").bitstr())}); +a.exports=e},{"asn1.js":19}],130:[function(e,a,b){(function(b){var c=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,f=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,l=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,h=e("evp_bytestokey"),k=e("browserify-aes");a.exports=function(a,d){a=a.toString();var e=a.match(c),g;if(e){var n="aes"+e[1],r=new b(e[2],"hex");g=new b(e[3].replace(/\r?\n/g, +""),"base64");e=h(d,r.slice(0,8),parseInt(e[1],10)).key;d=[];n=k.createDecipheriv(n,e,r);d.push(n.update(g));d.push(n.final());g=b.concat(d)}else g=a.match(l),g=new b(g[2].replace(/\r?\n/g,""),"base64");return{tag:a.match(f)[1],data:g}}}).call(this,e("buffer").Buffer)},{"browserify-aes":39,buffer:65,evp_bytestokey:102}],131:[function(e,a,b){(function(b){function c(a){var c;"object"!==typeof a||b.isBuffer(a)||(c=a.passphrase,a=a.key);"string"===typeof a&&(a=new b(a));var d=h(a,c);a=d.tag;var d=d.data, +e;switch(a){case "CERTIFICATE":e=f.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case "PUBLIC KEY":e||(e=f.PublicKey.decode(d,"der"));c=e.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return f.RSAPublicKey.decode(e.subjectPublicKey.data,"der");case "1.2.840.10045.2.1":return e.subjectPrivateKey=e.subjectPublicKey,{type:"ec",data:e};case "1.2.840.10040.4.1":return e.algorithm.params.pub_key=f.DSAparam.decode(e.subjectPublicKey.data,"der"),{type:"dsa",data:e.algorithm.params}; +default:throw Error("unknown key id "+c);}throw Error("unknown key type "+a);case "ENCRYPTED PRIVATE KEY":var g=d=f.EncryptedPrivateKey.decode(d,"der"),d=c,v=g.algorithm.decrypt.kde.kdeparams.salt,C=parseInt(g.algorithm.decrypt.kde.kdeparams.iters.toString(),10);e=l[g.algorithm.decrypt.cipher.algo.join(".")];a=g.algorithm.decrypt.cipher.iv;c=g.subjectPrivateKey;g=parseInt(e.split("-")[1],10)/8;d=n.pbkdf2Sync(d,v,C,g);e=k.createDecipheriv(e,d,a);a=[];a.push(e.update(c));a.push(e.final());d=b.concat(a); +case "PRIVATE KEY":e=f.PrivateKey.decode(d,"der");c=e.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return f.RSAPrivateKey.decode(e.subjectPrivateKey,"der");case "1.2.840.10045.2.1":return{curve:e.algorithm.curve,privateKey:f.ECPrivateKey.decode(e.subjectPrivateKey,"der").privateKey};case "1.2.840.10040.4.1":return e.algorithm.params.priv_key=f.DSAparam.decode(e.subjectPrivateKey,"der"),{type:"dsa",params:e.algorithm.params};default:throw Error("unknown key id "+c);}throw Error("unknown key type "+ +a);case "RSA PUBLIC KEY":return f.RSAPublicKey.decode(d,"der");case "RSA PRIVATE KEY":return f.RSAPrivateKey.decode(d,"der");case "DSA PRIVATE KEY":return{type:"dsa",params:f.DSAPrivateKey.decode(d,"der")};case "EC PRIVATE KEY":return d=f.ECPrivateKey.decode(d,"der"),{curve:d.parameters.value,privateKey:d.privateKey};default:throw Error("unknown key type "+a);}}var f=e("./asn1"),l=e("./aesid.json"),h=e("./fixProc"),k=e("browserify-aes"),n=e("pbkdf2");a.exports=c;c.signature=f.signature}).call(this, +e("buffer").Buffer)},{"./aesid.json":127,"./asn1":128,"./fixProc":130,"browserify-aes":39,buffer:65,pbkdf2:132}],132:[function(e,a,b){b.pbkdf2=e("./lib/async");b.pbkdf2Sync=e("./lib/sync")},{"./lib/async":133,"./lib/sync":136}],133:[function(e,a,b){(function(b,d){function c(a){if(d.process&&!d.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==v[a])return v[a];p=p||m.alloc(8);var b=l(p,p,10,128,a).then(function(){return!0}).catch(function(){return!1});return v[a]= +b}function l(a,b,c,d,f){return u.importKey("raw",a,{name:"PBKDF2"},!1,["deriveBits"]).then(function(a){return u.deriveBits({name:"PBKDF2",salt:b,iterations:c,hash:{name:f}},a,d<<3)}).then(function(a){return m.from(a)})}function h(a,c){a.then(function(a){b.nextTick(function(){c(null,a)})},function(a){b.nextTick(function(){c(a)})})}var k=e("./precondition"),n=e("./default-encoding"),g=e("./sync"),m=e("safe-buffer").Buffer,p,u=d.crypto&&d.crypto.subtle,r={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"},v=[];a.exports=function(a,f,e,u,p,v){m.isBuffer(a)||(a=m.from(a,n));m.isBuffer(f)||(f=m.from(f,n));k(e,u);"function"===typeof p&&(v=p,p=void 0);if("function"!==typeof v)throw Error("No callback provided to pbkdf2");p=p||"sha1";var q=r[p.toLowerCase()];if(!q||"function"!==typeof d.Promise)return b.nextTick(function(){var b;try{b=g(a,f,e,u,p)}catch(F){return v(F)}v(null,b)});h(c(q).then(function(b){return b? +l(a,f,e,u,q):g(a,f,e,u,p)}),v)}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./default-encoding":134,"./precondition":135,"./sync":136,_process:138,"safe-buffer":160}],134:[function(e,a,b){e=e("_process");e=e.browser?"utf-8":6<=parseInt(e.version.split(".")[0].slice(1),10)?"utf-8":"binary";a.exports=e},{_process:138}],135:[function(e,a,b){var c=Math.pow(2,30)-1;a.exports=function(a,b){if("number"!==typeof a)throw new TypeError("Iterations not a number"); +if(0>a)throw new TypeError("Bad iterations");if("number"!==typeof b)throw new TypeError("Key length not a number");if(0>b||b>c||b!==b)throw new TypeError("Bad key length");}},{}],136:[function(e,a,b){function c(a,b,c){var f=d(a),e="sha512"===a||"sha384"===a?128:64;b.length>e?b=f(b):b.lengthp||0<=(new h(d)).cmp(a.modulus))throw Error("decryption error");d=e?g(new h(d),a):k(d,a);var u=new b(p-d.length);u.fill(0);d=b.concat([u,d],p);if(4===m){p=d;m=a.modulus.byteLength();a=n("sha1").update(new b("")).digest();e=a.length;if(0!==p[0])throw Error("decryption error");d=p.slice(1,e+1);p=p.slice(e+1);d=l(d,f(p,e));m=l(p,f(d,m-e-1));p=m.slice(0,e);a=new b(a);p=new b(p);d=0;u=a.length;a.length!== +p.length&&(d++,u=Math.min(a.length,p.length));for(var q=-1;++q=m.length){d++;break}u=m.slice(2,p-1);m.slice(p-1,p);("0002"!==a.toString("hex")&&!e||"0001"!==a.toString("hex")&&e)&&d++;8>u.length&&d++;if(d)throw Error("decryption error");return m.slice(p)}if(3===m)return d;throw Error("unknown padding");}}).call(this, +e("buffer").Buffer)},{"./mgf":140,"./withPublic":143,"./xor":144,"bn.js":34,"browserify-rsa":57,buffer:65,"create-hash":69,"parse-asn1":131}],142:[function(e,a,b){(function(b){var c=e("parse-asn1"),f=e("randombytes"),l=e("create-hash"),h=e("./mgf"),k=e("./xor"),n=e("bn.js"),g=e("./withPublic"),m=e("browserify-rsa");a.exports=function(a,d,e){var p;p=a.padding?a.padding:e?1:4;a=c(a);if(4===p){p=a.modulus.byteLength();var r=d.length,q=l("sha1").update(new b("")).digest(),u=q.length,D=2*u;if(r>p-D-2)throw Error("message too long"); +D=new b(p-r-D-2);D.fill(0);var x=p-u-1,r=f(u);d=k(b.concat([q,D,new b([1]),d],x),h(r,x));u=k(r,h(d,u));d=new n(b.concat([new b([0]),u,d],p))}else if(1===p){u=d.length;p=a.modulus.byteLength();if(u>p-11)throw Error("message too long");if(e)u=new b(p-u-3),u.fill(255);else{for(var u=p-u-3,q=new b(u),r=0,D=f(2*u),x=0,w;r=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var c=a;8388608<=c?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++);b.highWaterMark=c}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function m(a){var b=a._readableState;b.needReadable=!1;b.emittedReadable||(t("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?y(p,a):p(a))}function p(a){t("emit readable"); +a.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=!1;this.encoding=this.decoder=null;a.encoding&&(J||(J=e("string_decoder/").StringDecoder),this.decoder=new J(a.encoding),this.encoding=a.encoding)}function h(a){F=F||e("./_stream_duplex");if(!(this instanceof h))return new h(a);this._readableState=new l(a,this);this.readable=!0;a&&("function"===typeof a.read&&(this._read=a.read),"function"===typeof a.destroy&&(this._destroy=a.destroy));B.call(this)}function k(a,b,c,d,f){var e=a._readableState; +if(null===b)e.reading=!1,e.ended||(e.decoder&&(b=e.decoder.end())&&b.length&&(e.buffer.push(b),e.length+=e.objectMode?1:b.length),e.ended=!0,m(a));else{var g;if(!f){f=b;var h;G.isBuffer(f)||f instanceof E||"string"===typeof f||void 0===f||e.objectMode||(h=new TypeError("Invalid non-string/buffer chunk"));g=h}g?a.emit("error",g):e.objectMode||b&&0=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var c=a;8388608<=c?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++);b.highWaterMark=c}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function m(a){var b=a._readableState;b.needReadable=!1;b.emittedReadable||(t("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?y(p,a):p(a))}function p(a){t("emit readable"); a.emit("readable");q(a)}function u(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=b.length)c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear();else{c=b.buffer;b=b.decoder;if(ag.length?g.length:a,d=h===g.length?d+g:d+g.slice(0,a);a-=h;if(0===a){h===g.length?(++e,c.head=b.next?b.next:c.tail=null):(c.head=b,b.data=g.slice(h));break}++e}c.length-=e;c=d}else{b=G.allocUnsafe(a);e=c.head;d=1;e.data.copy(b);for(a-=e.data.length;e=e.next;){g=e.data;h=a>g.length?g.length:a;g.copy(b,b.length-a,0,h);a-=h;if(0===a){h===g.length?(++d,c.head=e.next?e.next:c.tail=null):(c.head= -e,e.data=g.slice(h));break}++d}c.length-=d;c=b}b=c}c=b}return c}function D(a){var b=a._readableState;if(0=b.highWaterMark||b.ended))return t("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):m(this),null;a=f(a,b);if(0===a&&b.ended)return 0===b.length&&D(this),null;var e=b.needReadable;t("need readable",e);if(0===b.length||b.length-a=b.length)c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear();else{c=b.buffer;b=b.decoder;if(ae.length?e.length:a,f=g===e.length?f+e:f+e.slice(0,a);a-=g;if(0===a){g===e.length?(++d,c.head=b.next?b.next:c.tail=null):(c.head=b,b.data=e.slice(g));break}++d}c.length-=d;c=f}else{b=G.allocUnsafe(a);d=c.head;f=1;d.data.copy(b);for(a-=d.data.length;d=d.next;){e=d.data;g=a>e.length?e.length:a;e.copy(b,b.length-a,0,g);a-=g;if(0===a){g===e.length?(++f,c.head=d.next?d.next:c.tail=null):(c.head= +d,d.data=e.slice(g));break}++f}c.length-=f;c=b}b=c}c=b}return c}function D(a){var b=a._readableState;if(0=b.highWaterMark||b.ended))return t("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):m(this),null;a=g(a,b);if(0===a&&b.ended)return 0===b.length&&D(this),null;var d=b.needReadable;t("need readable",d);if(0===b.length||b.length-a>>0);for(var b=this.head,e=0;b;)b.data.copy(a,e),e+=b.data.length,b=b.next;return a};return a}()},{"safe-buffer":160}],153:[function(d,a,b){function c(a,b){a.emit("error",b)}var e=d("process-nextick-args"); -a.exports={destroy:function(a,b){var d=this,g=this._writableState&&this._writableState.destroyed;this._readableState&&this._readableState.destroyed||g?b?b(a):!a||this._writableState&&this._writableState.errorEmitted||e(c,this,a):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(e(c,d,a),d._writableState&&(d._writableState.errorEmitted=!0)):b&&b(a)}))},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.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":137}],154:[function(d,a,b){a.exports=d("events").EventEmitter},{events:101}],155:[function(d,a,b){a.exports=d("./readable").PassThrough},{"./readable":156}],156:[function(d,a,b){b=a.exports=d("./lib/_stream_readable.js"); -b.Stream=b;b.Readable=b;b.Writable=d("./lib/_stream_writable.js");b.Duplex=d("./lib/_stream_duplex.js");b.Transform=d("./lib/_stream_transform.js");b.PassThrough=d("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":147,"./lib/_stream_passthrough.js":148,"./lib/_stream_readable.js":149,"./lib/_stream_transform.js":150,"./lib/_stream_writable.js":151}],157:[function(d,a,b){a.exports=d("./readable").Transform},{"./readable":156}],158:[function(d,a,b){a.exports=d("./lib/_stream_writable.js")}, -{"./lib/_stream_writable.js":151}],159:[function(d,a,b){(function(b){function c(){p.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}function g(a,b){return a<>>32-b}function l(a,b,c,e,d,h,f,k){return g(a+(b^c^e)+h+f|0,k)+d|0}function h(a,b,c,e,d,h,f,k){return g(a+(b&c|~b&e)+h+f|0,k)+d|0}function k(a,b,c,e,d,h,f,k){return g(a+((b|~c)^e)+h+f|0,k)+d|0}function n(a,b,c,e,d,h,f,k){return g(a+(b&e|c&~e)+h+f|0,k)+d|0}function f(a,b,c,e,d,h, -f,k){return g(a+(b^(c|~e))+h+f|0,k)+d|0}var m=d("inherits"),p=d("hash-base");m(c,p);c.prototype._update=function(){for(var a=Array(16),b=0;16>b;++b)a[b]=this._block.readInt32LE(4*b);var b=this._a,c=this._b,e=this._c,d=this._d,m=this._e,b=l(b,c,e,d,m,a[0],0,11),e=g(e,10),m=l(m,b,c,e,d,a[1],0,14),c=g(c,10),d=l(d,m,b,c,e,a[2],0,15),b=g(b,10),e=l(e,d,m,b,c,a[3],0,12),m=g(m,10),c=l(c,e,d,m,b,a[4],0,5),d=g(d,10),b=l(b,c,e,d,m,a[5],0,8),e=g(e,10),m=l(m,b,c,e,d,a[6],0,7),c=g(c,10),d=l(d,m,b,c,e,a[7],0,9), -b=g(b,10),e=l(e,d,m,b,c,a[8],0,11),m=g(m,10),c=l(c,e,d,m,b,a[9],0,13),d=g(d,10),b=l(b,c,e,d,m,a[10],0,14),e=g(e,10),m=l(m,b,c,e,d,a[11],0,15),c=g(c,10),d=l(d,m,b,c,e,a[12],0,6),b=g(b,10),e=l(e,d,m,b,c,a[13],0,7),m=g(m,10),c=l(c,e,d,m,b,a[14],0,9),d=g(d,10),b=l(b,c,e,d,m,a[15],0,8),e=g(e,10),m=h(m,b,c,e,d,a[7],1518500249,7),c=g(c,10),d=h(d,m,b,c,e,a[4],1518500249,6),b=g(b,10),e=h(e,d,m,b,c,a[13],1518500249,8),m=g(m,10),c=h(c,e,d,m,b,a[1],1518500249,13),d=g(d,10),b=h(b,c,e,d,m,a[10],1518500249,11), -e=g(e,10),m=h(m,b,c,e,d,a[6],1518500249,9),c=g(c,10),d=h(d,m,b,c,e,a[15],1518500249,7),b=g(b,10),e=h(e,d,m,b,c,a[3],1518500249,15),m=g(m,10),c=h(c,e,d,m,b,a[12],1518500249,7),d=g(d,10),b=h(b,c,e,d,m,a[0],1518500249,12),e=g(e,10),m=h(m,b,c,e,d,a[9],1518500249,15),c=g(c,10),d=h(d,m,b,c,e,a[5],1518500249,9),b=g(b,10),e=h(e,d,m,b,c,a[2],1518500249,11),m=g(m,10),c=h(c,e,d,m,b,a[14],1518500249,7),d=g(d,10),b=h(b,c,e,d,m,a[11],1518500249,13),e=g(e,10),m=h(m,b,c,e,d,a[8],1518500249,12),c=g(c,10),d=k(d,m, -b,c,e,a[3],1859775393,11),b=g(b,10),e=k(e,d,m,b,c,a[10],1859775393,13),m=g(m,10),c=k(c,e,d,m,b,a[14],1859775393,6),d=g(d,10),b=k(b,c,e,d,m,a[4],1859775393,7),e=g(e,10),m=k(m,b,c,e,d,a[9],1859775393,14),c=g(c,10),d=k(d,m,b,c,e,a[15],1859775393,9),b=g(b,10),e=k(e,d,m,b,c,a[8],1859775393,13),m=g(m,10),c=k(c,e,d,m,b,a[1],1859775393,15),d=g(d,10),b=k(b,c,e,d,m,a[2],1859775393,14),e=g(e,10),m=k(m,b,c,e,d,a[7],1859775393,8),c=g(c,10),d=k(d,m,b,c,e,a[0],1859775393,13),b=g(b,10),e=k(e,d,m,b,c,a[6],1859775393, -6),m=g(m,10),c=k(c,e,d,m,b,a[13],1859775393,5),d=g(d,10),b=k(b,c,e,d,m,a[11],1859775393,12),e=g(e,10),m=k(m,b,c,e,d,a[5],1859775393,7),c=g(c,10),d=k(d,m,b,c,e,a[12],1859775393,5),b=g(b,10),e=n(e,d,m,b,c,a[1],2400959708,11),m=g(m,10),c=n(c,e,d,m,b,a[9],2400959708,12),d=g(d,10),b=n(b,c,e,d,m,a[11],2400959708,14),e=g(e,10),m=n(m,b,c,e,d,a[10],2400959708,15),c=g(c,10),d=n(d,m,b,c,e,a[0],2400959708,14),b=g(b,10),e=n(e,d,m,b,c,a[8],2400959708,15),m=g(m,10),c=n(c,e,d,m,b,a[12],2400959708,9),d=g(d,10),b= -n(b,c,e,d,m,a[4],2400959708,8),e=g(e,10),m=n(m,b,c,e,d,a[13],2400959708,9),c=g(c,10),d=n(d,m,b,c,e,a[3],2400959708,14),b=g(b,10),e=n(e,d,m,b,c,a[7],2400959708,5),m=g(m,10),c=n(c,e,d,m,b,a[15],2400959708,6),d=g(d,10),b=n(b,c,e,d,m,a[14],2400959708,8),e=g(e,10),m=n(m,b,c,e,d,a[5],2400959708,6),c=g(c,10),d=n(d,m,b,c,e,a[6],2400959708,5),b=g(b,10),e=n(e,d,m,b,c,a[2],2400959708,12),m=g(m,10),c=f(c,e,d,m,b,a[4],2840853838,9),d=g(d,10),b=f(b,c,e,d,m,a[0],2840853838,15),e=g(e,10),m=f(m,b,c,e,d,a[5],2840853838, -5),c=g(c,10),d=f(d,m,b,c,e,a[9],2840853838,11),b=g(b,10),e=f(e,d,m,b,c,a[7],2840853838,6),m=g(m,10),c=f(c,e,d,m,b,a[12],2840853838,8),d=g(d,10),b=f(b,c,e,d,m,a[2],2840853838,13),e=g(e,10),m=f(m,b,c,e,d,a[10],2840853838,12),c=g(c,10),d=f(d,m,b,c,e,a[14],2840853838,5),b=g(b,10),e=f(e,d,m,b,c,a[1],2840853838,12),m=g(m,10),c=f(c,e,d,m,b,a[3],2840853838,13),d=g(d,10),b=f(b,c,e,d,m,a[8],2840853838,14),e=g(e,10),m=f(m,b,c,e,d,a[11],2840853838,11),c=g(c,10),d=f(d,m,b,c,e,a[6],2840853838,8),b=g(b,10),e=f(e, -d,m,b,c,a[15],2840853838,5),m=g(m,10),c=f(c,e,d,m,b,a[13],2840853838,6),d=g(d,10),p=this._a,x=this._b,w=this._c,y=this._d,B=this._e,p=f(p,x,w,y,B,a[5],1352829926,8),w=g(w,10),B=f(B,p,x,w,y,a[14],1352829926,9),x=g(x,10),y=f(y,B,p,x,w,a[7],1352829926,9),p=g(p,10),w=f(w,y,B,p,x,a[0],1352829926,11),B=g(B,10),x=f(x,w,y,B,p,a[9],1352829926,13),y=g(y,10),p=f(p,x,w,y,B,a[2],1352829926,15),w=g(w,10),B=f(B,p,x,w,y,a[11],1352829926,15),x=g(x,10),y=f(y,B,p,x,w,a[4],1352829926,5),p=g(p,10),w=f(w,y,B,p,x,a[13], -1352829926,7),B=g(B,10),x=f(x,w,y,B,p,a[6],1352829926,7),y=g(y,10),p=f(p,x,w,y,B,a[15],1352829926,8),w=g(w,10),B=f(B,p,x,w,y,a[8],1352829926,11),x=g(x,10),y=f(y,B,p,x,w,a[1],1352829926,14),p=g(p,10),w=f(w,y,B,p,x,a[10],1352829926,14),B=g(B,10),x=f(x,w,y,B,p,a[3],1352829926,12),y=g(y,10),p=f(p,x,w,y,B,a[12],1352829926,6),w=g(w,10),B=n(B,p,x,w,y,a[6],1548603684,9),x=g(x,10),y=n(y,B,p,x,w,a[11],1548603684,13),p=g(p,10),w=n(w,y,B,p,x,a[3],1548603684,15),B=g(B,10),x=n(x,w,y,B,p,a[7],1548603684,7),y=g(y, -10),p=n(p,x,w,y,B,a[0],1548603684,12),w=g(w,10),B=n(B,p,x,w,y,a[13],1548603684,8),x=g(x,10),y=n(y,B,p,x,w,a[5],1548603684,9),p=g(p,10),w=n(w,y,B,p,x,a[10],1548603684,11),B=g(B,10),x=n(x,w,y,B,p,a[14],1548603684,7),y=g(y,10),p=n(p,x,w,y,B,a[15],1548603684,7),w=g(w,10),B=n(B,p,x,w,y,a[8],1548603684,12),x=g(x,10),y=n(y,B,p,x,w,a[12],1548603684,7),p=g(p,10),w=n(w,y,B,p,x,a[4],1548603684,6),B=g(B,10),x=n(x,w,y,B,p,a[9],1548603684,15),y=g(y,10),p=n(p,x,w,y,B,a[1],1548603684,13),w=g(w,10),B=n(B,p,x,w,y, -a[2],1548603684,11),x=g(x,10),y=k(y,B,p,x,w,a[15],1836072691,9),p=g(p,10),w=k(w,y,B,p,x,a[5],1836072691,7),B=g(B,10),x=k(x,w,y,B,p,a[1],1836072691,15),y=g(y,10),p=k(p,x,w,y,B,a[3],1836072691,11),w=g(w,10),B=k(B,p,x,w,y,a[7],1836072691,8),x=g(x,10),y=k(y,B,p,x,w,a[14],1836072691,6),p=g(p,10),w=k(w,y,B,p,x,a[6],1836072691,6),B=g(B,10),x=k(x,w,y,B,p,a[9],1836072691,14),y=g(y,10),p=k(p,x,w,y,B,a[11],1836072691,12),w=g(w,10),B=k(B,p,x,w,y,a[8],1836072691,13),x=g(x,10),y=k(y,B,p,x,w,a[12],1836072691,5), -p=g(p,10),w=k(w,y,B,p,x,a[2],1836072691,14),B=g(B,10),x=k(x,w,y,B,p,a[10],1836072691,13),y=g(y,10),p=k(p,x,w,y,B,a[0],1836072691,13),w=g(w,10),B=k(B,p,x,w,y,a[4],1836072691,7),x=g(x,10),y=k(y,B,p,x,w,a[13],1836072691,5),p=g(p,10),w=h(w,y,B,p,x,a[8],2053994217,15),B=g(B,10),x=h(x,w,y,B,p,a[6],2053994217,5),y=g(y,10),p=h(p,x,w,y,B,a[4],2053994217,8),w=g(w,10),B=h(B,p,x,w,y,a[1],2053994217,11),x=g(x,10),y=h(y,B,p,x,w,a[3],2053994217,14),p=g(p,10),w=h(w,y,B,p,x,a[11],2053994217,14),B=g(B,10),x=h(x,w, -y,B,p,a[15],2053994217,6),y=g(y,10),p=h(p,x,w,y,B,a[0],2053994217,14),w=g(w,10),B=h(B,p,x,w,y,a[5],2053994217,6),x=g(x,10),y=h(y,B,p,x,w,a[12],2053994217,9),p=g(p,10),w=h(w,y,B,p,x,a[2],2053994217,12),B=g(B,10),x=h(x,w,y,B,p,a[13],2053994217,9),y=g(y,10),p=h(p,x,w,y,B,a[9],2053994217,12),w=g(w,10),B=h(B,p,x,w,y,a[7],2053994217,5),x=g(x,10),y=h(y,B,p,x,w,a[10],2053994217,15),p=g(p,10),w=h(w,y,B,p,x,a[14],2053994217,8),B=g(B,10),x=l(x,w,y,B,p,a[12],0,8),y=g(y,10),p=l(p,x,w,y,B,a[15],0,5),w=g(w,10), -B=l(B,p,x,w,y,a[10],0,12),x=g(x,10),y=l(y,B,p,x,w,a[4],0,9),p=g(p,10),w=l(w,y,B,p,x,a[1],0,12),B=g(B,10),x=l(x,w,y,B,p,a[5],0,5),y=g(y,10),p=l(p,x,w,y,B,a[8],0,14),w=g(w,10),B=l(B,p,x,w,y,a[7],0,6),x=g(x,10),y=l(y,B,p,x,w,a[6],0,8),p=g(p,10),w=l(w,y,B,p,x,a[2],0,13),B=g(B,10),x=l(x,w,y,B,p,a[13],0,6),y=g(y,10),p=l(p,x,w,y,B,a[14],0,5),w=g(w,10),B=l(B,p,x,w,y,a[0],0,15),x=g(x,10),y=l(y,B,p,x,w,a[3],0,13),p=g(p,10),w=l(w,y,B,p,x,a[9],0,11),B=g(B,10),x=l(x,w,y,B,p,a[11],0,11),y=g(y,10),a=this._b+e+y| -0;this._b=this._c+d+B|0;this._c=this._d+m+p|0;this._d=this._e+b+x|0;this._e=this._a+c+w|0;this._a=a};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._finalSize&&(this._update(this._block),this._block.fill(0));b=8*this._len; -if(4294967295>=b)this._block.writeUInt32BE(b,this._blockSize-4);else{var c=b&4294967295;this._block.writeUInt32BE((b-c)/4294967296,this._blockSize-8);this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);b=this._hash();return a?b.toString(a):b};c.prototype._update=function(){throw Error("_update must be implemented by subclass");};a.exports=c},{"safe-buffer":160}],162:[function(d,a,b){b=a.exports=function(a){a=a.toLowerCase();var c=b[a];if(!c)throw Error(a+" is not supported (we accept pull requests)"); -return new c};b.sha=d("./sha");b.sha1=d("./sha1");b.sha224=d("./sha224");b.sha256=d("./sha256");b.sha384=d("./sha384");b.sha512=d("./sha512")},{"./sha":163,"./sha1":164,"./sha224":165,"./sha256":166,"./sha384":167,"./sha512":168}],163:[function(d,a,b){function c(){this.init();this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,e);c.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c= -2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)b[k]=b[k-3]^b[k-8]^b[k-14]^b[k-16];for(a=0;80>a;++a){var k=~~(a/20),C=c<<5|c>>>27,q;q=0===k?e&d|~e&g:2===k?e&d|e&g|d&g:e^d^g;k=C+q+h+b[a]+l[k]|0;h=g;g=d;d=e<<30|e>>>2;e=c;c=k}this._a=c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d|0;this._e=h+this._e|0};c.prototype._hash= -function(){var a=g.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],164:[function(d,a,b){function c(){this.init();this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,e);c.prototype.init=function(){this._a=1732584193;this._b= -4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)a=b[k-3]^b[k-8]^b[k-14]^b[k-16],b[k]=a<<1|a>>>31;for(k=0;80>k;++k){a=~~(k/20);var C=c<<5|c>>>27,q;q=0===a?e&d|~e&g:2===a?e&d|e&g|d&g:e^d^g;a=C+q+h+b[k]+l[a]|0;h=g;g=d;d=e<<30|e>>>2;e=c;c=a}this._a=c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d| -0;this._e=h+this._e|0};c.prototype._hash=function(){var a=g.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],165:[function(d,a,b){function c(){this.init();this._w=h;g.call(this,64,56)}b=d("inherits");var e=d("./sha256"),g=d("./hash"),l=d("safe-buffer").Buffer,h=Array(64);b(c,e);c.prototype.init=function(){this._a=3238371032; -this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};c.prototype._hash=function(){var a=l.allocUnsafe(28);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);return a};a.exports=c},{"./hash":161,"./sha256":166,inherits:119,"safe-buffer":160}],166:[function(d,a,b){function c(){this.init(); -this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[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],h=Array(64);b(c,e);c.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};c.prototype._update= -function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=this._f|0,C=this._g|0,q=this._h|0,A=0;16>A;++A)b[A]=a.readInt32BE(4*A);for(;64>A;++A){a=b[A-2];var D=b[A-15];b[A]=((a>>>17|a<<15)^(a>>>19|a<<13)^a>>>10)+b[A-7]+((D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3)+b[A-16]|0}for(A=0;64>A;++A)a=q+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(C^h&(k^C))+l[A]+b[A]|0,D=((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+(c&e|d&(c|e))|0,q=C,C=k,k=h,h=g+a|0,g=d,d=e,e=c,c=a+D|0;this._a= -c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d|0;this._e=h+this._e|0;this._f=k+this._f|0;this._g=C+this._g|0;this._h=q+this._h|0};c.prototype._hash=function(){var a=g.allocUnsafe(32);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);a.writeInt32BE(this._h,28);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],167:[function(d, -a,b){function c(){this.init();this._w=h;g.call(this,128,112)}b=d("inherits");var e=d("./sha512"),g=d("./hash"),l=d("safe-buffer").Buffer,h=Array(160);b(c,e);c.prototype.init=function(){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; -return this};c.prototype._hash=function(){function a(a,c,e){b.writeInt32BE(a,e);b.writeInt32BE(c,e+4)}var b=l.allocUnsafe(48);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);return b};a.exports=c},{"./hash":161,"./sha512":168,inherits:119,"safe-buffer":160}],168:[function(d,a,b){function c(){this.init();this._w=k;g.call(this,128,112)}function e(a,b){return a>>>0>>0?1:0}b=d("inherits");var g=d("./hash"), -l=d("safe-buffer").Buffer,h=[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, +function(){this.head=this.tail=null;this.length=0};a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c};a.prototype.concat=function(a){if(0===this.length)return c.alloc(0);if(1===this.length)return this.head.data;a=c.allocUnsafe(a>>>0);for(var b=this.head,d=0;b;)b.data.copy(a,d),d+=b.data.length,b=b.next;return a};return a}()},{"safe-buffer":160}],153:[function(e,a,b){function c(a,b){a.emit("error",b)}var d=e("process-nextick-args"); +a.exports={destroy:function(a,b){var f=this,e=this._writableState&&this._writableState.destroyed;this._readableState&&this._readableState.destroyed||e?b?b(a):!a||this._writableState&&this._writableState.errorEmitted||d(c,this,a):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(d(c,f,a),f._writableState&&(f._writableState.errorEmitted=!0)):b&&b(a)}))},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.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":137}],154:[function(e,a,b){a.exports=e("events").EventEmitter},{events:101}],155:[function(e,a,b){a.exports=e("./readable").PassThrough},{"./readable":156}],156:[function(e,a,b){b=a.exports=e("./lib/_stream_readable.js"); +b.Stream=b;b.Readable=b;b.Writable=e("./lib/_stream_writable.js");b.Duplex=e("./lib/_stream_duplex.js");b.Transform=e("./lib/_stream_transform.js");b.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":147,"./lib/_stream_passthrough.js":148,"./lib/_stream_readable.js":149,"./lib/_stream_transform.js":150,"./lib/_stream_writable.js":151}],157:[function(e,a,b){a.exports=e("./readable").Transform},{"./readable":156}],158:[function(e,a,b){a.exports=e("./lib/_stream_writable.js")}, +{"./lib/_stream_writable.js":151}],159:[function(e,a,b){(function(b){function c(){p.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}function f(a,b){return a<>>32-b}function l(a,b,c,d,e,g,h,k){return f(a+(b^c^d)+g+h|0,k)+e|0}function h(a,b,c,d,e,g,h,k){return f(a+(b&c|~b&d)+g+h|0,k)+e|0}function k(a,b,c,d,e,g,h,k){return f(a+((b|~c)^d)+g+h|0,k)+e|0}function n(a,b,c,d,e,g,h,k){return f(a+(b&d|c&~d)+g+h|0,k)+e|0}function g(a,b,c,d,e,g, +h,k){return f(a+(b^(c|~d))+g+h|0,k)+e|0}var m=e("inherits"),p=e("hash-base");m(c,p);c.prototype._update=function(){for(var a=Array(16),b=0;16>b;++b)a[b]=this._block.readInt32LE(4*b);var b=this._a,c=this._b,d=this._c,e=this._d,m=this._e,b=l(b,c,d,e,m,a[0],0,11),d=f(d,10),m=l(m,b,c,d,e,a[1],0,14),c=f(c,10),e=l(e,m,b,c,d,a[2],0,15),b=f(b,10),d=l(d,e,m,b,c,a[3],0,12),m=f(m,10),c=l(c,d,e,m,b,a[4],0,5),e=f(e,10),b=l(b,c,d,e,m,a[5],0,8),d=f(d,10),m=l(m,b,c,d,e,a[6],0,7),c=f(c,10),e=l(e,m,b,c,d,a[7],0,9), +b=f(b,10),d=l(d,e,m,b,c,a[8],0,11),m=f(m,10),c=l(c,d,e,m,b,a[9],0,13),e=f(e,10),b=l(b,c,d,e,m,a[10],0,14),d=f(d,10),m=l(m,b,c,d,e,a[11],0,15),c=f(c,10),e=l(e,m,b,c,d,a[12],0,6),b=f(b,10),d=l(d,e,m,b,c,a[13],0,7),m=f(m,10),c=l(c,d,e,m,b,a[14],0,9),e=f(e,10),b=l(b,c,d,e,m,a[15],0,8),d=f(d,10),m=h(m,b,c,d,e,a[7],1518500249,7),c=f(c,10),e=h(e,m,b,c,d,a[4],1518500249,6),b=f(b,10),d=h(d,e,m,b,c,a[13],1518500249,8),m=f(m,10),c=h(c,d,e,m,b,a[1],1518500249,13),e=f(e,10),b=h(b,c,d,e,m,a[10],1518500249,11), +d=f(d,10),m=h(m,b,c,d,e,a[6],1518500249,9),c=f(c,10),e=h(e,m,b,c,d,a[15],1518500249,7),b=f(b,10),d=h(d,e,m,b,c,a[3],1518500249,15),m=f(m,10),c=h(c,d,e,m,b,a[12],1518500249,7),e=f(e,10),b=h(b,c,d,e,m,a[0],1518500249,12),d=f(d,10),m=h(m,b,c,d,e,a[9],1518500249,15),c=f(c,10),e=h(e,m,b,c,d,a[5],1518500249,9),b=f(b,10),d=h(d,e,m,b,c,a[2],1518500249,11),m=f(m,10),c=h(c,d,e,m,b,a[14],1518500249,7),e=f(e,10),b=h(b,c,d,e,m,a[11],1518500249,13),d=f(d,10),m=h(m,b,c,d,e,a[8],1518500249,12),c=f(c,10),e=k(e,m, +b,c,d,a[3],1859775393,11),b=f(b,10),d=k(d,e,m,b,c,a[10],1859775393,13),m=f(m,10),c=k(c,d,e,m,b,a[14],1859775393,6),e=f(e,10),b=k(b,c,d,e,m,a[4],1859775393,7),d=f(d,10),m=k(m,b,c,d,e,a[9],1859775393,14),c=f(c,10),e=k(e,m,b,c,d,a[15],1859775393,9),b=f(b,10),d=k(d,e,m,b,c,a[8],1859775393,13),m=f(m,10),c=k(c,d,e,m,b,a[1],1859775393,15),e=f(e,10),b=k(b,c,d,e,m,a[2],1859775393,14),d=f(d,10),m=k(m,b,c,d,e,a[7],1859775393,8),c=f(c,10),e=k(e,m,b,c,d,a[0],1859775393,13),b=f(b,10),d=k(d,e,m,b,c,a[6],1859775393, +6),m=f(m,10),c=k(c,d,e,m,b,a[13],1859775393,5),e=f(e,10),b=k(b,c,d,e,m,a[11],1859775393,12),d=f(d,10),m=k(m,b,c,d,e,a[5],1859775393,7),c=f(c,10),e=k(e,m,b,c,d,a[12],1859775393,5),b=f(b,10),d=n(d,e,m,b,c,a[1],2400959708,11),m=f(m,10),c=n(c,d,e,m,b,a[9],2400959708,12),e=f(e,10),b=n(b,c,d,e,m,a[11],2400959708,14),d=f(d,10),m=n(m,b,c,d,e,a[10],2400959708,15),c=f(c,10),e=n(e,m,b,c,d,a[0],2400959708,14),b=f(b,10),d=n(d,e,m,b,c,a[8],2400959708,15),m=f(m,10),c=n(c,d,e,m,b,a[12],2400959708,9),e=f(e,10),b= +n(b,c,d,e,m,a[4],2400959708,8),d=f(d,10),m=n(m,b,c,d,e,a[13],2400959708,9),c=f(c,10),e=n(e,m,b,c,d,a[3],2400959708,14),b=f(b,10),d=n(d,e,m,b,c,a[7],2400959708,5),m=f(m,10),c=n(c,d,e,m,b,a[15],2400959708,6),e=f(e,10),b=n(b,c,d,e,m,a[14],2400959708,8),d=f(d,10),m=n(m,b,c,d,e,a[5],2400959708,6),c=f(c,10),e=n(e,m,b,c,d,a[6],2400959708,5),b=f(b,10),d=n(d,e,m,b,c,a[2],2400959708,12),m=f(m,10),c=g(c,d,e,m,b,a[4],2840853838,9),e=f(e,10),b=g(b,c,d,e,m,a[0],2840853838,15),d=f(d,10),m=g(m,b,c,d,e,a[5],2840853838, +5),c=f(c,10),e=g(e,m,b,c,d,a[9],2840853838,11),b=f(b,10),d=g(d,e,m,b,c,a[7],2840853838,6),m=f(m,10),c=g(c,d,e,m,b,a[12],2840853838,8),e=f(e,10),b=g(b,c,d,e,m,a[2],2840853838,13),d=f(d,10),m=g(m,b,c,d,e,a[10],2840853838,12),c=f(c,10),e=g(e,m,b,c,d,a[14],2840853838,5),b=f(b,10),d=g(d,e,m,b,c,a[1],2840853838,12),m=f(m,10),c=g(c,d,e,m,b,a[3],2840853838,13),e=f(e,10),b=g(b,c,d,e,m,a[8],2840853838,14),d=f(d,10),m=g(m,b,c,d,e,a[11],2840853838,11),c=f(c,10),e=g(e,m,b,c,d,a[6],2840853838,8),b=f(b,10),d=g(d, +e,m,b,c,a[15],2840853838,5),m=f(m,10),c=g(c,d,e,m,b,a[13],2840853838,6),e=f(e,10),p=this._a,x=this._b,w=this._c,y=this._d,A=this._e,p=g(p,x,w,y,A,a[5],1352829926,8),w=f(w,10),A=g(A,p,x,w,y,a[14],1352829926,9),x=f(x,10),y=g(y,A,p,x,w,a[7],1352829926,9),p=f(p,10),w=g(w,y,A,p,x,a[0],1352829926,11),A=f(A,10),x=g(x,w,y,A,p,a[9],1352829926,13),y=f(y,10),p=g(p,x,w,y,A,a[2],1352829926,15),w=f(w,10),A=g(A,p,x,w,y,a[11],1352829926,15),x=f(x,10),y=g(y,A,p,x,w,a[4],1352829926,5),p=f(p,10),w=g(w,y,A,p,x,a[13], +1352829926,7),A=f(A,10),x=g(x,w,y,A,p,a[6],1352829926,7),y=f(y,10),p=g(p,x,w,y,A,a[15],1352829926,8),w=f(w,10),A=g(A,p,x,w,y,a[8],1352829926,11),x=f(x,10),y=g(y,A,p,x,w,a[1],1352829926,14),p=f(p,10),w=g(w,y,A,p,x,a[10],1352829926,14),A=f(A,10),x=g(x,w,y,A,p,a[3],1352829926,12),y=f(y,10),p=g(p,x,w,y,A,a[12],1352829926,6),w=f(w,10),A=n(A,p,x,w,y,a[6],1548603684,9),x=f(x,10),y=n(y,A,p,x,w,a[11],1548603684,13),p=f(p,10),w=n(w,y,A,p,x,a[3],1548603684,15),A=f(A,10),x=n(x,w,y,A,p,a[7],1548603684,7),y=f(y, +10),p=n(p,x,w,y,A,a[0],1548603684,12),w=f(w,10),A=n(A,p,x,w,y,a[13],1548603684,8),x=f(x,10),y=n(y,A,p,x,w,a[5],1548603684,9),p=f(p,10),w=n(w,y,A,p,x,a[10],1548603684,11),A=f(A,10),x=n(x,w,y,A,p,a[14],1548603684,7),y=f(y,10),p=n(p,x,w,y,A,a[15],1548603684,7),w=f(w,10),A=n(A,p,x,w,y,a[8],1548603684,12),x=f(x,10),y=n(y,A,p,x,w,a[12],1548603684,7),p=f(p,10),w=n(w,y,A,p,x,a[4],1548603684,6),A=f(A,10),x=n(x,w,y,A,p,a[9],1548603684,15),y=f(y,10),p=n(p,x,w,y,A,a[1],1548603684,13),w=f(w,10),A=n(A,p,x,w,y, +a[2],1548603684,11),x=f(x,10),y=k(y,A,p,x,w,a[15],1836072691,9),p=f(p,10),w=k(w,y,A,p,x,a[5],1836072691,7),A=f(A,10),x=k(x,w,y,A,p,a[1],1836072691,15),y=f(y,10),p=k(p,x,w,y,A,a[3],1836072691,11),w=f(w,10),A=k(A,p,x,w,y,a[7],1836072691,8),x=f(x,10),y=k(y,A,p,x,w,a[14],1836072691,6),p=f(p,10),w=k(w,y,A,p,x,a[6],1836072691,6),A=f(A,10),x=k(x,w,y,A,p,a[9],1836072691,14),y=f(y,10),p=k(p,x,w,y,A,a[11],1836072691,12),w=f(w,10),A=k(A,p,x,w,y,a[8],1836072691,13),x=f(x,10),y=k(y,A,p,x,w,a[12],1836072691,5), +p=f(p,10),w=k(w,y,A,p,x,a[2],1836072691,14),A=f(A,10),x=k(x,w,y,A,p,a[10],1836072691,13),y=f(y,10),p=k(p,x,w,y,A,a[0],1836072691,13),w=f(w,10),A=k(A,p,x,w,y,a[4],1836072691,7),x=f(x,10),y=k(y,A,p,x,w,a[13],1836072691,5),p=f(p,10),w=h(w,y,A,p,x,a[8],2053994217,15),A=f(A,10),x=h(x,w,y,A,p,a[6],2053994217,5),y=f(y,10),p=h(p,x,w,y,A,a[4],2053994217,8),w=f(w,10),A=h(A,p,x,w,y,a[1],2053994217,11),x=f(x,10),y=h(y,A,p,x,w,a[3],2053994217,14),p=f(p,10),w=h(w,y,A,p,x,a[11],2053994217,14),A=f(A,10),x=h(x,w, +y,A,p,a[15],2053994217,6),y=f(y,10),p=h(p,x,w,y,A,a[0],2053994217,14),w=f(w,10),A=h(A,p,x,w,y,a[5],2053994217,6),x=f(x,10),y=h(y,A,p,x,w,a[12],2053994217,9),p=f(p,10),w=h(w,y,A,p,x,a[2],2053994217,12),A=f(A,10),x=h(x,w,y,A,p,a[13],2053994217,9),y=f(y,10),p=h(p,x,w,y,A,a[9],2053994217,12),w=f(w,10),A=h(A,p,x,w,y,a[7],2053994217,5),x=f(x,10),y=h(y,A,p,x,w,a[10],2053994217,15),p=f(p,10),w=h(w,y,A,p,x,a[14],2053994217,8),A=f(A,10),x=l(x,w,y,A,p,a[12],0,8),y=f(y,10),p=l(p,x,w,y,A,a[15],0,5),w=f(w,10), +A=l(A,p,x,w,y,a[10],0,12),x=f(x,10),y=l(y,A,p,x,w,a[4],0,9),p=f(p,10),w=l(w,y,A,p,x,a[1],0,12),A=f(A,10),x=l(x,w,y,A,p,a[5],0,5),y=f(y,10),p=l(p,x,w,y,A,a[8],0,14),w=f(w,10),A=l(A,p,x,w,y,a[7],0,6),x=f(x,10),y=l(y,A,p,x,w,a[6],0,8),p=f(p,10),w=l(w,y,A,p,x,a[2],0,13),A=f(A,10),x=l(x,w,y,A,p,a[13],0,6),y=f(y,10),p=l(p,x,w,y,A,a[14],0,5),w=f(w,10),A=l(A,p,x,w,y,a[0],0,15),x=f(x,10),y=l(y,A,p,x,w,a[3],0,13),p=f(p,10),w=l(w,y,A,p,x,a[9],0,11),A=f(A,10),x=l(x,w,y,A,p,a[11],0,11),y=f(y,10),a=this._b+d+y| +0;this._b=this._c+e+A|0;this._c=this._d+m+p|0;this._d=this._e+b+x|0;this._e=this._a+c+w|0;this._a=a};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._finalSize&&(this._update(this._block),this._block.fill(0));b=8*this._len; +if(4294967295>=b)this._block.writeUInt32BE(b,this._blockSize-4);else{var c=b&4294967295;this._block.writeUInt32BE((b-c)/4294967296,this._blockSize-8);this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);b=this._hash();return a?b.toString(a):b};c.prototype._update=function(){throw Error("_update must be implemented by subclass");};a.exports=c},{"safe-buffer":160}],162:[function(e,a,b){b=a.exports=function(a){a=a.toLowerCase();var c=b[a];if(!c)throw Error(a+" is not supported (we accept pull requests)"); +return new c};b.sha=e("./sha");b.sha1=e("./sha1");b.sha224=e("./sha224");b.sha256=e("./sha256");b.sha384=e("./sha384");b.sha512=e("./sha512")},{"./sha":163,"./sha1":164,"./sha224":165,"./sha256":166,"./sha384":167,"./sha512":168}],163:[function(e,a,b){function c(){this.init();this._w=h;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,d);c.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c= +2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)b[k]=b[k-3]^b[k-8]^b[k-14]^b[k-16];for(a=0;80>a;++a){var k=~~(a/20),C=c<<5|c>>>27,q;q=0===k?d&e|~d&f:2===k?d&e|d&f|e&f:d^e^f;k=C+q+h+b[a]+l[k]|0;h=f;f=e;e=d<<30|d>>>2;d=c;c=k}this._a=c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d|0;this._e=h+this._e|0};c.prototype._hash= +function(){var a=f.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],164:[function(e,a,b){function c(){this.init();this._w=h;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,d);c.prototype.init=function(){this._a=1732584193;this._b= +4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)a=b[k-3]^b[k-8]^b[k-14]^b[k-16],b[k]=a<<1|a>>>31;for(k=0;80>k;++k){a=~~(k/20);var C=c<<5|c>>>27,q;q=0===a?d&e|~d&f:2===a?d&e|d&f|e&f:d^e^f;a=C+q+h+b[k]+l[a]|0;h=f;f=e;e=d<<30|d>>>2;d=c;c=a}this._a=c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d| +0;this._e=h+this._e|0};c.prototype._hash=function(){var a=f.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],165:[function(e,a,b){function c(){this.init();this._w=h;f.call(this,64,56)}b=e("inherits");var d=e("./sha256"),f=e("./hash"),l=e("safe-buffer").Buffer,h=Array(64);b(c,d);c.prototype.init=function(){this._a=3238371032; +this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};c.prototype._hash=function(){var a=l.allocUnsafe(28);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);return a};a.exports=c},{"./hash":161,"./sha256":166,inherits:119,"safe-buffer":160}],166:[function(e,a,b){function c(){this.init(); +this._w=h;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[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],h=Array(64);b(c,d);c.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};c.prototype._update= +function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,h=this._e|0,k=this._f|0,C=this._g|0,q=this._h|0,z=0;16>z;++z)b[z]=a.readInt32BE(4*z);for(;64>z;++z){a=b[z-2];var D=b[z-15];b[z]=((a>>>17|a<<15)^(a>>>19|a<<13)^a>>>10)+b[z-7]+((D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3)+b[z-16]|0}for(z=0;64>z;++z)a=q+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(C^h&(k^C))+l[z]+b[z]|0,D=((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+(c&d|e&(c|d))|0,q=C,C=k,k=h,h=f+a|0,f=e,e=d,d=c,c=a+D|0;this._a= +c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d|0;this._e=h+this._e|0;this._f=k+this._f|0;this._g=C+this._g|0;this._h=q+this._h|0};c.prototype._hash=function(){var a=f.allocUnsafe(32);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);a.writeInt32BE(this._h,28);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],167:[function(e, +a,b){function c(){this.init();this._w=h;f.call(this,128,112)}b=e("inherits");var d=e("./sha512"),f=e("./hash"),l=e("safe-buffer").Buffer,h=Array(160);b(c,d);c.prototype.init=function(){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; +return this};c.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d);b.writeInt32BE(c,d+4)}var b=l.allocUnsafe(48);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);return b};a.exports=c},{"./hash":161,"./sha512":168,inherits:119,"safe-buffer":160}],168:[function(e,a,b){function c(){this.init();this._w=k;f.call(this,128,112)}function d(a,b){return a>>>0>>0?1:0}b=e("inherits");var f=e("./hash"), +l=e("safe-buffer").Buffer,h=[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],k=Array(160);b(c,g);c.prototype.init=function(){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;return this};c.prototype._update=function(a){for(var b=this._w,c=this._ah|0,d=this._bh|0,g=this._ch|0,k=this._dh|0,l=this._eh|0,n=this._fh|0,q=this._gh|0,A=this._hh|0,D=this._al|0,x=this._bl|0,w=this._cl|0,y=this._dl|0,B=this._el|0,F=this._fl|0,z=this._gl|0,G=this._hl|0,E=0;32>E;E+=2)b[E]=a.readInt32BE(4*E),b[E+1]=a.readInt32BE(4*E+4);for(;160>E;E+=2){a=b[E-30];var L=b[E-30+1],t=(a>>>1|L<<31)^(a>>>8| -L<<24)^a>>>7,O=(L>>>1|a<<31)^(L>>>8|a<<24)^(L>>>7|a<<25);a=b[E-4];var L=b[E-4+1],J=(a>>>19|L<<13)^(L>>>29|a<<3)^a>>>6,L=(L>>>19|a<<13)^(a>>>29|L<<3)^(L>>>6|a<<26),I=b[E-32],T=b[E-32+1];a=O+b[E-14+1]|0;t=t+b[E-14]+e(a,O)|0;a=a+L|0;t=t+J+e(a,L)|0;a=a+T|0;t=t+I+e(a,T)|0;b[E]=t;b[E+1]=a}for(E=0;160>E;E+=2){t=b[E];a=b[E+1];var L=c&d|g&(c|d),Q=D&x|w&(D|x),I=(c>>>28|D<<4)^(D>>>2|c<<30)^(D>>>7|c<<25),T=(D>>>28|c<<4)^(c>>>2|D<<30)^(c>>>7|D<<25),ea=h[E],S=h[E+1],K=q^l&(n^q),N=z^B&(F^z),J=G+((B>>>14|l<<18)^ -(B>>>18|l<<14)^(l>>>9|B<<23))|0,O=A+((l>>>14|B<<18)^(l>>>18|B<<14)^(B>>>9|l<<23))+e(J,G)|0,J=J+N|0,O=O+K+e(J,N)|0,J=J+S|0,O=O+ea+e(J,S)|0,J=J+a|0,O=O+t+e(J,a)|0;a=T+Q|0;t=I+L+e(a,T)|0;A=q;G=z;q=n;z=F;n=l;F=B;B=y+J|0;l=k+O+e(B,y)|0;k=g;y=w;g=d;w=x;d=c;x=D;D=J+a|0;c=O+t+e(D,J)|0}this._al=this._al+D|0;this._bl=this._bl+x|0;this._cl=this._cl+w|0;this._dl=this._dl+y|0;this._el=this._el+B|0;this._fl=this._fl+F|0;this._gl=this._gl+z|0;this._hl=this._hl+G|0;this._ah=this._ah+c+e(this._al,D)|0;this._bh=this._bh+ -d+e(this._bl,x)|0;this._ch=this._ch+g+e(this._cl,w)|0;this._dh=this._dh+k+e(this._dl,y)|0;this._eh=this._eh+l+e(this._el,B)|0;this._fh=this._fh+n+e(this._fl,F)|0;this._gh=this._gh+q+e(this._gl,z)|0;this._hh=this._hh+A+e(this._hl,G)|0};c.prototype._hash=function(){function a(a,c,e){b.writeInt32BE(a,e);b.writeInt32BE(c,e+4)}var b=l.allocUnsafe(64);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);a(this._gh, -this._gl,48);a(this._hh,this._hl,56);return b};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],169:[function(d,a,b){function c(){e.call(this)}a.exports=c;var e=d("events").EventEmitter;d("inherits")(c,e);c.Readable=d("readable-stream/readable.js");c.Writable=d("readable-stream/writable.js");c.Duplex=d("readable-stream/duplex.js");c.Transform=d("readable-stream/transform.js");c.PassThrough=d("readable-stream/passthrough.js");c.Stream=c;c.prototype.pipe=function(a,b){function c(b){a.writable&& -!1===a.write(b)&&u.pause&&u.pause()}function d(){u.readable&&u.resume&&u.resume()}function g(){r||(r=!0,a.end())}function f(){r||(r=!0,"function"===typeof a.destroy&&a.destroy())}function l(a){p();if(0===e.listenerCount(this,"error"))throw a;}function p(){u.removeListener("data",c);a.removeListener("drain",d);u.removeListener("end",g);u.removeListener("close",f);u.removeListener("error",l);a.removeListener("error",l);u.removeListener("end",p);u.removeListener("close",p);a.removeListener("close",p)} -var u=this;u.on("data",c);a.on("drain",d);a._isStdio||b&&!1===b.end||(u.on("end",g),u.on("close",f));var r=!1;u.on("error",l);a.on("error",l);u.on("end",p);u.on("close",p);a.on("close",p);a.emit("pipe",u);return a}},{events:101,inherits:119,"readable-stream/duplex.js":146,"readable-stream/passthrough.js":155,"readable-stream/readable.js":156,"readable-stream/transform.js":157,"readable-stream/writable.js":158}],170:[function(d,a,b){function c(a){if(!a)return"utf8";for(var b;;)switch(a){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 a;default:if(b)return;a=(""+a).toLowerCase();b=!0}}function e(a){var b=c(a);if("string"!==typeof b&&(r.isEncoding===v||!v(a)))throw Error("Unknown encoding: "+a);this.encoding=b||a;switch(this.encoding){case "utf16le":this.text=k;this.end=n;a=4;break;case "utf8":this.fillLast=h;a=4;break;case "base64":this.text=f;this.end=m;a=3;break;default:this.write= -p;this.end=u;return}this.lastTotal=this.lastNeed=0;this.lastChar=r.allocUnsafe(a)}function g(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:-1}function l(a,b,c){var e=b.length-1;if(eE;E+=2)b[E]=a.readInt32BE(4*E),b[E+1]=a.readInt32BE(4*E+4);for(;160>E;E+=2){a=b[E-30];var L=b[E-30+1],t=(a>>>1|L<<31)^(a>>>8| +L<<24)^a>>>7,O=(L>>>1|a<<31)^(L>>>8|a<<24)^(L>>>7|a<<25);a=b[E-4];var L=b[E-4+1],J=(a>>>19|L<<13)^(L>>>29|a<<3)^a>>>6,L=(L>>>19|a<<13)^(a>>>29|L<<3)^(L>>>6|a<<26),I=b[E-32],T=b[E-32+1];a=O+b[E-14+1]|0;t=t+b[E-14]+d(a,O)|0;a=a+L|0;t=t+J+d(a,L)|0;a=a+T|0;t=t+I+d(a,T)|0;b[E]=t;b[E+1]=a}for(E=0;160>E;E+=2){t=b[E];a=b[E+1];var L=c&e|f&(c|e),Q=D&x|w&(D|x),I=(c>>>28|D<<4)^(D>>>2|c<<30)^(D>>>7|c<<25),T=(D>>>28|c<<4)^(c>>>2|D<<30)^(c>>>7|D<<25),ea=h[E],S=h[E+1],K=q^l&(n^q),N=B^A&(F^B),J=G+((A>>>14|l<<18)^ +(A>>>18|l<<14)^(l>>>9|A<<23))|0,O=z+((l>>>14|A<<18)^(l>>>18|A<<14)^(A>>>9|l<<23))+d(J,G)|0,J=J+N|0,O=O+K+d(J,N)|0,J=J+S|0,O=O+ea+d(J,S)|0,J=J+a|0,O=O+t+d(J,a)|0;a=T+Q|0;t=I+L+d(a,T)|0;z=q;G=B;q=n;B=F;n=l;F=A;A=y+J|0;l=k+O+d(A,y)|0;k=f;y=w;f=e;w=x;e=c;x=D;D=J+a|0;c=O+t+d(D,J)|0}this._al=this._al+D|0;this._bl=this._bl+x|0;this._cl=this._cl+w|0;this._dl=this._dl+y|0;this._el=this._el+A|0;this._fl=this._fl+F|0;this._gl=this._gl+B|0;this._hl=this._hl+G|0;this._ah=this._ah+c+d(this._al,D)|0;this._bh=this._bh+ +e+d(this._bl,x)|0;this._ch=this._ch+f+d(this._cl,w)|0;this._dh=this._dh+k+d(this._dl,y)|0;this._eh=this._eh+l+d(this._el,A)|0;this._fh=this._fh+n+d(this._fl,F)|0;this._gh=this._gh+q+d(this._gl,B)|0;this._hh=this._hh+z+d(this._hl,G)|0};c.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d);b.writeInt32BE(c,d+4)}var b=l.allocUnsafe(64);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);a(this._gh, +this._gl,48);a(this._hh,this._hl,56);return b};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],169:[function(e,a,b){function c(){d.call(this)}a.exports=c;var d=e("events").EventEmitter;e("inherits")(c,d);c.Readable=e("readable-stream/readable.js");c.Writable=e("readable-stream/writable.js");c.Duplex=e("readable-stream/duplex.js");c.Transform=e("readable-stream/transform.js");c.PassThrough=e("readable-stream/passthrough.js");c.Stream=c;c.prototype.pipe=function(a,b){function c(b){a.writable&& +!1===a.write(b)&&u.pause&&u.pause()}function e(){u.readable&&u.resume&&u.resume()}function f(){r||(r=!0,a.end())}function g(){r||(r=!0,"function"===typeof a.destroy&&a.destroy())}function l(a){p();if(0===d.listenerCount(this,"error"))throw a;}function p(){u.removeListener("data",c);a.removeListener("drain",e);u.removeListener("end",f);u.removeListener("close",g);u.removeListener("error",l);a.removeListener("error",l);u.removeListener("end",p);u.removeListener("close",p);a.removeListener("close",p)} +var u=this;u.on("data",c);a.on("drain",e);a._isStdio||b&&!1===b.end||(u.on("end",f),u.on("close",g));var r=!1;u.on("error",l);a.on("error",l);u.on("end",p);u.on("close",p);a.on("close",p);a.emit("pipe",u);return a}},{events:101,inherits:119,"readable-stream/duplex.js":146,"readable-stream/passthrough.js":155,"readable-stream/readable.js":156,"readable-stream/transform.js":157,"readable-stream/writable.js":158}],170:[function(e,a,b){function c(a){if(!a)return"utf8";for(var b;;)switch(a){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 a;default:if(b)return;a=(""+a).toLowerCase();b=!0}}function d(a){var b=c(a);if("string"!==typeof b&&(r.isEncoding===v||!v(a)))throw Error("Unknown encoding: "+a);this.encoding=b||a;switch(this.encoding){case "utf16le":this.text=k;this.end=n;a=4;break;case "utf8":this.fillLast=h;a=4;break;case "base64":this.text=g;this.end=m;a=3;break;default:this.write= +p;this.end=u;return}this.lastTotal=this.lastNeed=0;this.lastChar=r.allocUnsafe(a)}function f(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:-1}function l(a,b,c){var d=b.length-1;if(d=c)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function n(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function f(a,b){var c=(a.length-b)%3;if(0===c)return a.toString("base64",b);this.lastNeed=3-c;this.lastTotal=3; -1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-c)}function m(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function p(a){return a.toString(this.encoding)}function u(a){return a&&a.length?this.write(a):""}var r=d("safe-buffer").Buffer,v=r.isEncoding||function(a){a=""+a;switch(a&&a.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}};b.StringDecoder=e;e.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){b=this.fillLast(a);if(void 0===b)return"";c=this.lastNeed;this.lastNeed=0}else c=0;return ca||0>c||null==b||a+e>this.length||c+e>b.length)return!1;var g=this.substring(a,a+e),l=b.substring(c,c+e);return d?g.equalsIgnoreCase(l):g===l});String.prototype.contains||(String.prototype.contains=function(d){return 0<=this.indexOf(d)});String.prototype.getClass||(String.prototype.getClass=stjs.JavalikeGetClass); -String.valueOf=function(d){return new String(d)};var Byte=Number,Double=Number,Float=Number,Integer=Number,Long=Number,Short=Number;Number.prototype.intValue||(Number.prototype.intValue=function(){return parseInt(this)});Number.prototype.shortValue||(Number.prototype.shortValue=function(){return parseInt(this)});Number.prototype.longValue||(Number.prototype.longValue=function(){return parseInt(this)});Number.prototype.byteValue||(Number.prototype.byteValue=function(){return parseInt(this)}); +1);if(55296<=c&&56319>=c)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function n(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function g(a,b){var c=(a.length-b)%3;if(0===c)return a.toString("base64",b);this.lastNeed=3-c;this.lastTotal=3; +1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-c)}function m(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function p(a){return a.toString(this.encoding)}function u(a){return a&&a.length?this.write(a):""}var r=e("safe-buffer").Buffer,v=r.isEncoding||function(a){a=""+a;switch(a&&a.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}};b.StringDecoder=d;d.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){b=this.fillLast(a);if(void 0===b)return"";c=this.lastNeed;this.lastNeed=0}else c=0;return ca||0>c||null==b||a+d>this.length||c+d>b.length)return!1;var f=this.substring(a,a+d),l=b.substring(c,c+d);return e?f.equalsIgnoreCase(l):f===l});String.prototype.contains||(String.prototype.contains=function(e){return 0<=this.indexOf(e)});String.prototype.getClass||(String.prototype.getClass=stjs.JavalikeGetClass); +String.valueOf=function(e){return new String(e)};var Byte=Number,Double=Number,Float=Number,Integer=Number,Long=Number,Short=Number;Number.prototype.intValue||(Number.prototype.intValue=function(){return parseInt(this)});Number.prototype.shortValue||(Number.prototype.shortValue=function(){return parseInt(this)});Number.prototype.longValue||(Number.prototype.longValue=function(){return parseInt(this)});Number.prototype.byteValue||(Number.prototype.byteValue=function(){return parseInt(this)}); Number.prototype.floatValue||(Number.prototype.floatValue=function(){return parseFloat(this)});Number.prototype.doubleValue||(Number.prototype.doubleValue=function(){return parseFloat(this)});Number.parseInt||(Number.parseInt=parseInt);Number.parseShort||(Number.parseShort=parseInt);Number.parseLong||(Number.parseLong=parseInt);Number.parseByte||(Number.parseByte=parseInt);Number.parseDouble||(Number.parseDouble=parseFloat);Number.parseFloat||(Number.parseFloat=parseFloat); -Number.isNaN||(Number.isNaN=isNaN);Number.prototype.isNaN||(Number.prototype.isNaN=function(){return isNaN(this)});Number.prototype.equals||(Number.prototype.equals=stjs.JavalikeEquals);Number.prototype.getClass||(Number.prototype.getClass=stjs.JavalikeGetClass);Number.valueOf=function(d){return(new Number(d)).valueOf()};Boolean.prototype.equals||(Boolean.prototype.equals=stjs.JavalikeEquals);Boolean.prototype.getClass||(Boolean.prototype.getClass=stjs.JavalikeGetClass);Boolean.valueOf=function(d){return(new Boolean(d)).valueOf()}; -stjs.global=this;stjs.skipCopy={prototype:!0,constructor:!0,$typeDescription:!0,$inherit:!0};stjs.ns=function(d){d=d.split(".");for(var a=stjs.global,b=0;ba?"0"+a:""+a}return d?""+d.getFullYear()+"-"+b(d.getMonth()+1)+"-"+b(d.getDate())+" "+b(d.getHours())+":"+b(d.getMinutes())+":"+b(d.getSeconds()):null},Enum:function(d,a){return null!=d?d.toString():null}}; -stjs.bind=function(d,a,b){var c=!1;null==a&&(a=d,d=null,c=!0);var e=null!=b;return function(){var g=arguments;e&&Array.prototype.splice.call(g,b,0,this);c&&(d=Array.prototype.shift.call(g));return"string"===typeof a?d[a].apply(d,g):a.apply(d,g)}};function exception(d){return d}function isEnum(d){return null!=d&&d.constructor==stjs.enumEntry} -stjs.parseJSON=function(){function d(a,b,c){return b?l[b]:String.fromCharCode(parseInt(c,16))}function a(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function b(b){return b?"function"==typeof b?new b:b.name?"Map"==b.name?{}:"Array"==b.name?[]:a(b.name):a(b):{}}function c(a){a=e.exec(a);return null!=a?a[0]:null}var e=/(?:false|true|null|[\{\}\[\]]|(?:-?\b(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\b)|(?:"(?:[^\0-\x08\x0a-\x1f"\\]|\\(?:["/\\bfnrt]|u[0-9A-Fa-f]{4}))*"))/g,g=/\\(?:([^u])|u(.{4}))/g, -l={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},h={},k=new String("");return function(e,h){var f,l=c(e),n=!1;"{"===l?f=b(h,null):"["===l?f=[]:(f=[],n=!0);var r,v=[f];h=[h];for(l=c(e);null!=l;l=c(e)){var C;switch(l.charCodeAt(0)){default:C=v[0];C[r||C.length]=+l;r=void 0;break;case 34:l=l.substring(1,l.length-1);-1!==l.indexOf("\\")&&(l=l.replace(g,d));C=v[0];if(!r)if(C instanceof Array)r=C.length;else{r=l||k;h[0]=C.constructor.$typeDescription?C.constructor.$typeDescription[r]:h[1].arguments[1]; -break}var q=h[0];if(q)var A=stjs.converters[q.name||q],l=A?A(l,q):a(q,l);C[r]=l;r=void 0;break;case 91:C=v[0];v.unshift(C[r||C.length]=[]);h.unshift(h[0].arguments[0]);r=void 0;break;case 93:v.shift();h.shift();break;case 102:C=v[0];C[r||C.length]=!1;r=void 0;break;case 110:C=v[0];C[r||C.length]=null;r=void 0;break;case 116:C=v[0];C[r||C.length]=!0;r=void 0;break;case 123:C=v[0];v.unshift(C[r||C.length]=b(h[0]));h.unshift(null);r=void 0;break;case 125:v.shift(),h.shift()}}if(n){if(1!==v.length)throw Error(); -f=f[0]}else if(v.length)throw Error();return f}}();stjs.isArray=function(d){return"[object Array]"===stjs.toString.call(d)}; -stjs.typefy=function(d,a){function b(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function c(a){return"function"==typeof a?a:a.arguments?eval(a.arguments[0]):"string"==typeof a?eval(a):Object}function e(a,c){if(!a)return c;var e=stjs.converters[a.name||a];return e?e(c,a):b(a,c)}if(stjs.isArray(d)){for(var g=[],l=0;la?"0"+a:""+a}return e?""+e.getFullYear()+"-"+b(e.getMonth()+1)+"-"+b(e.getDate())+" "+b(e.getHours())+":"+b(e.getMinutes())+":"+b(e.getSeconds()):null},Enum:function(e,a){return null!=e?e.toString():null}}; +stjs.bind=function(e,a,b){var c=!1;null==a&&(a=e,e=null,c=!0);var d=null!=b;return function(){var f=arguments;d&&Array.prototype.splice.call(f,b,0,this);c&&(e=Array.prototype.shift.call(f));return"string"===typeof a?e[a].apply(e,f):a.apply(e,f)}};function exception(e){return e}function isEnum(e){return null!=e&&e.constructor==stjs.enumEntry} +stjs.parseJSON=function(){function e(a,b,c){return b?l[b]:String.fromCharCode(parseInt(c,16))}function a(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function b(b){return b?"function"==typeof b?new b:b.name?"Map"==b.name?{}:"Array"==b.name?[]:a(b.name):a(b):{}}function c(a){a=d.exec(a);return null!=a?a[0]:null}var d=/(?:false|true|null|[\{\}\[\]]|(?:-?\b(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\b)|(?:"(?:[^\0-\x08\x0a-\x1f"\\]|\\(?:["/\\bfnrt]|u[0-9A-Fa-f]{4}))*"))/g,f=/\\(?:([^u])|u(.{4}))/g, +l={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},h={},k=new String("");return function(d,g){var h,l=c(d),n=!1;"{"===l?h=b(g,null):"["===l?h=[]:(h=[],n=!0);var r,v=[h];g=[g];for(l=c(d);null!=l;l=c(d)){var C;switch(l.charCodeAt(0)){default:C=v[0];C[r||C.length]=+l;r=void 0;break;case 34:l=l.substring(1,l.length-1);-1!==l.indexOf("\\")&&(l=l.replace(f,e));C=v[0];if(!r)if(C instanceof Array)r=C.length;else{r=l||k;g[0]=C.constructor.$typeDescription?C.constructor.$typeDescription[r]:g[1].arguments[1]; +break}var q=g[0];if(q)var z=stjs.converters[q.name||q],l=z?z(l,q):a(q,l);C[r]=l;r=void 0;break;case 91:C=v[0];v.unshift(C[r||C.length]=[]);g.unshift(g[0].arguments[0]);r=void 0;break;case 93:v.shift();g.shift();break;case 102:C=v[0];C[r||C.length]=!1;r=void 0;break;case 110:C=v[0];C[r||C.length]=null;r=void 0;break;case 116:C=v[0];C[r||C.length]=!0;r=void 0;break;case 123:C=v[0];v.unshift(C[r||C.length]=b(g[0]));g.unshift(null);r=void 0;break;case 125:v.shift(),g.shift()}}if(n){if(1!==v.length)throw Error(); +h=h[0]}else if(v.length)throw Error();return h}}();stjs.isArray=function(e){return"[object Array]"===stjs.toString.call(e)}; +stjs.typefy=function(e,a){function b(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function c(a){return"function"==typeof a?a:a.arguments?eval(a.arguments[0]):"string"==typeof a?eval(a):Object}function d(a,c){if(!a)return c;var d=stjs.converters[a.name||a];return d?d(c,a):b(a,c)}if(stjs.isArray(e)){for(var f=[],l=0;lTask.lastFrame+e))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};d.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()},0)):null};d.asyncContinue=function(){var a=function(){Task.asyncContinue()};0Task.lastFrame+d))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};e.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()},0)):null};e.asyncContinue=function(){var a=function(){Task.asyncContinue()}; +0=this.counter}},{},{});if(document&&document.getElementsByTagName){var scripts=document.getElementsByTagName("script");window.scriptPath=scripts[scripts.length-1].src.substr(0,scripts[scripts.length-1].src.lastIndexOf("/"))+"/"} -function generateUUID(){var d=(new Date).getTime();window&&window.performance&&"function"===typeof window.performance.now&&(d+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=(d+16*Math.random())%16|0;d=Math.floor(d/16);return("x"==a?b:b&3|8).toString(16)})} -function base64ToBlob(d,a){a=a||"";d=forge.util.decode64(d);for(var b=d.length,c=Math.ceil(b/1024),e=Array(c),g=0;g=this.counter}},{},{});if(document&&document.getElementsByTagName){var scripts=document.getElementsByTagName("script");window.scriptPath=scripts[scripts.length-1].src.substr(0,scripts[scripts.length-1].src.lastIndexOf("/"))+"/"} +function generateUUID(){var e=(new Date).getTime();window&&window.performance&&"function"===typeof window.performance.now&&(e+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=(e+16*Math.random())%16|0;e=Math.floor(e/16);return("x"==a?b:b&3|8).toString(16)})} +function base64ToBlob(e,a){a=a||"";e=forge.util.decode64(e);for(var b=e.length,c=Math.ceil(b/1024),d=Array(c),f=0;fa;a++)EcRsaOaepAsyncWorker.createWorker(a)}};d.createWorker=function(a){EcRsaOaepAsyncWorker.q1.push([]);EcRsaOaepAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcRsaOaepAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcRsaOaepAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcRsaOaepAsyncWorker.q1[a].shift(),e=EcRsaOaepAsyncWorker.q2[a].shift();null!=b.error?null!=e&&e(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcRsaOaepAsyncWorker.q1[a].shift(); -var c=EcRsaOaepAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};d.encrypt=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.pk=a.toPem();g.text=forge.util.encodeUtf8(c);g.cmd="encryptRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.encrypt(a,c))};d.decrypt=function(a,c,e,d){if(EcCrypto.caching){var b= -null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){e(b);return}}EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.ppk=a.toPem();g.text=c;g.cmd="decryptRsaOaep";EcCrypto.caching?EcRsaOaepAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[a.toPem()+c]=forge.util.decodeUtf8(b);e(forge.util.decodeUtf8(b))}):EcRsaOaepAsyncWorker.q1[b].push(function(a){e(forge.util.decodeUtf8(a))}); -EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.decrypt(a,c))};d.sign=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.ppk=a.toPem();g.text=forge.util.encodeUtf8(c);g.cmd="signRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.sign(a,c))}; -d.signSha256=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.ppk=a.toPem();g.text=forge.util.encodeUtf8(c);g.cmd="signSha256RsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.signSha256(a,c))};d.verify=function(a,c,e,d,l){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b= -EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.pk=a.toPem();g.text=forge.util.encodeUtf8(c);g.signature=e;g.cmd="verifyRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(l);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else d(EcRsaOaep.verify(a,c,e))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}}, -{}),EcAesCtrAsyncWorker=function(){},EcAesCtrAsyncWorker=stjs.extend(EcAesCtrAsyncWorker,null,[],function(d,a){d.rotator=0;d.w=null;d.q1=null;d.q2=null;d.initWorker=function(){if(!(null==window&&(typeof self).equals("undefined")||void 0==Worker||null==Worker)&&EcRemote.async&&null==EcAesCtrAsyncWorker.w){EcAesCtrAsyncWorker.rotator=0;EcAesCtrAsyncWorker.q1=[];EcAesCtrAsyncWorker.q2=[];EcAesCtrAsyncWorker.w=[];for(var a=0;8>a;a++)EcAesCtrAsyncWorker.createWorker(a)}};d.createWorker=function(a){EcAesCtrAsyncWorker.q1.push([]); -EcAesCtrAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcAesCtrAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcAesCtrAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcAesCtrAsyncWorker.q1[a].shift(),e=EcAesCtrAsyncWorker.q2[a].shift();null!=b.error?null!=e&&e(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcAesCtrAsyncWorker.q1[a].shift();var c=EcAesCtrAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};d.encrypt=function(a, -c,e,d,l){EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){var b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var g={};g.secret=c;g.iv=e;g.text=forge.util.encodeUtf8(a);g.cmd="encryptAesCtr";EcAesCtrAsyncWorker.q1[b].push(d);EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(g)}else d(EcAesCtr.encrypt(a,c,e))};d.decrypt=function(a,c,e,d,l){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[c+e+a];if(null!=b){d(b);return}}EcAesCtrAsyncWorker.initWorker(); -if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var g={};g.secret=c;g.iv=e;g.text=a;g.cmd="decryptAesCtr";EcCrypto.caching?EcAesCtrAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[c+e+a]=forge.util.decodeUtf8(b);d(forge.util.decodeUtf8(b))}):EcAesCtrAsyncWorker.q1[b].push(function(a){d(forge.util.decodeUtf8(a))});EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(g)}else d(EcAesCtr.decrypt(a,c,e))}},{w:{name:"Array", -arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}},{}),EcRsaOaepAsync=function(){},EcRsaOaepAsync=stjs.extend(EcRsaOaepAsync,null,[],function(d,a){d.encrypt=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.encrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.encrypt(a,c,e,d); -else{var b=[];b.push("encrypt");var g={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.key=b;window.crypto.subtle.encrypt(g,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)},d):window.crypto.subtle.encrypt(g,a.key,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.decrypt=function(a,c,e,d){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){e(b); -return}}if(0==EcRemote.async)e(EcRsaOaep.decrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.decrypt(a,c,e,d);else{b=[];b.push("decrypt");var g={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.key=b;window.crypto.subtle.decrypt(g,b,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+ -c]=b);e(b)},d)},d):window.crypto.subtle.decrypt(g,a.key,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+c]=b);e(b)},d)}};d.sign=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.sign(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,e,d);else{var b=[];b.push("sign");var g={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk", -a.toJwk(),g,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(g,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)},d):window.crypto.subtle.sign(g,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.signSha256=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.signSha256(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,e,d);else{var b= -[];b.push("sign");var g={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(g,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)},d):window.crypto.subtle.sign(g,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.verify=function(a,c,e,d,l){if(0==EcRemote.async)d(EcRsaOaep.verify(a,c,e));else if(EcBrowserDetection.isIeOrEdge()|| -null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.verify(a,c,e,d,l);else{var b=[];b.push("verify");var g={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.verify(g,b,base64.decode(e),str2ab(forge.util.encodeUtf8(c))).then(function(a){d(a)},l)},l):window.crypto.subtle.verify(g,a.signKey,base64.decode(e),str2ab(forge.util.encodeUtf8(c))).then(function(a){d(a)}, -l)}}},{},{}),EcAesCtrAsync=function(){},EcAesCtrAsync=stjs.extend(EcAesCtrAsync,null,[],function(d,a){d.encrypt=function(a,c,e,d,l){if(null==window||null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.encrypt(a,c,e,d,l);else if(0==EcRemote.async)d(EcAesCtr.encrypt(a,c,e));else{var b=[];b.push("encrypt","decrypt");var g={name:"AES-CTR"};g.counter=base64.decode(e);g.length=128;var n;n=str2ab(a);window.crypto.subtle.importKey("raw",base64.decode(c),g,!1,b).then(function(a){window.crypto.subtle.encrypt(g, -a,n).then(function(a){d(base64.encode(a))},l)},l)}};d.decrypt=function(a,c,e,d,l){if(EcCrypto.caching){var b=EcCrypto.decryptionCache[c+e+a];if(null!=b){d(b);return}}if(null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.decrypt(a,c,e,d,l);else{0==EcRemote.async&&d(EcAesCtr.decrypt(a,c,e));b=[];b.push("encrypt","decrypt");var g={name:"AES-CTR"};g.counter=base64.decode(e);g.length=128;var n;n=base64.decode(a);window.crypto.subtle.importKey("raw",base64.decode(c),g,!1,b).then(function(b){window.crypto.subtle.decrypt(g, -b,n).then(function(b){EcCrypto.decryptionCache[c+e+a]=ab2str(b);d(ab2str(b))},l)},l)}}},{},{}),EcLinkedData=function(d,a){this.setContextAndType(d,a)},EcLinkedData=stjs.extend(EcLinkedData,null,[],function(d,a){d.atProperties="id type schema context signature graph owner reader encryptedType encryptedContext".split(" ");a.type=null;a.context=null;d.isAtProperty=function(a){for(var b=0;ba;a++)EcRsaOaepAsyncWorker.createWorker(a)}};e.createWorker=function(a){EcRsaOaepAsyncWorker.q1.push([]);EcRsaOaepAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcRsaOaepAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcRsaOaepAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcRsaOaepAsyncWorker.q1[a].shift(),d=EcRsaOaepAsyncWorker.q2[a].shift();null!=b.error?null!=d&&d(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcRsaOaepAsyncWorker.q1[a].shift(); +var c=EcRsaOaepAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};e.encrypt=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.pk=a.toPem();f.text=forge.util.encodeUtf8(c);f.cmd="encryptRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.encrypt(a,c))};e.decrypt=function(a,c,d,e){if(EcCrypto.caching){var b= +null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){d(b);return}}EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.ppk=a.toPem();f.text=c;f.cmd="decryptRsaOaep";EcCrypto.caching?EcRsaOaepAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[a.toPem()+c]=forge.util.decodeUtf8(b);d(forge.util.decodeUtf8(b))}):EcRsaOaepAsyncWorker.q1[b].push(function(a){d(forge.util.decodeUtf8(a))}); +EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.decrypt(a,c))};e.sign=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.ppk=a.toPem();f.text=forge.util.encodeUtf8(c);f.cmd="signRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.sign(a,c))}; +e.signSha256=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.ppk=a.toPem();f.text=forge.util.encodeUtf8(c);f.cmd="signSha256RsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.signSha256(a,c))};e.verify=function(a,c,d,e,l){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b= +EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.pk=a.toPem();f.text=forge.util.encodeUtf8(c);f.signature=d;f.cmd="verifyRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(l);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else e(EcRsaOaep.verify(a,c,d))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}}, +{}),EcAesCtrAsyncWorker=function(){},EcAesCtrAsyncWorker=stjs.extend(EcAesCtrAsyncWorker,null,[],function(e,a){e.rotator=0;e.w=null;e.q1=null;e.q2=null;e.initWorker=function(){if(!(null==window&&(typeof self).equals("undefined")||void 0==Worker||null==Worker)&&EcRemote.async&&null==EcAesCtrAsyncWorker.w){EcAesCtrAsyncWorker.rotator=0;EcAesCtrAsyncWorker.q1=[];EcAesCtrAsyncWorker.q2=[];EcAesCtrAsyncWorker.w=[];for(var a=0;8>a;a++)EcAesCtrAsyncWorker.createWorker(a)}};e.createWorker=function(a){EcAesCtrAsyncWorker.q1.push([]); +EcAesCtrAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcAesCtrAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcAesCtrAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcAesCtrAsyncWorker.q1[a].shift(),d=EcAesCtrAsyncWorker.q2[a].shift();null!=b.error?null!=d&&d(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcAesCtrAsyncWorker.q1[a].shift();var c=EcAesCtrAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};e.encrypt=function(a, +c,d,e,l){EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){var b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var f={};f.secret=c;f.iv=d;f.text=forge.util.encodeUtf8(a);f.cmd="encryptAesCtr";EcAesCtrAsyncWorker.q1[b].push(e);EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(f)}else e(EcAesCtr.encrypt(a,c,d))};e.decrypt=function(a,c,d,e,l){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[c+d+a];if(null!=b){e(b);return}}EcAesCtrAsyncWorker.initWorker(); +if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var f={};f.secret=c;f.iv=d;f.text=a;f.cmd="decryptAesCtr";EcCrypto.caching?EcAesCtrAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[c+d+a]=forge.util.decodeUtf8(b);e(forge.util.decodeUtf8(b))}):EcAesCtrAsyncWorker.q1[b].push(function(a){e(forge.util.decodeUtf8(a))});EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(f)}else e(EcAesCtr.decrypt(a,c,d))}},{w:{name:"Array", +arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}},{}),EcRsaOaepAsync=function(){},EcRsaOaepAsync=stjs.extend(EcRsaOaepAsync,null,[],function(e,a){e.encrypt=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.encrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.encrypt(a,c,d,e); +else{var b=[];b.push("encrypt");var f={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.key=b;window.crypto.subtle.encrypt(f,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)},e):window.crypto.subtle.encrypt(f,a.key,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.decrypt=function(a,c,d,e){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){d(b); +return}}if(0==EcRemote.async)d(EcRsaOaep.decrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.decrypt(a,c,d,e);else{b=[];b.push("decrypt");var f={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.key=b;window.crypto.subtle.decrypt(f,b,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+ +c]=b);d(b)},e)},e):window.crypto.subtle.decrypt(f,a.key,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+c]=b);d(b)},e)}};e.sign=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.sign(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,d,e);else{var b=[];b.push("sign");var f={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk", +a.toJwk(),f,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(f,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)},e):window.crypto.subtle.sign(f,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.signSha256=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.signSha256(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,d,e);else{var b= +[];b.push("sign");var f={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(f,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)},e):window.crypto.subtle.sign(f,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.verify=function(a,c,d,e,l){if(0==EcRemote.async)e(EcRsaOaep.verify(a,c,d));else if(EcBrowserDetection.isIeOrEdge()|| +null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.verify(a,c,d,e,l);else{var b=[];b.push("verify");var f={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.verify(f,b,base64.decode(d),str2ab(forge.util.encodeUtf8(c))).then(function(a){e(a)},l)},l):window.crypto.subtle.verify(f,a.signKey,base64.decode(d),str2ab(forge.util.encodeUtf8(c))).then(function(a){e(a)}, +l)}}},{},{}),EcAesCtrAsync=function(){},EcAesCtrAsync=stjs.extend(EcAesCtrAsync,null,[],function(e,a){e.encrypt=function(a,c,d,e,l){if(null==window||null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.encrypt(a,c,d,e,l);else if(0==EcRemote.async)e(EcAesCtr.encrypt(a,c,d));else{var b=[];b.push("encrypt","decrypt");var f={name:"AES-CTR"};f.counter=base64.decode(d);f.length=128;var n;n=str2ab(a);window.crypto.subtle.importKey("raw",base64.decode(c),f,!1,b).then(function(a){window.crypto.subtle.encrypt(f, +a,n).then(function(a){e(base64.encode(a))},l)},l)}};e.decrypt=function(a,c,d,e,l){if(EcCrypto.caching){var b=EcCrypto.decryptionCache[c+d+a];if(null!=b){e(b);return}}if(null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.decrypt(a,c,d,e,l);else{0==EcRemote.async&&e(EcAesCtr.decrypt(a,c,d));b=[];b.push("encrypt","decrypt");var f={name:"AES-CTR"};f.counter=base64.decode(d);f.length=128;var n;n=base64.decode(a);window.crypto.subtle.importKey("raw",base64.decode(c),f,!1,b).then(function(b){window.crypto.subtle.decrypt(f, +b,n).then(function(b){EcCrypto.decryptionCache[c+d+a]=ab2str(b);e(ab2str(b))},l)},l)}}},{},{}),EcLinkedData=function(e,a){this.setContextAndType(e,a)},EcLinkedData=stjs.extend(EcLinkedData,null,[],function(e,a){e.atProperties="id type schema context signature graph owner reader encryptedType encryptedContext".split(" ");a.type=null;a.context=null;e.isAtProperty=function(a){for(var b=0;b(new Date).getTime()+a)return b[1];a+=2E4}b=[];for(var d= -0;d(new Date).getTime()+a){e(g[1]);return}a+= -2E4}var k=a;(new EcAsyncHelper).each(EcIdentityManager.ids,function(a,e){EcIdentityManager.createSignatureAsync(k,c,a.ppk,function(a){b.push(a.atIfy());e()},function(a){d(a);e()})},function(a){var d=JSON.stringify(b);EcIdentityManager.signatureSheetCaching&&(a=[],a[0]=(new Date).getTime()+k,a[1]=d,EcIdentityManager.signatureSheetCache[c]=a);e(d)})}else a=EcIdentityManager.signatureSheet(a,c),null!=e&&e(a)};d.createSignature=function(a,c,e){var b=new EbacSignature;b.owner=e.toPk().toPem();b.expiry= -(new Date).getTime()+a;b.server=c;b.signature=EcRsaOaep.sign(e,b.toJson());return b};d.createSignatureAsync=function(a,c,e,d,l){var b=new EbacSignature;b.owner=e.toPk().toPem();b.expiry=(new Date).getTime()+a;b.server=c;EcRsaOaepAsync.sign(e,b.toJson(),function(a){b.signature=a;d(b)},l)};d.getPpk=function(a){a=a.toPem();for(var b=0;bb.usernameSalt.length?c("Insufficient length on Username Salt"):(b.usernameIterations=stjs.trunc(e.usernameIterations),1E3>b.usernameIterations?c("Insufficient iterations on Username Hash"): -(b.usernameWidth=stjs.trunc(e.usernameLength),64!=b.usernameWidth?c("Username Hash required to be length 64."):(b.passwordSalt=e.passwordSalt,16>b.passwordSalt.length?c("Insufficient length on Password Salt"):(b.passwordIterations=stjs.trunc(e.passwordIterations),1E3>b.passwordIterations?c("Insufficient iterations on Password Hash"):(b.passwordWidth=stjs.trunc(e.passwordLength),64!=b.passwordWidth?c("Password Hash required to be length 64."):(b.secretSalt=e.secretSalt,16>b.secretSalt.length?c("Insufficient length on Secret Salt"): -(b.secretIterations=stjs.trunc(e.secretIterations),1E3>b.secretIterations?c("Insufficient iterations on Secret Hash"):(b.configured=!0,null!=a&&a(e)))))))))},function(a){b.configured=!1;null!=c?c(a):console.error(a)})};a.clear=function(){this.token=this.pad=this.secretWithSalt=this.passwordWithSalt=this.usernameWithSalt=null};a.setDefaultIdentityManagementServer=function(a){this.server=a};a.startLogin=function(a,c){if(!this.configured)throw new RuntimeException("Remote Identity not configured."); -this.usernameWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt,this.usernameIterations,this.usernameWidth));this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));var b=[];b.push(a,c);a=this.splicePasswords(b);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32))};a.changePassword=function(a,c,e){var b=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt, -this.usernameIterations,this.usernameWidth));if(this.usernameWithSalt!=b)throw new RuntimeException("Username does not match. Aborting password change.");c=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));if(this.passwordWithSalt!=c)throw new RuntimeException("Old password does not match. Aborting password change.");this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(e,this.passwordSalt,this.passwordIterations,this.passwordWidth));c= -[];c.push(a,e);a=this.splicePasswords(c);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32));return!0};a.fetch=function(a,c){if(this.configured)if(null==this.usernameWithSalt||null==this.passwordWithSalt||null==this.secretWithSalt)c("Please log in before performing this operation.");else{var b=new EbacCredentialRequest;b.username=this.usernameWithSalt;b.password=this.passwordWithSalt;var d=new FormData;d.append("credentialRequest",b.toJson());var l= -this;EcRemote.postExpectingObject(this.server,"sky/id/login",d,function(b){l.pad=b.pad;l.token=b.token;if(null!=b.credentials)for(var c=0;c=a[l].length||(b+=a[l].charAt(e),d=!0);if(!d)break}return b}},{},{}),EcContactGrant=function(){EbacContactGrant.call(this)},EcContactGrant=stjs.extend(EcContactGrant,EbacContactGrant, -[],function(d,a){a.valid=function(){if(!this.verify()||this.invalid())return!1;for(var a=!1,c=0;c -c||d!=c)try{b=this.tryDecryptSecretByKeyAndIndex(a,d)}catch(l){}if(null!=b)return b}}return null};a.decryptSecretAsync=function(a,c){var b=[],d=[];if(null!=this.owner)for(var l=0;lc||c>=this.secret.length? -this.decryptSecretsByKeyAsync(a,e,d):EcRsaOaepAsync.decrypt(a,this.secret[c],function(c){EcLinkedData.isProbablyJson(c)?e(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(c))):b.decryptSecretsByKeyAsync(a,e,d)},function(c){b.decryptSecretsByKeyAsync(a,e,d)}):d("Secret field is empty.")};a.decryptSecretsByKeyAsync=function(a,c,e){var b=new EcAsyncHelper;b.each(this.secret,function(e,d){EcRsaOaepAsync.decrypt(a,e,function(a){-1!=b.counter&&(EcLinkedData.isProbablyJson(a)?(b.stop(),c(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(a)))): -d())},function(a){d()})},function(a){e("Could not find decryption key.")})};a.isAnEncrypted=function(a){if(null==this.encryptedType)return!1;var b=a.split("/");return this.encryptedType==a||this.encryptedType==b[b.length-1]};a.addReader=function(a){this.addReaderBasic(a);var b=this.decryptSecret();null==b?console.error("Cannot add a Reader if you don't know the secret"):EcArray.setAdd(this.secret,EcRsaOaep.encrypt(a,b.toEncryptableJson()))};a.addReaderBasic=function(a){a=a.toPem();null==this.reader&& +EcIdentity=stjs.extend(EcIdentity,null,[],function(e,a){e.identityCounter=1;a.ppk=null;a.displayName=null;a.source=null;e.fromCredential=function(a,c,d){var b=new EcIdentity;b.ppk=EcPpk.fromPem(EcAesCtr.decrypt(a.ppk,c,a.iv));b.source=d;null!=a.displayName&&null!=a.displayNameIv&&(b.displayName=EcAesCtr.decrypt(a.displayName,c,a.iv));return b};a.equals=function(a){return stjs.isInstanceOf(a.constructor,EcIdentity)?null==this.ppk||null==a.ppk?!1:this.ppk.toPem().equals(a.ppk.toPem()):Object.prototype.equals.call(this, +a)};a.toCredential=function(a){var b=new EbacCredential;b.iv=EcAes.newIv(16);b.ppk=EcAesCtr.encrypt(this.ppk.toPem(),a,b.iv);b.displayNameIv=EcAes.newIv(16);b.displayName=EcAesCtr.encrypt(this.displayName,a,b.iv);return b};a.toContact=function(){var a=new EcContact;a.displayName=this.displayName;a.pk=this.ppk.toPk();a.source=this.source;return a}},{ppk:"EcPpk"},{}),EcIdentityManager=function(){},EcIdentityManager=stjs.extend(EcIdentityManager,null,[],function(e,a){e.ids=[];e.contacts=[];e.onIdentityChanged= +null;e.onContactChanged=null;e.signatureSheetCaching=!1;e.signatureSheetCache={};e.async=!0;e.main=function(a){EcIdentityManager.readContacts()};e.identityChanged=function(a){if(null!=EcIdentityManager.onIdentityChanged)EcIdentityManager.onIdentityChanged(a)};e.contactChanged=function(a){if(null!=EcIdentityManager.onContactChanged)EcIdentityManager.onContactChanged(a);EcIdentityManager.saveContacts()};e.readContacts=function(){var a=localStorage.contacts;if(null!=a)for(var a=JSON.parse(a),c=0;c(new Date).getTime()+a)return b[1];a+=2E4}b=[];for(var e= +0;e(new Date).getTime()+a){d(f[1]);return}a+= +2E4}var k=a;(new EcAsyncHelper).each(EcIdentityManager.ids,function(a,d){EcIdentityManager.createSignatureAsync(k,c,a.ppk,function(a){b.push(a.atIfy());d()},function(a){e(a);d()})},function(a){var e=JSON.stringify(b);EcIdentityManager.signatureSheetCaching&&(a=[],a[0]=(new Date).getTime()+k,a[1]=e,EcIdentityManager.signatureSheetCache[c]=a);d(e)})}else a=EcIdentityManager.signatureSheet(a,c),null!=d&&d(a)};e.createSignature=function(a,c,d){var b=new EbacSignature;b.owner=d.toPk().toPem();b.expiry= +(new Date).getTime()+a;b.server=c;b.signature=EcRsaOaep.sign(d,b.toJson());return b};e.createSignatureAsync=function(a,c,d,e,l){var b=new EbacSignature;b.owner=d.toPk().toPem();b.expiry=(new Date).getTime()+a;b.server=c;EcRsaOaepAsync.sign(d,b.toJson(),function(a){b.signature=a;e(b)},l)};e.getPpk=function(a){a=a.toPem();for(var b=0;bb.usernameSalt.length?c("Insufficient length on Username Salt"):(b.usernameIterations=stjs.trunc(d.usernameIterations),1E3>b.usernameIterations?c("Insufficient iterations on Username Hash"): +(b.usernameWidth=stjs.trunc(d.usernameLength),64!=b.usernameWidth?c("Username Hash required to be length 64."):(b.passwordSalt=d.passwordSalt,16>b.passwordSalt.length?c("Insufficient length on Password Salt"):(b.passwordIterations=stjs.trunc(d.passwordIterations),1E3>b.passwordIterations?c("Insufficient iterations on Password Hash"):(b.passwordWidth=stjs.trunc(d.passwordLength),64!=b.passwordWidth?c("Password Hash required to be length 64."):(b.secretSalt=d.secretSalt,16>b.secretSalt.length?c("Insufficient length on Secret Salt"): +(b.secretIterations=stjs.trunc(d.secretIterations),1E3>b.secretIterations?c("Insufficient iterations on Secret Hash"):(b.configured=!0,null!=a&&a(d)))))))))},function(a){b.configured=!1;null!=c?c(a):console.error(a)})};a.clear=function(){this.token=this.pad=this.secretWithSalt=this.passwordWithSalt=this.usernameWithSalt=null};a.setDefaultIdentityManagementServer=function(a){this.server=a};a.startLogin=function(a,c){if(!this.configured)throw new RuntimeException("Remote Identity not configured."); +this.usernameWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt,this.usernameIterations,this.usernameWidth));this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));var b=[];b.push(a,c);a=this.splicePasswords(b);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32))};a.changePassword=function(a,c,d){var b=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt, +this.usernameIterations,this.usernameWidth));if(this.usernameWithSalt!=b)throw new RuntimeException("Username does not match. Aborting password change.");c=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));if(this.passwordWithSalt!=c)throw new RuntimeException("Old password does not match. Aborting password change.");this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(d,this.passwordSalt,this.passwordIterations,this.passwordWidth));c= +[];c.push(a,d);a=this.splicePasswords(c);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32));return!0};a.fetch=function(a,c){if(this.configured)if(null==this.usernameWithSalt||null==this.passwordWithSalt||null==this.secretWithSalt)c("Please log in before performing this operation.");else{var b=new EbacCredentialRequest;b.username=this.usernameWithSalt;b.password=this.passwordWithSalt;var e=new FormData;e.append("credentialRequest",b.toJson());var l= +this;EcRemote.postExpectingObject(this.server,"sky/id/login",e,function(b){l.pad=b.pad;l.token=b.token;if(null!=b.credentials)for(var c=0;c=a[l].length||(b+=a[l].charAt(d),e=!0);if(!e)break}return b}},{},{}),EcContactGrant=function(){EbacContactGrant.call(this)},EcContactGrant=stjs.extend(EcContactGrant,EbacContactGrant, +[],function(e,a){a.valid=function(){if(!this.verify()||this.invalid())return!1;for(var a=!1,c=0;c +c||e!=c)try{b=this.tryDecryptSecretByKeyAndIndex(a,e)}catch(l){}if(null!=b)return b}}return null};a.decryptSecretAsync=function(a,c){var b=[],e=[];if(null!=this.owner)for(var l=0;lc||c>=this.secret.length? +this.decryptSecretsByKeyAsync(a,d,e):EcRsaOaepAsync.decrypt(a,this.secret[c],function(c){EcLinkedData.isProbablyJson(c)?d(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(c))):b.decryptSecretsByKeyAsync(a,d,e)},function(c){b.decryptSecretsByKeyAsync(a,d,e)}):e("Secret field is empty.")};a.decryptSecretsByKeyAsync=function(a,c,d){var b=new EcAsyncHelper;b.each(this.secret,function(d,e){EcRsaOaepAsync.decrypt(a,d,function(a){-1!=b.counter&&(EcLinkedData.isProbablyJson(a)?(b.stop(),c(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(a)))): +e())},function(a){e()})},function(a){d("Could not find decryption key.")})};a.isAnEncrypted=function(a){if(null==this.encryptedType)return!1;var b=a.split("/");return this.encryptedType==a||this.encryptedType==b[b.length-1]};a.addReader=function(a){this.addReaderBasic(a);var b=this.decryptSecret();null==b?console.error("Cannot add a Reader if you don't know the secret"):EcArray.setAdd(this.secret,EcRsaOaep.encrypt(a,b.toEncryptableJson()))};a.addReaderBasic=function(a){a=a.toPem();null==this.reader&& (this.reader=[]);EcArray.has(this.reader,a)||null!=this.owner&&EcArray.has(this.owner,a)||EcArray.setAdd(this.reader,a)};a.removeReader=function(a){var b=this.decryptSecret();a=a.toPem();null!=this.reader&&EcArray.setRemove(this.reader,a);if(null==b)console.error("Cannot remove a Reader if you don't know the secret");else{this.secret=[];if(null!=this.owner)for(a=0;a -(new Date).getTime()){setTimeout(function(){EcRepository.get(b,c,e)},100);return}EcRepository.fetching[a]=(new Date).getTime()+6E4}}if(!EcRepository.shouldTryUrl(a))if(1==EcRepository.repos.length)a=EcRemoteLinkedData.veryShortId(EcRepository.repos[0].selectedServer,EcCrypto.md5(a));else{EcRepository.find(a,"Could not locate object. May be due to EcRepository.alwaysTryUrl flag.",{},0,c,e);return}var d=new FormData,h=a;if(EcRepository.unsigned)EcRemote.getExpectingObject(h,null,function(a){EcRepository.getHandleData(a, -b,c,e,h)},function(a){EcRepository.find(b,a,{},0,c,e)});else{var k=EcRepository.setOffset(a);EcIdentityManager.signatureSheetAsync(6E4+k,a,function(a){null!=EcRepository.cache[b]?(delete EcRepository.fetching[b],c(EcRepository.cache[b])):(d.append("signatureSheet",a),EcRemote.postExpectingObject(h,null,d,function(a){EcRepository.getHandleData(a,b,c,e,h)},function(a){EcRepository.find(b,a,{},0,c,e)}))},e)}}}};d.setOffset=function(a){for(var b=0,e=0;eEcRepository.repos.length||null==EcRepository.repos[d])delete EcRepository.fetching[a],null!=h&&h(c);else{var b=EcRepository.repos[d];null==b.selectedServer?EcRepository.find(a,c,e,d+1,l,h):1==e[b.selectedServer]?EcRepository.find(a,c,e,d+1,l,h):(e[b.selectedServer]=!0,b.search('@id:"'+a+'"',null,function(d){if(null!=d&&0!=d.length){for(var g= -!1,k=0;kEcRepository.repos.length||null==EcRepository.repos[d])return delete EcRepository.fetching[a],null;var b=EcRepository.repos[d];if(null==b.selectedServer)return EcRepository.findBlocking(a, -c,e,d+1);1==e[b.selectedServer]&&EcRepository.findBlocking(a,c,e,d+1);e[b.selectedServer]=!0;b=b.searchBlocking('@id:"'+a+'"');if(null!=b&&0!=b.length)for(var g=0;g +(new Date).getTime()){setTimeout(function(){EcRepository.get(b,c,d)},100);return}EcRepository.fetching[a]=(new Date).getTime()+6E4}}if(!EcRepository.shouldTryUrl(a))if(1==EcRepository.repos.length)a=EcRemoteLinkedData.veryShortId(EcRepository.repos[0].selectedServer,EcCrypto.md5(a));else{EcRepository.find(a,"Could not locate object. May be due to EcRepository.alwaysTryUrl flag.",{},0,c,d);return}var e=new FormData,h=a;if(EcRepository.unsigned)EcRemote.getExpectingObject(h,null,function(a){EcRepository.getHandleData(a, +b,c,d,h)},function(a){EcRepository.find(b,a,{},0,c,d)});else{var k=EcRepository.setOffset(a);EcIdentityManager.signatureSheetAsync(6E4+k,a,function(a){null!=EcRepository.cache[b]?(delete EcRepository.fetching[b],c(EcRepository.cache[b])):(e.append("signatureSheet",a),EcRemote.postExpectingObject(h,null,e,function(a){EcRepository.getHandleData(a,b,c,d,h)},function(a){EcRepository.find(b,a,{},0,c,d)}))},d)}}}};e.setOffset=function(a){for(var b=0,d=0;dEcRepository.repos.length||null==EcRepository.repos[e])delete EcRepository.fetching[a],null!=h&&h(c);else{var b=EcRepository.repos[e];null==b.selectedServer?EcRepository.find(a,c,d,e+1,l,h):1==d[b.selectedServer]?EcRepository.find(a,c,d,e+1,l,h):(d[b.selectedServer]=!0,b.search('@id:"'+a+'"',null,function(e){if(null!=e&&0!=e.length){for(var f= +!1,k=0;kEcRepository.repos.length||null==EcRepository.repos[e])return delete EcRepository.fetching[a],null;var b=EcRepository.repos[e];if(null==b.selectedServer)return EcRepository.findBlocking(a, +c,d,e+1);1==d[b.selectedServer]&&EcRepository.findBlocking(a,c,d,e+1);d[b.selectedServer]=!0;b=b.searchBlocking('@id:"'+a+'"');if(null!=b&&0!=b.length)for(var f=0;f(new Date).getTime()){setTimeout(function(){m.searchWithParams(a,c,e,d,l)},100);return}EcRepository.fetching[f]=(new Date).getTime()+6E4}}else f=null;var p=new FormData; -p.append("data",b);null!=n&&p.append("searchParams",JSON.stringify(n));m=this;1==EcRepository.unsigned||1==g.unsigned?(p.append("signatureSheet","[]"),EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];m.handleSearchResults(a,e,d,l)},function(a){null!=f&&delete EcRepository.fetching[f];null!=l&&l(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer, -function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];m.handleSearchResults(a,e,d,l)},function(a){null!=f&&delete EcRepository.fetching[f];null!=l&&l(a)})},l)}};a.searchWithParamsBlocking=function(a,c){var b;null==c&&(c={});var d={};b=this.searchParamProps(a,c,d);null!=c.fields&&(d.fields=c.fields);a=EcRemote.async;EcRemote.async=!1;var l; -l=JSON.stringify(d)+b;if(EcRepository.cachingSearch&&null!=EcRepository.cache[l])return this.handleSearchResults(EcRepository.cache[l],null,null,null);var h=new FormData;h.append("data",b);null!=d&&h.append("searchParams",JSON.stringify(d));1==EcRepository.unsigned||1==c.unsigned?(h.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l]; -EcRepository.cache[l]=null})):(c=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),h.append("signatureSheet",c),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null}));c=this.handleSearchResults(EcRepository.cache[l],null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[l];EcRemote.async= -a;return c};a.searchParamProps=function(a,c,e){null!=c.start&&(e.start=c.start);null!=c.size&&(e.size=c.size);null!=c.types&&(e.types=c.types);null!=c.sort&&(e.sort=c.sort);null!=c.track_scores&&(e.track_scores=c.track_scores);null!=c.index_hint&&(e.index_hint=c.index_hint);if(null!=c.ownership)if(c=c.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==c)a+=" AND (_missing_:@owner)";else if("owned"==c)a+=" AND (_exists_:@owner)";else if("me"==c){a+=" AND (";for(c=0;c(new Date).getTime()){setTimeout(function(){m.searchWithParams(a,c,d,e,l)},100);return}EcRepository.fetching[g]=(new Date).getTime()+6E4}}else g=null;var p=new FormData;p.append("data",b);null!=n&&p.append("searchParams",JSON.stringify(n));m=this;1==EcRepository.unsigned||1==f.unsigned?(p.append("signatureSheet","[]"), +EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[g]=a);null!=g&&delete EcRepository.fetching[g];m.handleSearchResults(a,d,e,l)},function(a){null!=g&&delete EcRepository.fetching[g];null!=l&&l(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer,function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[g]= +a);null!=g&&delete EcRepository.fetching[g];m.handleSearchResults(a,d,e,l)},function(a){null!=g&&delete EcRepository.fetching[g];null!=l&&l(a)})},l)}};a.searchWithParamsBlocking=function(a,c){var b;null==c&&(c={});var e={};b=this.searchParamProps(a,c,e);null!=c.fields&&(e.fields=c.fields);a=EcRemote.async;EcRemote.async=!1;var l;l=JSON.stringify(e)+b;if(EcRepository.cachingSearch&&null!=EcRepository.cache[l])return this.handleSearchResults(EcRepository.cache[l],null,null,null);var h=new FormData; +h.append("data",b);null!=e&&h.append("searchParams",JSON.stringify(e));1==EcRepository.unsigned||1==c.unsigned?(h.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null})):(c=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),h.append("signatureSheet",c),EcRemote.postExpectingObject(this.selectedServer, +"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null}));c=this.handleSearchResults(EcRepository.cache[l],null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[l];EcRemote.async=a;return c};a.searchParamProps=function(a,c,d){null!=c.start&&(d.start=c.start);null!=c.size&&(d.size=c.size);null!=c.types&&(d.types=c.types);null!=c.sort&&(d.sort=c.sort);null!=c.track_scores&& +(d.track_scores=c.track_scores);null!=c.index_hint&&(d.index_hint=c.index_hint);if(null!=c.ownership)if(c=c.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==c)a+=" AND (_missing_:@owner)";else if("owned"==c)a+=" AND (_exists_:@owner)";else if("me"==c){a+=" AND (";for(c=0;c=this.relation.length&&null!=e?e(""):EcAlignment.get(this.relation[c],function(h){null!=h&&h.source==b||h.target==b||h.source==a||h.target==a?(g.relation.splice(c,1),g.removeRelationshipsThatInclude(a,c,e,d)):g.removeRelationshipsThatInclude(a,c+1,e,d)},function(b){g.removeRelationshipsThatInclude(a,c+1,e,d)})}; -a.removeLevelsThatInclude=function(a,c,e,d){var b=EcRemoteLinkedData.trimVersionFromUrl(a),g=this;c>=this.level.length&&null!=e?e(""):EcLevel.get(this.level[c],function(h){h.competency==b||h.competency==a?(g.level.splice(c,1),g.removeLevelsThatInclude(a,c,e,d)):g.removeLevelsThatInclude(a,c+1,e,d)},function(b){g.removeLevelsThatInclude(a,c+1,e,d)})};a.addRelation=function(a){a=EcRemoteLinkedData.trimVersionFromUrl(a);null==this.relation&&(this.relation=[]);for(var b=0;b=this.relation.length&&null!=d?d(""):EcAlignment.get(this.relation[c],function(h){null!=h&&h.source==b||h.target==b||h.source==a||h.target==a?(f.relation.splice(c,1),f.removeRelationshipsThatInclude(a,c,d,e)):f.removeRelationshipsThatInclude(a,c+1,d,e)},function(b){f.removeRelationshipsThatInclude(a,c+1,d,e)})}; +a.removeLevelsThatInclude=function(a,c,d,e){var b=EcRemoteLinkedData.trimVersionFromUrl(a),f=this;c>=this.level.length&&null!=d?d(""):EcLevel.get(this.level[c],function(h){h.competency==b||h.competency==a?(f.level.splice(c,1),f.removeLevelsThatInclude(a,c,d,e)):f.removeLevelsThatInclude(a,c+1,d,e)},function(b){f.removeLevelsThatInclude(a,c+1,d,e)})};a.addRelation=function(a){a=EcRemoteLinkedData.trimVersionFromUrl(a);null==this.relation&&(this.relation=[]);for(var b=0;bd)r("Name Index not Set");else{var b=[];Papa.parse(a,{encoding:"UTF-8",complete:function(a){a=a.data;for(var g=a[0],w=1;wd?f("Source Index not Set"):null==l||0>l?f("Relation Type Index not Set"):null==h||0>h?f("Destination Index not Set"):Papa.parse(e,{encoding:"UTF-8",complete:function(e){e=e.data;for(var g=1;ge)r("Name Index not Set");else{var b=[];Papa.parse(a,{encoding:"UTF-8",complete:function(a){a=a.data;for(var f=a[0],w=1;we?g("Source Index not Set"):null== +l||0>l?g("Relation Type Index not Set"):null==h||0>h?g("Destination Index not Set"):Papa.parse(d,{encoding:"UTF-8",complete:function(d){d=d.data;for(var f=1;fa?1:0=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS);a>=PapCompetencyNetwork.HIGH_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.HIGH_CONFLICT_CLASS);return b};a.getDependencies=function(){return this.dependencies};a.setDependencies=function(a){this.dependencies=a};a.getActivations=function(){return this.activations};a.setActivations=function(a){this.activations= a};a.getAlphas=function(){return this.alphas};a.setAlphas=function(a){this.alphas=a};a.getBetas=function(){return this.betas};a.setBetas=function(a){this.betas=a};a.getUpdated=function(){return this.updated};a.setUpdated=function(a){this.updated=a};a.getNumberNodes=function(){return this.numberNodes};a.setNumberNodes=function(a){this.numberNodes=a}},{dependencies:{name:"Map",arguments:[null,{name:"Map",arguments:[null,{name:"Array",arguments:["PapDependency"]}]}]},activations:{name:"Array",arguments:[null]}, -alphas:{name:"Array",arguments:[null]},betas:{name:"Array",arguments:[null]},updated:{name:"Array",arguments:[null]}},{}),PapAssertion=function(d,a,b,c,e){this.confidence=d;this.assertionDate=b;this.expirationDate=c;this.result=e;this.competencyIndex=a},PapAssertion=stjs.extend(PapAssertion,null,[],function(d,a){a.confidence=null;a.competencyIndex=null;a.assertionDate=null;a.expirationDate=null;a.result=!1;a.getConfidence=function(){return this.confidence};a.setConfidence=function(a){this.confidence= +alphas:{name:"Array",arguments:[null]},betas:{name:"Array",arguments:[null]},updated:{name:"Array",arguments:[null]}},{}),PapAssertion=function(e,a,b,c,d){this.confidence=e;this.assertionDate=b;this.expirationDate=c;this.result=d;this.competencyIndex=a},PapAssertion=stjs.extend(PapAssertion,null,[],function(e,a){a.confidence=null;a.competencyIndex=null;a.assertionDate=null;a.expirationDate=null;a.result=!1;a.getConfidence=function(){return this.confidence};a.setConfidence=function(a){this.confidence= a};a.getCompetencyIndex=function(){return this.competencyIndex};a.setCompetencyIndex=function(a){this.competencyIndex=a};a.getAssertionDate=function(){return this.assertionDate};a.setAssertionDate=function(a){this.assertionDate=a};a.getExpirationDate=function(){return this.expirationDate};a.setExpirationDate=function(a){this.expirationDate=a};a.getResult=function(){return this.result};a.setResult=function(a){this.result=a}},{},{}),EcGraphUtil=function(){},EcGraphUtil=stjs.extend(EcGraphUtil,null, -[],function(d,a){d.buildIdSearchQueryForIdList=function(a){var b="";1=this.queryOperations.length)){var b=this.generateComboAndPacket(),e;RollupRulePacketGenerator.OperationType.OR.equals(this.queryOperations[0])? -a.subPackets.push(this.generateRollupRulePacket(this.queries[0])):b.subPackets.push(this.generateRollupRulePacket(this.queries[0]));e=this.queryOperations[0];for(var d=1;d=this.queryOperations.length)){var b=this.generateComboAndPacket(),d;RollupRulePacketGenerator.OperationType.OR.equals(this.queryOperations[0])? +a.subPackets.push(this.generateRollupRulePacket(this.queries[0])):b.subPackets.push(this.generateRollupRulePacket(this.queries[0]));d=this.queryOperations[0];for(var e=1;e=this.numberOfRelationsToProcess&&this.finishRelationProcessing()};a.processFindCompetencyRelationshipSuccess=function(a,c){c.numberOfQueriesRunning--;var b=null;if(c.hasId(a.source)&&c.hasId(a.target))this.numberOfRelationsProcessed++,this.checkForFinish();else{if(c.hasId(a.source))b=a.target;else if(c.hasId(a.target))b=a.source; -else{this.numberOfRelationsProcessed++;this.checkForFinish();return}this.log("Relationship found ("+a.relationType+") source: "+a.source+" target: "+a.target);c.numberOfQueriesRunning++;var d=this;c.context.isId(a.source)||c.context.isId(a.target)?(this.numberOfRelationsProcessed++,c.numberOfQueriesRunning--,this.checkForFinish()):EcCompetency.get(b,function(b){d.processGetRelatedCompetencySuccess(b,a)},function(a){d.processEventFailure(a,c)})}};a.go=function(){if(null==this.ip.getContext().relation)this.success(); -else for(var a=this.numberOfRelationsToProcess=0;a=this.assertionsToFillIn&&(this.addAssertionsToGraph(),this.returnGraph())};a.fetchAssertionDetailsNegativeStatus=function(a,c){var b=this;a.getNegativeAsync(function(a){null!=a&&a?c.setNegative(!0):c.setNegative(!1);b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()},function(a){c.setNegative(!1); -b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()})};a.fetchAssertionDetailsExpirationDate=function(a,c){var b=this;a.getExpirationDateAsync(function(e){null==e||e<=stjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setExpirationDate(e),b.fetchAssertionDetailsNegativeStatus(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsExpirationDate: "+a))})};a.fetchAssertionDetailsAssertionDate=function(a, -c){var b=this;a.getAssertionDateAsync(function(e){null==e||e>stjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setAssertionDate(e),b.fetchAssertionDetailsExpirationDate(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsAssertionDate: "+a))})};a.isASubject=function(a){if(null==this.subjects||0==this.subjects.length)return!0;for(var b,e=0;e=this.repositoriesToQuery&&this.fillInAssertions()};a.addAssertionsToList=function(a){for(var b=0;b=this.relationshipsToProcess&&this.assembleGraphComponents()};a.addRelationshipToList=function(a){this.frameworkRelationList.push(a);this.relationshipsProcessed++};a.fetchFrameworkRelations=function(a){this.relationshipsToProcess=a.relation.length;this.relationshipsProcessed=0;var b=this;if(0==this.relationshipsToProcess)this.competencyGraph.addNode(this.rootCompetencyId),this.success(this.competencyGraph);else for(var e= -0;estjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setAssertionDate(d),b.fetchAssertionDetailsExpirationDate(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsAssertionDate: "+a))})};a.isASubject=function(a){if(null==this.subjects||0==this.subjects.length)return!0;for(var b,d=0;d=this.repositoriesToQuery&&this.fillInAssertions()};a.addAssertionsToList=function(a){for(var b=0;b=this.relationshipsToProcess&&this.assembleGraphComponents()};a.addRelationshipToList=function(a){this.frameworkRelationList.push(a);this.relationshipsProcessed++};a.fetchFrameworkRelations=function(a){this.relationshipsToProcess=a.relation.length;this.relationshipsProcessed=0;var b=this;if(0==this.relationshipsToProcess)this.competencyGraph.addNode(this.rootCompetencyId),this.success(this.competencyGraph);else for(var d= +0;d=this.subjectPem.length)this.addAssertions(this.inputGraph.getNegativeAssertions()),this.addAssertions(this.inputGraph.getPositiveAssertions());else{for(var a,c=[],e=0;ec?PredictiveAssertionProcessor.ABRUBT_EXP_RETENTION:this.settings.getGradualForgetting()?(a=this.getTimeFactor(a,c),Math.exp(-a)):PredictiveAssertionProcessor.DEFAULT_RETENTION};a.addAssertionsToUpdateQueue=function(a){for(var b, -e,d,l=0;lthis.priorityQueueThreshold&&a.push(new PapUpdate(e.getCompetencyIndex(),d,e.getResult()))}};a.processNecessaryNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.NECESSARY_TYPE][String.valueOf(a.getIndex())]; -if(null!=b){var d=PredictiveAssertionProcessor.DEFAULT_PROB_LEARN_UNMET_REQS;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(), -k)))}};a.processSufficientNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.SUFFICIENT_TYPE][String.valueOf(a.getIndex())];if(null!=b){var d=PredictiveAssertionProcessor.DEFAULT_PROB_INSUFF;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(),k)))}};a.processEquivalenceNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.EQUIVALENCE_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var d,l,h=0;hthis.priorityQueueThreshold&& -c.push(a.updateChild(d.getChildIndex(),l)))};a.processBroadensNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.BROADENS_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var d,l,h=0;hthis.priorityQueueThreshold&&c.push(a.updateChild(d.getChildIndex(),l)))};a.predictCompetence=function(){this.competencyNetwork=new PapCompetencyNetwork(this.dependencies, -this.inputGraph.getNodes().length,this.settings);for(var a,c,e=0;e=this.subjectPem.length)this.addAssertions(this.inputGraph.getNegativeAssertions()),this.addAssertions(this.inputGraph.getPositiveAssertions());else{for(var a,c=[],d=0;dc?PredictiveAssertionProcessor.ABRUBT_EXP_RETENTION:this.settings.getGradualForgetting()?(a=this.getTimeFactor(a,c),Math.exp(-a)):PredictiveAssertionProcessor.DEFAULT_RETENTION};a.addAssertionsToUpdateQueue=function(a){for(var b, +d,e,l=0;lthis.priorityQueueThreshold&&a.push(new PapUpdate(d.getCompetencyIndex(),e,d.getResult()))}};a.processNecessaryNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.NECESSARY_TYPE][String.valueOf(a.getIndex())]; +if(null!=b){var e=PredictiveAssertionProcessor.DEFAULT_PROB_LEARN_UNMET_REQS;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(), +k)))}};a.processSufficientNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.SUFFICIENT_TYPE][String.valueOf(a.getIndex())];if(null!=b){var e=PredictiveAssertionProcessor.DEFAULT_PROB_INSUFF;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(),k)))}};a.processEquivalenceNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.EQUIVALENCE_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var e,l,h=0;hthis.priorityQueueThreshold&& +c.push(a.updateChild(e.getChildIndex(),l)))};a.processBroadensNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.BROADENS_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var e,l,h=0;hthis.priorityQueueThreshold&&c.push(a.updateChild(e.getChildIndex(),l)))};a.predictCompetence=function(){this.competencyNetwork=new PapCompetencyNetwork(this.dependencies, +this.inputGraph.getNodes().length,this.settings);for(var a,c,d=0;d=this.frameworksToProcess&&(this.debugMessage("All profile assertion framework graphs processed"),this.successCallback())};a.processFrameworkGraphAssertions=function(a,c){this.debugMessage("("+Date.now()+") Processing framework graph assertions for:"); this.debugMessage(c.shortId());this.debugMessage(c.getName());var b=this;a.processAssertionsBoolean(this.profileAssertions,function(){b.frameworksProcessed++;b.assertedFrameworkGraphs.push(a);b.checkAllFrameworkGraphAssertionsHaveProcessed()},function(a){b.handleFailedFrameworkGraphOperation("Process Graph: "+a)})};a.handleFailedFrameworkGraphOperation=function(a){this.debugMessage("handleFailedFrameworkGraphOperation: "+a);this.frameworksProcessed++;this.checkAllFrameworkGraphAssertionsHaveProcessed()}; -a.buildProfileAssertionFrameworkGraph=function(a){this.debugMessage("("+Date.now()+") Generating framework graph for:");this.debugMessage(a.shortId());this.debugMessage(a.getName());var b=this,e=new EcFrameworkGraph;e.addFramework(a,this.repo,function(){b.processFrameworkGraphAssertions(e,a)},function(a){b.handleFailedFrameworkGraphOperation("Build Graph: "+a)})};a.generateProfileAssertionFrameworkGraphs=function(a){if(0>=a.length)this.successCallback();else{this.frameworksToProcess=a.length;this.debugMessage("Generating framework graphs..."); +a.buildProfileAssertionFrameworkGraph=function(a){this.debugMessage("("+Date.now()+") Generating framework graph for:");this.debugMessage(a.shortId());this.debugMessage(a.getName());var b=this,d=new EcFrameworkGraph;d.addFramework(a,this.repo,function(){b.processFrameworkGraphAssertions(d,a)},function(a){b.handleFailedFrameworkGraphOperation("Build Graph: "+a)})};a.generateProfileAssertionFrameworkGraphs=function(a){if(0>=a.length)this.successCallback();else{this.frameworksToProcess=a.length;this.debugMessage("Generating framework graphs..."); this.debugMessage(a);for(var b=0;bstjs.trunc((new Date).getTime())?(b.log(d,"Assertion is made for a future date."),g()):a.getExpirationDateAsync(function(c){null!=c&&c<=stjs.trunc((new Date).getTime())?(b.log(d,"Assertion is expired. Skipping."),g()):(b.logFoundAssertion(a,d),a.getNegativeAsync(function(c){null!=c&&c?(b.log(d,"Found valid negative assertion"),d.negative.push(a)):(b.log(d,"Found valid positive assertion"),d.positive.push(a));g()},function(c){b.log(d,"Found valid positive assertion");d.positive.push(a);g()}))}, +{}),CombinatorAssertionProcessor=function(){AssertionProcessor.call(this)},CombinatorAssertionProcessor=stjs.extend(CombinatorAssertionProcessor,AssertionProcessor,[],function(e,a){e.relationLookup=null;a.processFoundAssertion=function(a,c,d,e){var b=this;(new EcAsyncHelper).each(c.subject,function(d,f){b.checkSubject(a,d,c,f,function(a){e(a)})},function(a){d()})};a.checkSubject=function(a,c,d,e,l){var b=this;a.getSubjectAsync(function(f){f.equals(c)?(b.log(d,"Matching Assertion found."),a.getAssertionDateAsync(function(c){null!= +c&&c>stjs.trunc((new Date).getTime())?(b.log(d,"Assertion is made for a future date."),e()):a.getExpirationDateAsync(function(c){null!=c&&c<=stjs.trunc((new Date).getTime())?(b.log(d,"Assertion is expired. Skipping."),e()):(b.logFoundAssertion(a,d),a.getNegativeAsync(function(c){null!=c&&c?(b.log(d,"Found valid negative assertion"),d.negative.push(a)):(b.log(d,"Found valid positive assertion"),d.positive.push(a));e()},function(c){b.log(d,"Found valid positive assertion");d.positive.push(a);e()}))}, l)},l)):l("Incorrect subject.")},l)};a.processFindAssertionsSuccess=function(a,c){0==a.length?this.log(c,"No results found."):this.log(c,"Total number of assertions found: "+a.length);c.numberOfQueriesRunning--;this.checkStepSecondPass(c)};a.findSubjectAssertionsForCompetency=function(a){if(null==this.assertions)return!0;a.hasCheckedAssertionsForCompetency=!0;if(!InquiryPacket.IPType.COMPETENCY.equals(a.type)&&!InquiryPacket.IPType.ROLLUPRULE.equals(a.type))return this.log(a,"No assertions for combinator types"), -!1;var b=this;if(InquiryPacket.IPType.COMPETENCY.equals(a.type))for(var d=0;dc.competency.length)l("Framework has no competencies");else if(null==a)l("Repo is null or undefined"); -else{this.repo=a;this.framework=c;this.createImpliedRelations=d;this.successCallback=g;this.failureCallback=l;var b=this;null!=c.competency?a.multiget(c.competency,function(a){for(var d=0;dc.competency.length)l("Framework has no competencies");else if(null==a)l("Repo is null or undefined"); +else{this.repo=a;this.framework=c;this.createImpliedRelations=d;this.successCallback=e;this.failureCallback=l;var b=this;null!=c.competency?a.multiget(c.competency,function(a){for(var d=0;d= 0; i--) { if (TabStructuredImport.tabs(lines[i]) < TabStructuredImport.tabs(lines[index])) { @@ -636,6 +636,8 @@ TabStructuredImport = stjs.extend(TabStructuredImport, null, [], function(constr c = new EcCompetency(); if (hashNameForId) c.assignId(serverUrl, EcCrypto.md5(lines[index].trim())); + else if (serverUrl != repo.selectedServer) + c.generateShortId(serverUrl); else c.generateId(serverUrl); c.setName(lines[index]); @@ -651,7 +653,10 @@ TabStructuredImport = stjs.extend(TabStructuredImport, null, [], function(constr } if (parent != null) { var a = new EcAlignment(); - a.generateId(serverUrl); + if (serverUrl != repo.selectedServer) + a.generateShortId(serverUrl); + else + a.generateId(serverUrl); a.relationType = EcAlignment.NARROWS; a.source = c.shortId(); a.target = parent.shortId(); diff --git a/src/main/js/cass/cass.rollup.js b/src/main/js/cass/cass.rollup.js index 1c35d14f4..632b0db29 100644 --- a/src/main/js/cass/cass.rollup.js +++ b/src/main/js/cass/cass.rollup.js @@ -2676,7 +2676,14 @@ EcFrameworkGraph = stjs.extend(EcFrameworkGraph, EcDirectedGraph, [], function(c prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - repo.multiget(framework.competency.concat(framework.relation), function(data) { + var precache = new Array(); + if (framework.competency != null) { + precache = precache.concat(framework.competency); + } + if (framework.relation != null) { + precache = precache.concat(framework.relation); + } + repo.multiget(precache, function(data) { var competencyTemplate = new EcCompetency(); var alignmentTemplate = new EcAlignment(); var eah = new EcAsyncHelper(); diff --git a/src/main/js/cass/ebac.repository.js b/src/main/js/cass/ebac.repository.js index 195e03568..39d01195e 100644 --- a/src/main/js/cass/ebac.repository.js +++ b/src/main/js/cass/ebac.repository.js @@ -1501,6 +1501,8 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + if (repo != null) + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(repo.selectedServer, data.getGuid())]; } if (data.invalid()) { failure("Data is malformed."); @@ -1631,6 +1633,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, data.getGuid())]; } var targetUrl; if (EcRepository.shouldTryUrl(data.id)) @@ -1736,6 +1739,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy } (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(me.selectedServer, d.getGuid())] = d; } } if (success != null) { @@ -2366,6 +2370,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, d.getGuid())] = d; } if (eachSuccess != null) { eachSuccess(results[i]); diff --git a/src/main/js/cass/ec.base.js b/src/main/js/cass/ec.base.js index 1311d2815..f94d23421 100644 --- a/src/main/js/cass/ec.base.js +++ b/src/main/js/cass/ec.base.js @@ -868,6 +868,11 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { if (failure != null) failure(xhrx.responseText); }; + xhr.onerror = function(e) { + if (failure != null) { + failure(null); + } + }; } if (xhr != null) { if (EcRemote.async) diff --git a/src/main/js/cass/forgeAsync.js b/src/main/js/cass/forgeAsync.js index 913477625..433017da3 100644 --- a/src/main/js/cass/forgeAsync.js +++ b/src/main/js/cass/forgeAsync.js @@ -1,95 +1,95 @@ -try { - importScripts('forge.min.js'); -} catch (ex) {} -try { - importScripts('forge/forge.min.js'); -} catch (ex) {} -try { - importScripts('../forge/forge.min.js'); -} catch (ex) {} -try { - importScripts('../../forge/forge.min.js'); -} catch (ex) {} -try { - importScripts('../../../forge/forge.min.js'); -} catch (ex) {} - -self.addEventListener('message', function (e) { - var data = e.data; - try { - switch (data.cmd) { - case 'encryptRsaOaep': - self.postMessage({ - result: forge.util.encode64(forge.pki.publicKeyFromPem(data.pk) - .encrypt(data.text, "RSA-OAEP")) - }); - break; - case 'decryptRsaOaep': - self.postMessage({ - result: forge.pki.privateKeyFromPem(data.ppk).decrypt( - forge.util.decode64(data.text), "RSA-OAEP") - }); - break; - case 'signRsaOaep': - var s = forge.sha1.create(); - s.update(data.text, "utf8"); - self.postMessage({ - result: forge.util.encode64(forge.pki.privateKeyFromPem(data.ppk) - .sign(s)) - }); - break; - case 'signSha256RsaOaep': - var s = forge.sha256.create(); - s.update(data.text, "utf8"); - self.postMessage({ - result: forge.util.encode64(forge.pki.privateKeyFromPem(data.ppk) - .sign(s)) - }); - break; - case 'verifyRsaOaep': - var s = forge.sha1.create(); - s.update(data.text, "utf8"); - self.postMessage({ - result: forge.pki.publicKeyFromPem(data.pk) - .verify(s.digest().bytes(), - forge.util.decode64(data.signature)) - }); - break; - case 'encryptAesCtr': - var c = forge.cipher.createCipher("AES-CTR", forge.util - .decode64(data.secret)); - c.start({ - iv: forge.util.decode64(data.iv) - }); - c.update(forge.util.createBuffer(data.text)); - c.finish(); - var encrypted = c.output; - self.postMessage({ - result: forge.util.encode64(encrypted.bytes()) - }); - break; - case 'decryptAesCtr': - var c = forge.cipher.createDecipher("AES-CTR", forge.util - .decode64(data.secret)); - c.start({ - iv: forge.util.decode64(data.iv) - }); - c.update(forge.util.createBuffer(forge.util.decode64(data.text))); - c.finish(); - var decrypted = c.output; - self.postMessage({ - result: decrypted.data - }); - break; - case 'stop': - self.close(); // Terminates the worker. - break; - default: - self.postMessage('Unknown command: ' + data.msg); - }; - } catch (ex) { - self.postMessage({ - error: ex.message - }); - } -}, false); +try { + importScripts('forge.min.js'); +} catch (ex) {} +try { + importScripts('forge/forge.min.js'); +} catch (ex) {} +try { + importScripts('../forge/forge.min.js'); +} catch (ex) {} +try { + importScripts('../../forge/forge.min.js'); +} catch (ex) {} +try { + importScripts('../../../forge/forge.min.js'); +} catch (ex) {} + +self.addEventListener('message', function (e) { + var data = e.data; + try { + switch (data.cmd) { + case 'encryptRsaOaep': + self.postMessage({ + result: forge.util.encode64(forge.pki.publicKeyFromPem(data.pk) + .encrypt(data.text, "RSA-OAEP")) + }); + break; + case 'decryptRsaOaep': + self.postMessage({ + result: forge.pki.privateKeyFromPem(data.ppk).decrypt( + forge.util.decode64(data.text), "RSA-OAEP") + }); + break; + case 'signRsaOaep': + var s = forge.sha1.create(); + s.update(data.text, "utf8"); + self.postMessage({ + result: forge.util.encode64(forge.pki.privateKeyFromPem(data.ppk) + .sign(s)) + }); + break; + case 'signSha256RsaOaep': + var s = forge.sha256.create(); + s.update(data.text, "utf8"); + self.postMessage({ + result: forge.util.encode64(forge.pki.privateKeyFromPem(data.ppk) + .sign(s)) + }); + break; + case 'verifyRsaOaep': + var s = forge.sha1.create(); + s.update(data.text, "utf8"); + self.postMessage({ + result: forge.pki.publicKeyFromPem(data.pk) + .verify(s.digest().bytes(), + forge.util.decode64(data.signature)) + }); + break; + case 'encryptAesCtr': + var c = forge.cipher.createCipher("AES-CTR", forge.util + .decode64(data.secret)); + c.start({ + iv: forge.util.decode64(data.iv) + }); + c.update(forge.util.createBuffer(data.text)); + c.finish(); + var encrypted = c.output; + self.postMessage({ + result: forge.util.encode64(encrypted.bytes()) + }); + break; + case 'decryptAesCtr': + var c = forge.cipher.createDecipher("AES-CTR", forge.util + .decode64(data.secret)); + c.start({ + iv: forge.util.decode64(data.iv) + }); + c.update(forge.util.createBuffer(forge.util.decode64(data.text))); + c.finish(); + var decrypted = c.output; + self.postMessage({ + result: decrypted.data + }); + break; + case 'stop': + self.close(); // Terminates the worker. + break; + default: + self.postMessage('Unknown command: ' + data.msg); + }; + } catch (ex) { + self.postMessage({ + error: ex.message + }); + } +}, false); diff --git a/src/main/resources/b-skyrepo/kbac.skyrepo.js b/src/main/resources/b-skyrepo/kbac.skyrepo.js index 2dd4e7819..984459afe 100644 --- a/src/main/resources/b-skyrepo/kbac.skyrepo.js +++ b/src/main/resources/b-skyrepo/kbac.skyrepo.js @@ -438,6 +438,7 @@ var skyrepoGet = function(parseParams) { (parseParams)["id"] = this.params.id; (parseParams)["type"] = this.params.type; (parseParams)["version"] = this.params.version; + (parseParams)["versions"] = this.params.versions; } if (skyrepoDebug) console.log(JSON.stringify(parseParams)); @@ -446,9 +447,10 @@ var skyrepoGet = function(parseParams) { var id = (parseParams)["id"]; var type = (parseParams)["type"]; var version = (parseParams)["version"]; - return (skyrepoGetParsed).call(this, id, version, type, null); + var versions = (parseParams)["versions"]; + return (skyrepoGetParsed).call(this, id, version, type, null, versions); }; -var skyrepoGetParsed = function(id, version, type) { +var skyrepoGetParsed = function(id, version, type, versions) { var result = (skyrepoGetInternal).call(this, id, version, type, null); if (result == null) return null; @@ -459,6 +461,7 @@ var skyrepoGetParsed = function(id, version, type) { if (ex.getMessage() != "Signature Violation") throw ex; } + if (versions == "true") {} if (filtered == null) return null; if (EcObject.keys(filtered).length == 0) @@ -669,6 +672,7 @@ var endpointData = function() { var sort = this.params.sort; var track_scores = this.params.track_scores; var index_hint = this.params.index_hint; + var versions = this.params.versions; var searchParams = (fileFromDatastream).call(this, "searchParams", null); if (searchParams != null) { searchParams = fileToString(searchParams); @@ -686,6 +690,8 @@ var endpointData = function() { track_scores = (searchParams)["track_scores"]; if ((searchParams)["index_hint"] != null) index_hint = (searchParams)["index_hint"]; + if ((searchParams)["versions"] != null) + versions = (searchParams)["versions"]; } if (size == null) size = 50; @@ -712,7 +718,7 @@ var endpointData = function() { var o = JSON.parse(fileToString((fileFromDatastream).call(this, "data", null))); if (o == null || o == "") { (beforeGet).call(this); - o = (skyrepoGetParsed).call(this, id, version, type, null); + o = (skyrepoGetParsed).call(this, id, version, type, null, versions); if (o == null) error("Object not found or you did not supply sufficient permissions to access the object.", 404); var expand = this.params.expand != null; @@ -724,7 +730,7 @@ var endpointData = function() { return null; } else if (methodType == "GET") { (beforeGet).call(this); - var o = (skyrepoGetParsed).call(this, id, version, type, null); + var o = (skyrepoGetParsed).call(this, id, version, type, null, versions); if (o == null) error("Object not found or you did not supply sufficient permissions to access the object.", 404); var expand = this.params.expand != null; @@ -821,7 +827,7 @@ var endpointSingleGet = function() { var id = (parseParams)["id"]; var type = (parseParams)["type"]; var version = (parseParams)["version"]; - var o = (skyrepoGetParsed).call(this, id, version, type, null); + var o = (skyrepoGetParsed).call(this, id, version, type, null, null); if (o != null) return o; return null; diff --git a/src/main/webapp/cass-align b/src/main/webapp/cass-align index 034657247..386b49a1c 160000 --- a/src/main/webapp/cass-align +++ b/src/main/webapp/cass-align @@ -1 +1 @@ -Subproject commit 0346572479937f0990bbad622c3670461bb75ca9 +Subproject commit 386b49a1cac92d17b687cc384d969936f4213098 diff --git a/src/main/webapp/cass-editor b/src/main/webapp/cass-editor index 2e46f438b..7cd87d61e 160000 --- a/src/main/webapp/cass-editor +++ b/src/main/webapp/cass-editor @@ -1 +1 @@ -Subproject commit 2e46f438b320c6f3401f3b70cf00d33a561d0550 +Subproject commit 7cd87d61e90fcbff8a3676649854c8d6b654c86f diff --git a/src/main/webapp/cass-gap-analysis b/src/main/webapp/cass-gap-analysis index 850048c25..2437beaab 160000 --- a/src/main/webapp/cass-gap-analysis +++ b/src/main/webapp/cass-gap-analysis @@ -1 +1 @@ -Subproject commit 850048c25cdf1d4ebd79a4c1978bd8834a23a938 +Subproject commit 2437beaab0c6505deb137a1b8d18ea35bfcf5653 diff --git a/src/main/webapp/cass-profile b/src/main/webapp/cass-profile index cbc52ad1e..5c49f1d54 160000 --- a/src/main/webapp/cass-profile +++ b/src/main/webapp/cass-profile @@ -1 +1 @@ -Subproject commit cbc52ad1e8b58f92c030a9a664409c5ac7cd5054 +Subproject commit 5c49f1d547b003e9f50715d208577f8153105665 diff --git a/src/main/webapp/cass-ui-concept-editor-ctr.html b/src/main/webapp/cass-ui-concept-editor-ctr.html index 6a23366a8..9d5183f06 100644 --- a/src/main/webapp/cass-ui-concept-editor-ctr.html +++ b/src/main/webapp/cass-ui-concept-editor-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Concept Editor + CaSS 1.2.34 Concept Editor diff --git a/src/main/webapp/cass-ui-editor-ctr.html b/src/main/webapp/cass-ui-editor-ctr.html index afcf68c75..4ddc3a4c9 100644 --- a/src/main/webapp/cass-ui-editor-ctr.html +++ b/src/main/webapp/cass-ui-editor-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Competency Editor + CaSS 1.2.34 Competency Editor diff --git a/src/main/webapp/cass-ui-framework-exp-ctr.html b/src/main/webapp/cass-ui-framework-exp-ctr.html index 9bd2cf81e..1613a0ab1 100644 --- a/src/main/webapp/cass-ui-framework-exp-ctr.html +++ b/src/main/webapp/cass-ui-framework-exp-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Framework Explorer + CaSS 1.2.34 Framework Explorer diff --git a/src/main/webapp/cass-ui-gap-analysis-ctr.html b/src/main/webapp/cass-ui-gap-analysis-ctr.html index d28c2c457..b57e662a4 100644 --- a/src/main/webapp/cass-ui-gap-analysis-ctr.html +++ b/src/main/webapp/cass-ui-gap-analysis-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Gap Analysis + CaSS 1.2.34 Gap Analysis diff --git a/src/main/webapp/cass-ui-home.html b/src/main/webapp/cass-ui-home.html index 92db00e0d..1a57ad6d4 100644 --- a/src/main/webapp/cass-ui-home.html +++ b/src/main/webapp/cass-ui-home.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Explorer + CaSS 1.2.34 Explorer diff --git a/src/main/webapp/cass-ui-profile-exp-ctr.html b/src/main/webapp/cass-ui-profile-exp-ctr.html index ff752a366..cb9d2e7d8 100644 --- a/src/main/webapp/cass-ui-profile-exp-ctr.html +++ b/src/main/webapp/cass-ui-profile-exp-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Profile Explorer + CaSS 1.2.34 Profile Explorer diff --git a/src/main/webapp/cass-ui-resource-aln-ctr.html b/src/main/webapp/cass-ui-resource-aln-ctr.html index 71a0db8a0..5dd243348 100644 --- a/src/main/webapp/cass-ui-resource-aln-ctr.html +++ b/src/main/webapp/cass-ui-resource-aln-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Resource Alignment + CaSS 1.2.34 Resource Alignment diff --git a/src/main/webapp/cass-ui-vlrc-exp-ctr.html b/src/main/webapp/cass-ui-vlrc-exp-ctr.html index 91dd370ab..42272b8fb 100644 --- a/src/main/webapp/cass-ui-vlrc-exp-ctr.html +++ b/src/main/webapp/cass-ui-vlrc-exp-ctr.html @@ -5,7 +5,7 @@ - CaSS 1.2.33 Virtual Learning Resource Center + CaSS 1.2.34 Virtual Learning Resource Center diff --git a/src/main/webapp/cass-viewer b/src/main/webapp/cass-viewer index 9afe8d305..035969092 160000 --- a/src/main/webapp/cass-viewer +++ b/src/main/webapp/cass-viewer @@ -1 +1 @@ -Subproject commit 9afe8d305d0b3c3f264642f28dd4f99910ef3973 +Subproject commit 035969092b6712df757ae42858934522bc8d78ce diff --git a/src/main/webapp/cass-vlrc b/src/main/webapp/cass-vlrc index 64cb50db6..8ac64bb88 160000 --- a/src/main/webapp/cass-vlrc +++ b/src/main/webapp/cass-vlrc @@ -1 +1 @@ -Subproject commit 64cb50db6958ff9fdb72e9688b821112149f79a8 +Subproject commit 8ac64bb88f9cfc1796c7b18c599614ab82b7fa24 diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index ba6bccb79..84943fbc7 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -13,7 +13,7 @@ - CaSS 1.2.33 + CaSS 1.2.34 diff --git a/src/main/webapp/js/cass/cass.js b/src/main/webapp/js/cass/cass.js index 1a353c260..c3980d7f7 100644 --- a/src/main/webapp/js/cass/cass.js +++ b/src/main/webapp/js/cass/cass.js @@ -31595,6 +31595,11 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { if (failure != null) failure(xhrx.responseText); }; + xhr.onerror = function(e) { + if (failure != null) { + failure(null); + } + }; } if (xhr != null) { if (EcRemote.async) @@ -59361,6 +59366,125 @@ EcQuiz = stjs.extend(EcQuiz, CreativeWork, [], function(constructor, prototype) }, success, failure, paramObj); }; }, {question: {name: "Array", arguments: [null]}, about: "Thing", educationalAlignment: "AlignmentObject", associatedMedia: "MediaObject", funder: "Person", audio: "AudioObject", workExample: "CreativeWork", provider: "Person", encoding: "MediaObject", character: "Person", audience: "Audience", sourceOrganization: "Organization", isPartOf: "CreativeWork", video: "VideoObject", publication: "PublicationEvent", contributor: "Organization", reviews: "Review", hasPart: "CreativeWork", releasedEvent: "PublicationEvent", contentLocation: "Place", aggregateRating: "AggregateRating", locationCreated: "Place", accountablePerson: "Person", spatialCoverage: "Place", offers: "Offer", editor: "Person", copyrightHolder: "Person", recordedAt: "Event", publisher: "Person", interactionStatistic: "InteractionCounter", exampleOfWork: "CreativeWork", mainEntity: "Thing", author: "Person", timeRequired: "Duration", translator: "Person", comment: "Comment", inLanguage: "Language", review: "Review", license: "CreativeWork", encodings: "MediaObject", isBasedOn: "Product", creator: "Person", sponsor: "Organization", producer: "Person", mentions: "Thing", identifier: "Object", image: "Object", potentialAction: "Action", mainEntityOfPage: "Object", owner: {name: "Array", arguments: [null]}, signature: {name: "Array", arguments: [null]}, reader: {name: "Array", arguments: [null]}, atProperties: {name: "Array", arguments: [null]}}, {}); +var EcComment = function() { + Comment.call(this); +}; +EcComment = stjs.extend(EcComment, Comment, [], function(constructor, prototype) { + /** + * Retrieves a comment from it's server asynchronously + * + * @param {String} id + * ID of the comment to retrieve from the server + * @param {Callback1} success + * Callback triggered after retrieving the comment, + * returns the comment retrieved + * @param {Callback1} failure + * Callback triggered if error retrieving comment + * @memberOf EcComment + * @method get + * @static + */ + constructor.get = function(id, success, failure) { + EcRepository.getAs(id, new EcComment(), success, failure); + }; + /** + * Retrieves an comment from it's server synchronously, the call + * blocks until it is successful or an error occurs + * + * @param {String} id + * ID of the comment to retrieve + * @return EcComment + * The concept retrieved + * @memberOf EcComment + * @method getBlocking + * @static + */ + constructor.getBlocking = function(id) { + return EcRepository.getBlockingAs(id, new EcComment()); + }; + /** + * Searches a repository for comments that match the search query + * + * @param {EcRepository} repo Repository to search using the query + * @param {String} query Query string to pass to the search web service + * @param {Callback1> success Callback triggered after + * completing the search, returns the results + * @param {Callback1} failure Callback triggered if error searching + * @param {Object} paramObj Parameter object for search + * @memberOf EcComment + * @method search + * @static + */ + constructor.search = function(repo, query, success, failure, paramObj) { + EcRepository.searchAs(repo, query, function() { + return new EcComment(); + }, success, failure, paramObj); + }; + /** + * Sets the comment's subject as follows: + * Comment.isBasedOn: framework.shortId to provide a framework context to the comment + * Comment.about: aboutObj.shortId to provide an about/subject to the comment + * + * @param {EcFramework} framework Framework which contains the id to set to the comment's isBasedOn + * @param {EcRemoteLinkedData} aboutObj Object which contains the id to set to the comment's about + * @method setSubject + */ + prototype.setSubject = function(framework, aboutObj) { + if (framework != null) { + (this)["isBasedOn"] = framework.shortId(); + } + if (aboutObj != null) { + (this)["about"] = aboutObj.shortId(); + } + }; + /** + * Sets the comment's subject as follows: + * Comment.isBasedOn: frameworkId to provide a framework context to the comment + * Comment.about: aboutId to provide an about/subject to the comment + * + * @param {String} frameworkId Framework ID to set to the comment's isBasedOn + * @param {String} aboutId Object ID to set to the comment's about + * @method setSubjectIds + */ + prototype.setSubjectIds = function(frameworkId, aboutId) { + if (frameworkId != null) { + (this)["isBasedOn"] = frameworkId; + } + if (aboutId != null) { + (this)["about"] = aboutId; + } + }; + /** + * Sets the comment's creator to the ID of the given person object + * @param {EcPerson} person Person which contains the id to set to the comment's creator + * @method setCreator + */ + prototype.setCreator = function(creatorObj) { + if (creatorObj != null) { + (this)["creator"] = creatorObj.shortId(); + } + }; + /** + * Sets the comment's creator to the given person ID + * @param {String} creatorId ID of the person to set to the comment's creator + * @method setCreatorId + */ + prototype.setCreatorId = function(creatorId) { + if (creatorId != null) { + (this)["creator"] = creatorId; + } + }; + /** + * Sets the comment's dateCreated to the given time in milliseconds + * @param {String} longDateString The time in milliseconds to set to the comment's dateCreated + * @method setDateCreated + */ + prototype.setDateCreated = function(longDateString) { + if (longDateString != null) { + (this)["dateCreated"] = longDateString; + } + }; +}, {parentItem: "Question", about: "Thing", educationalAlignment: "AlignmentObject", associatedMedia: "MediaObject", funder: "Person", audio: "AudioObject", workExample: "CreativeWork", provider: "Person", encoding: "MediaObject", character: "Person", audience: "Audience", sourceOrganization: "Organization", isPartOf: "CreativeWork", video: "VideoObject", publication: "PublicationEvent", contributor: "Organization", reviews: "Review", hasPart: "CreativeWork", releasedEvent: "PublicationEvent", contentLocation: "Place", aggregateRating: "AggregateRating", locationCreated: "Place", accountablePerson: "Person", spatialCoverage: "Place", offers: "Offer", editor: "Person", copyrightHolder: "Person", recordedAt: "Event", publisher: "Person", interactionStatistic: "InteractionCounter", exampleOfWork: "CreativeWork", mainEntity: "Thing", author: "Person", timeRequired: "Duration", translator: "Person", comment: "Comment", inLanguage: "Language", review: "Review", license: "CreativeWork", encodings: "MediaObject", isBasedOn: "Product", creator: "Person", sponsor: "Organization", producer: "Person", mentions: "Thing", identifier: "Object", image: "Object", potentialAction: "Action", mainEntityOfPage: "Object", owner: {name: "Array", arguments: [null]}, signature: {name: "Array", arguments: [null]}, reader: {name: "Array", arguments: [null]}, atProperties: {name: "Array", arguments: [null]}}, {}); var EcQuestion = function() { Question.call(this); }; @@ -59552,12 +59676,12 @@ EcOrganization = stjs.extend(EcOrganization, Organization, [], function(construc /** * Searches a repository for organizations that match the search query * - * @param {EcRepository} repo Repository to search using the query - * @param {String} query Query string to pass to the search web service - * @param {Callback1> success Callback triggered after - * completing the search, returns the results - * @param {Callback1} failure Callback triggered if error searching - * @param {Object} paramObj Parameter object for search + * @param {EcRepository} repo Repository to search using the query + * @param {String} query Query string to pass to the search web service + * @param {Callback1> success Callback triggered after + * completing the search, returns the results + * @param {Callback1} failure Callback triggered if error searching + * @param {Object} paramObj Parameter object for search * @memberOf EcOrganization * @method search * @static @@ -62728,6 +62852,8 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + if (repo != null) + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(repo.selectedServer, data.getGuid())]; } if (data.invalid()) { failure("Data is malformed."); @@ -62858,6 +62984,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, data.getGuid())]; } var targetUrl; if (EcRepository.shouldTryUrl(data.id)) @@ -62963,6 +63090,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy } (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(me.selectedServer, d.getGuid())] = d; } } if (success != null) { @@ -63593,6 +63721,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, d.getGuid())] = d; } if (eachSuccess != null) { eachSuccess(results[i]); @@ -68638,7 +68767,14 @@ EcFrameworkGraph = stjs.extend(EcFrameworkGraph, EcDirectedGraph, [], function(c prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - repo.multiget(framework.competency.concat(framework.relation), function(data) { + var precache = new Array(); + if (framework.competency != null) { + precache = precache.concat(framework.competency); + } + if (framework.relation != null) { + precache = precache.concat(framework.relation); + } + repo.multiget(precache, function(data) { var competencyTemplate = new EcCompetency(); var alignmentTemplate = new EcAlignment(); var eah = new EcAsyncHelper(); diff --git a/src/main/webapp/js/cass/cass.min.js b/src/main/webapp/js/cass/cass.min.js index 29163bdda..5064a0a80 100644 --- a/src/main/webapp/js/cass/cass.min.js +++ b/src/main/webapp/js/cass/cass.min.js @@ -2,8 +2,8 @@ var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.definePr $jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+$jscomp.symbolCounter_++}; $jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var e=$jscomp.global.Symbol.iterator;e||(e=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[e]&&$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(e){var b=0;return $jscomp.iteratorPrototype(function(){return bb;++b)D[b]=Array(256),v[b]=Array(256);for(var c=0,f=0,k,d,l,g,n,b=0;256>b;++b){g=f^f<<1^f<<2^f<<3^f<<4;g=g>>8^g&255^99;m[c]=g;r[g]=c;n=a[g];k=a[c];d=a[k];l=a[d];n^=n<<24^g<<16^g<<8^g;d=(k^d^l)<<24^(c^l)<<16^(c^d^l)<<8^c^k^l;for(var q=0;4>q;++q)D[q][c]=n,v[q][g]=d,n=n<<24|n>>>8,d=d<<24|d>>>8;0===c?c=f=1:(c=k^a[a[a[k^l]]],f^=a[a[f]])}}function k(a,b){a=a.slice(0);for(var c,f=1,d=a.length,k=e*(d+6+1),l=d;l>>16&255]<<24^m[c>>>8&255]<<16^m[c&255]<<8^m[c>>>24]^B[f]<<24,f++):6>>24]<<24^m[c>>>16&255]<<16^m[c>>>8&255]<<8^m[c&255]),a[l]=a[l-d]^c;if(b){c=v[0];for(var f=v[1],d=v[2],g=v[3],h=a.slice(0),k=a.length,l=0,n=k-e;l>>24]]^f[m[b>>>16&255]]^d[m[b>>>8&255]]^g[m[b&255]];a=h}return a}function d(a,b,c,f){var d=a.length/4-1,k,l,g,h,n;f?(k=v[0], l=v[1],g=v[2],h=v[3],n=r):(k=D[0],l=D[1],g=D[2],h=D[3],n=m);var q,p,u,e,w,y;q=b[0]^a[0];p=b[f?3:1]^a[1];u=b[2]^a[2];b=b[f?1:3]^a[3];for(var C=3,F=1;F>>24]^l[p>>>16&255]^g[u>>>8&255]^h[b&255]^a[++C],w=k[p>>>24]^l[u>>>16&255]^g[b>>>8&255]^h[q&255]^a[++C],y=k[u>>>24]^l[b>>>16&255]^g[q>>>8&255]^h[p&255]^a[++C],b=k[b>>>24]^l[q>>>16&255]^g[p>>>8&255]^h[u&255]^a[++C],q=e,p=w,u=y;c[0]=n[q>>>24]<<24^n[p>>>16&255]<<16^n[u>>>8&255]<<8^n[b&255]^a[++C];c[f?3:1]=n[p>>>24]<<24^n[u>>>16&255]<<16^n[b>>> -8&255]<<8^n[q&255]^a[++C];c[2]=n[u>>>24]<<24^n[b>>>16&255]<<16^n[q>>>8&255]<<8^n[p&255]^a[++C];c[f?1:3]=n[b>>>24]<<24^n[q>>>16&255]<<16^n[p>>>8&255]<<8^n[u&255]^a[++C]}function g(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var k=f.start;return f.start=function(b,c){var d=null;c instanceof a.util.ByteBuffer&&(d=c,c={});c=c||{};c.output=d;c.iv=b;k.call(f,c)},f}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, +8&255]<<8^n[q&255]^a[++C];c[2]=n[u>>>24]<<24^n[b>>>16&255]<<16^n[q>>>8&255]<<8^n[p&255]^a[++C];c[f?1:3]=n[b>>>24]<<24^n[q>>>16&255]<<16^n[p>>>8&255]<<8^n[u&255]^a[++C]}function g(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var d=f.start;return f.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k=c,c={});c=c||{};c.output=k;c.iv=b;d.call(f,c)},f}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, c,f){a=g({key:a,output:c,decrypt:!1,mode:f});return a.start(b),a};a.aes.createEncryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!1,mode:b})};a.aes.startDecrypting=function(a,b,c,f){a=g({key:a,output:c,decrypt:!0,mode:f});return a.start(b),a};a.aes.createDecryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!0,mode:b})};a.aes.Algorithm=function(a,b){h||c();var f=this;f.name=a;f.mode=new b({blockSize:16,cipher:{encrypt:function(a,b){return d(f._w,a,b,!1)},decrypt:function(a, b){return d(f._w,a,b,!0)}}});f._init=!1};a.aes.Algorithm.prototype.initialize=function(b){if(!this._init){var c=b.key,f;if("string"!=typeof c||16!==c.length&&24!==c.length&&32!==c.length){if(a.util.isArray(c)&&(16===c.length||24===c.length||32===c.length)){f=c;for(var c=a.util.createBuffer(),d=0;d>>=2,d=0;dm)return h(null,w);u.start(null,null);u.update(c);u.update(a.util.int32ToBytes(C)); -A=r=u.digest().getBytes();t=2;q()}function q(){if(t<=k)return u.start(null,null),u.update(r),G=u.digest().getBytes(),A=a.util.xorBytes(A,G,e),r=G,++t,a.util.setImmediate(q);w+=C4294967295*e){b=Error("Derived key is too long.");if(h)return h(b);throw b;}var m=Math.ceil(g/e),p=g-(m-1)*e,u=a.hmac.create(); -u.start(l,b);var w="",A,G,r;if(!h){for(var C=1;C<=m;++C){u.start(null,null);u.update(c);u.update(a.util.int32ToBytes(C));A=r=u.digest().getBytes();for(var t=2;t<=k;++t)u.start(null,null),u.update(r),G=u.digest().getBytes(),A=a.util.xorBytes(A,G,e),r=G;w+=C4294967295*q){b=Error("Derived key is too long.");if(h)return h(b);throw b;}var m=Math.ceil(g/q),p=g-(m-1)*q,u=a.hmac.create(); +u.start(l,b);var w="",A,G,r;if(!h){for(var C=1;C<=m;++C){u.start(null,null);u.update(c);u.update(a.util.int32ToBytes(C));A=r=u.digest().getBytes();for(var t=2;t<=k;++t)u.start(null,null),u.update(r),G=u.digest().getBytes(),A=a.util.xorBytes(A,G,q),r=G;w+=Cc;++c)b=31===b?2147483648:b<<2,0===b%g.reseeds&&(a.update(g.pools[c].digest().getBytes()),g.pools[c].start());b=a.digest().getBytes();a.start();a.update(b);a=a.digest().getBytes();g.key=g.plugin.formatKey(b);g.seed=g.plugin.formatSeed(a);g.reseeds=4294967295===g.reseeds?0:g.reseeds+1;g.generated=0}function k(b){var c=null;if("undefined"!=typeof window){var f=window.crypto||window.msCrypto;f&&f.getRandomValues&&(c=function(a){return f.getRandomValues(a)})}var d=a.util.createBuffer();if(c)for(;d.length()< @@ -307,8 +307,8 @@ break;default:throw b=Error('Could not encrypt RSA private key; unsupported encr if("ENCRYPTED PRIVATE KEY"!==b.type&&"PRIVATE KEY"!==b.type&&"RSA PRIVATE KEY"!==b.type)throw c=Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".'),c.headerType=c,c;if(b.procType&&"ENCRYPTED"===b.procType.type){var k,h;switch(b.dekInfo.algorithm){case "DES-CBC":k=8;h=a.des.createDecryptionCipher;break;case "DES-EDE3-CBC":k=24;h=a.des.createDecryptionCipher;break;case "AES-128-CBC":k=16;h=a.aes.createDecryptionCipher; break;case "AES-192-CBC":k=24;h=a.aes.createDecryptionCipher;break;case "AES-256-CBC":k=32;h=a.aes.createDecryptionCipher;break;case "RC2-40-CBC":k=5;h=function(b){return a.rc2.createDecryptionCipher(b,40)};break;case "RC2-64-CBC":k=8;h=function(b){return a.rc2.createDecryptionCipher(b,64)};break;case "RC2-128-CBC":k=16;h=function(b){return a.rc2.createDecryptionCipher(b,128)};break;default:throw c=Error('Could not decrypt private key; unsupported encryption algorithm "'+b.dekInfo.algorithm+'".'), c.algorithm=b.dekInfo.algorithm,c;}var l=a.util.hexToBytes(b.dekInfo.parameters);k=a.pbe.opensslDeriveBytes(c,l.substr(0,8),k);h=h(k);h.start(l);h.update(a.util.createBuffer(b.body));if(!h.finish())return f;f=h.output.getBytes()}else f=b.body;return"ENCRYPTED PRIVATE KEY"===b.type?f=g.decryptPrivateKeyInfo(d.fromDer(f),c):f=d.fromDer(f),null!==f&&(f=g.privateKeyFromAsn1(f)),f};g.pbe.generatePkcs12Key=function(b,c,f,d,g,k){var h,l;if("undefined"==typeof k||null===k)k=a.md.sha1.create();var e=k.digestLength, -n=k.blockLength,m=new a.util.ByteBuffer,q=new a.util.ByteBuffer;if(null!==b&&void 0!==b){for(l=0;l>=8,B+=y.at(l)+x.at(l),x.setAt(l,B&255);C.putBuffer(x)}q=C;m.putBuffer(w)}return m.truncate(m.length()-g),m};g.pbe.getCipher=function(a,b,c){switch(a){case g.oids.pkcs5PBES2:return g.pbe.getCipherForPBES2(a,b,c);case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case g.oids["pbewithSHAAnd40BitRC2-CBC"]:return g.pbe.getCipherForPKCS12PBE(a, +n=k.blockLength,m=new a.util.ByteBuffer,q=new a.util.ByteBuffer;if(null!==b&&void 0!==b){for(l=0;l>=8,B+=y.at(l)+x.at(l),x.setAt(l,B&255);C.putBuffer(x)}q=C;m.putBuffer(w)}return m.truncate(m.length()-g),m};g.pbe.getCipher=function(a,b,c){switch(a){case g.oids.pkcs5PBES2:return g.pbe.getCipherForPBES2(a,b,c);case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case g.oids["pbewithSHAAnd40BitRC2-CBC"]:return g.pbe.getCipherForPKCS12PBE(a, b,c);default:throw b=Error("Cannot read encrypted PBE data block. Unsupported OID."),b.oid=a,b.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],b;}};g.pbe.getCipherForPBES2=function(b,c,f){var k={};b=[];if(!d.validate(c,e,k,b)){var h=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw h.errors=b,h;}b=d.derToOid(k.kdfOid);if(b!==g.oids.pkcs5PBKDF2)throw h=Error("Cannot read encrypted private key. Unsupported key derivation function OID."), h.oid=b,h.supportedOids=["pkcs5PBKDF2"],h;b=d.derToOid(k.encOid);if(b!==g.oids["aes128-CBC"]&&b!==g.oids["aes192-CBC"]&&b!==g.oids["aes256-CBC"]&&b!==g.oids["des-EDE3-CBC"]&&b!==g.oids.desCBC)throw h=Error("Cannot read encrypted private key. Unsupported encryption scheme OID."),h.oid=b,h.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],h;c=k.kdfSalt;var l=a.util.createBuffer(k.kdfIterationCount),l=l.getInt(l.length()<<3),n;switch(g.oids[b]){case "aes128-CBC":n=16;h=a.aes.createDecryptionCipher; break;case "aes192-CBC":n=24;h=a.aes.createDecryptionCipher;break;case "aes256-CBC":n=32;h=a.aes.createDecryptionCipher;break;case "des-EDE3-CBC":n=24;h=a.des.createDecryptionCipher;break;case "desCBC":n=8,h=a.des.createDecryptionCipher}b=a.pkcs5.pbkdf2(f,c,l,n);k=k.encIv;h=h(b);return h.start(k),h};g.pbe.getCipherForPKCS12PBE=function(b,c,f){var k={},h=[];if(!d.validate(c,m,k,h))throw f=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo."), @@ -651,8 +651,8 @@ for(var d=f=0;db?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,f,d,g,a,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){var c=0,f=a.raw();if(3< -f.length)return new k(f);for(;!a.isEmpty();){c<<=8;f=a.readUInt8();if(a.isError(f))return f;c|=f}b&&(c=b[c]||c);return c};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(e,b,a){a.der=e("./der")},{"./der":13}],15:[function(e,b,a){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){h.Node.call(this,"der",a)}function g(a){return 10>=a?"0"+a:a}a=e("inherits"); +8)|0,d=a.slice(8,10)|0,g=a.slice(10,12)|0;a=a.slice(12,14)|0}else if("utctime"===b)b=a.slice(0,2)|0,c=a.slice(2,4)|0,f=a.slice(4,6)|0,d=a.slice(6,8)|0,g=a.slice(8,10)|0,a=a.slice(10,12)|0,b=70>b?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,f,d,g,a,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){var c=0,d=a.raw();if(3< +d.length)return new k(d);for(;!a.isEmpty();){c<<=8;d=a.readUInt8();if(a.isError(d))return d;c|=d}b&&(c=b[c]||c);return c};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(e,b,a){a.der=e("./der")},{"./der":13}],15:[function(e,b,a){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){h.Node.call(this,"der",a)}function g(a){return 10>=a?"0"+a:a}a=e("inherits"); var m=e("buffer").Buffer;e=e("../../asn1");var h=e.base,k=e.bignum,n=e.constants.der;b.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a,b).join()};a(d,h.Node);d.prototype._encodeComposite=function(a,b,c,d){a:{var f=a;a=this.reporter;"seqof"===f?f="seq":"setof"===f&&(f="set");if(n.tagByName.hasOwnProperty(f))f=n.tagByName[f];else if("number"!==typeof f||(f|0)!==f){a=a.error("Unknown tag: "+f);break a}31<=f?a=a.error("Multi-octet tag encoding unsupported"):(b||(f|=32),a=f|=n.tagClassByName[c|| "universal"]<<6)}if(128>d.length)return b=new m(2),b[0]=a,b[1]=d.length,this._createEncoderBuffer([b,d]);f=1;for(c=d.length;256<=c;c>>=8)f++;b=new m(2+f);b[0]=a;b[1]=128|f;c=1+f;for(a=d.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,d])};d.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([a.unused|0,a.data]):"ia5str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")}; d.prototype._encodeObjid=function(a,b,c){if("string"===typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(b=0;bTask.lastFrame+d))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};e.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()},0)):null};e.asyncContinue=function(){var a=function(){Task.asyncContinue()};0Task.lastFrame+d))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};e.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()},0)):null};e.asyncContinue=function(){var a=function(){Task.asyncContinue()}; +0(new Date).getTime()){setTimeout(function(){l.searchWithParams(a,b,d,e,m)},100);return}EcRepository.fetching[f]=(new Date).getTime()+6E4}}else f=null;var p=new FormData; -p.append("data",c);null!=n&&p.append("searchParams",JSON.stringify(n));l=this;1==EcRepository.unsigned||1==g.unsigned?(p.append("signatureSheet","[]"),EcRemote.postExpectingObject(l.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];l.handleSearchResults(a,d,e,m)},function(a){null!=f&&delete EcRepository.fetching[f];null!=m&&m(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer, -function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(l.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];l.handleSearchResults(a,d,e,m)},function(a){null!=f&&delete EcRepository.fetching[f];null!=m&&m(a)})},m)}};b.searchWithParamsBlocking=function(a,b){var c;null==b&&(b={});var e={};c=this.searchParamProps(a,b,e);null!=b.fields&&(e.fields=b.fields);a=EcRemote.async;EcRemote.async=!1;var m; -m=JSON.stringify(e)+c;if(EcRepository.cachingSearch&&null!=EcRepository.cache[m])return this.handleSearchResults(EcRepository.cache[m],null,null,null);var h=new FormData;h.append("data",c);null!=e&&h.append("searchParams",JSON.stringify(e));1==EcRepository.unsigned||1==b.unsigned?(h.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[m]=a;null!=m&&delete EcRepository.fetching[m]},function(a){null!=m&&delete EcRepository.fetching[m]; -EcRepository.cache[m]=null})):(b=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),h.append("signatureSheet",b),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[m]=a;null!=m&&delete EcRepository.fetching[m]},function(a){null!=m&&delete EcRepository.fetching[m];EcRepository.cache[m]=null}));b=this.handleSearchResults(EcRepository.cache[m],null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[m];EcRemote.async= -a;return b};b.searchParamProps=function(a,b,d){null!=b.start&&(d.start=b.start);null!=b.size&&(d.size=b.size);null!=b.types&&(d.types=b.types);null!=b.sort&&(d.sort=b.sort);null!=b.track_scores&&(d.track_scores=b.track_scores);null!=b.index_hint&&(d.index_hint=b.index_hint);if(null!=b.ownership)if(b=b.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==b)a+=" AND (_missing_:@owner)";else if("owned"==b)a+=" AND (_exists_:@owner)";else if("me"==b){a+=" AND (";for(b=0;b(new Date).getTime()){setTimeout(function(){l.searchWithParams(a,b,d,e,m)},100);return}EcRepository.fetching[f]=(new Date).getTime()+6E4}}else f=null;var p=new FormData;p.append("data",c);null!=n&&p.append("searchParams",JSON.stringify(n));l=this;1==EcRepository.unsigned||1==g.unsigned?(p.append("signatureSheet","[]"), +EcRemote.postExpectingObject(l.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];l.handleSearchResults(a,d,e,m)},function(a){null!=f&&delete EcRepository.fetching[f];null!=m&&m(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer,function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(l.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]= +a);null!=f&&delete EcRepository.fetching[f];l.handleSearchResults(a,d,e,m)},function(a){null!=f&&delete EcRepository.fetching[f];null!=m&&m(a)})},m)}};b.searchWithParamsBlocking=function(a,b){var c;null==b&&(b={});var e={};c=this.searchParamProps(a,b,e);null!=b.fields&&(e.fields=b.fields);a=EcRemote.async;EcRemote.async=!1;var m;m=JSON.stringify(e)+c;if(EcRepository.cachingSearch&&null!=EcRepository.cache[m])return this.handleSearchResults(EcRepository.cache[m],null,null,null);var h=new FormData; +h.append("data",c);null!=e&&h.append("searchParams",JSON.stringify(e));1==EcRepository.unsigned||1==b.unsigned?(h.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[m]=a;null!=m&&delete EcRepository.fetching[m]},function(a){null!=m&&delete EcRepository.fetching[m];EcRepository.cache[m]=null})):(b=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),h.append("signatureSheet",b),EcRemote.postExpectingObject(this.selectedServer, +"sky/repo/search",h,function(a){EcRepository.cache[m]=a;null!=m&&delete EcRepository.fetching[m]},function(a){null!=m&&delete EcRepository.fetching[m];EcRepository.cache[m]=null}));b=this.handleSearchResults(EcRepository.cache[m],null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[m];EcRemote.async=a;return b};b.searchParamProps=function(a,b,d){null!=b.start&&(d.start=b.start);null!=b.size&&(d.size=b.size);null!=b.types&&(d.types=b.types);null!=b.sort&&(d.sort=b.sort);null!=b.track_scores&& +(d.track_scores=b.track_scores);null!=b.index_hint&&(d.index_hint=b.index_hint);if(null!=b.ownership)if(b=b.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==b)a+=" AND (_missing_:@owner)";else if("owned"==b)a+=" AND (_exists_:@owner)";else if("me"==b){a+=" AND (";for(b=0;b} success + * Callback triggered after retrieving the comment, + * returns the comment retrieved + * @param {Callback1} failure + * Callback triggered if error retrieving comment + * @memberOf EcComment + * @method get + * @static + */ + constructor.get = function(id, success, failure) { + EcRepository.getAs(id, new EcComment(), success, failure); + }; + /** + * Retrieves an comment from it's server synchronously, the call + * blocks until it is successful or an error occurs + * + * @param {String} id + * ID of the comment to retrieve + * @return EcComment + * The concept retrieved + * @memberOf EcComment + * @method getBlocking + * @static + */ + constructor.getBlocking = function(id) { + return EcRepository.getBlockingAs(id, new EcComment()); + }; + /** + * Searches a repository for comments that match the search query + * + * @param {EcRepository} repo Repository to search using the query + * @param {String} query Query string to pass to the search web service + * @param {Callback1> success Callback triggered after + * completing the search, returns the results + * @param {Callback1} failure Callback triggered if error searching + * @param {Object} paramObj Parameter object for search + * @memberOf EcComment + * @method search + * @static + */ + constructor.search = function(repo, query, success, failure, paramObj) { + EcRepository.searchAs(repo, query, function() { + return new EcComment(); + }, success, failure, paramObj); + }; + /** + * Sets the comment's subject as follows: + * Comment.isBasedOn: framework.shortId to provide a framework context to the comment + * Comment.about: aboutObj.shortId to provide an about/subject to the comment + * + * @param {EcFramework} framework Framework which contains the id to set to the comment's isBasedOn + * @param {EcRemoteLinkedData} aboutObj Object which contains the id to set to the comment's about + * @method setSubject + */ + prototype.setSubject = function(framework, aboutObj) { + if (framework != null) { + (this)["isBasedOn"] = framework.shortId(); + } + if (aboutObj != null) { + (this)["about"] = aboutObj.shortId(); + } + }; + /** + * Sets the comment's subject as follows: + * Comment.isBasedOn: frameworkId to provide a framework context to the comment + * Comment.about: aboutId to provide an about/subject to the comment + * + * @param {String} frameworkId Framework ID to set to the comment's isBasedOn + * @param {String} aboutId Object ID to set to the comment's about + * @method setSubjectIds + */ + prototype.setSubjectIds = function(frameworkId, aboutId) { + if (frameworkId != null) { + (this)["isBasedOn"] = frameworkId; + } + if (aboutId != null) { + (this)["about"] = aboutId; + } + }; + /** + * Sets the comment's creator to the ID of the given person object + * @param {EcPerson} person Person which contains the id to set to the comment's creator + * @method setCreator + */ + prototype.setCreator = function(creatorObj) { + if (creatorObj != null) { + (this)["creator"] = creatorObj.shortId(); + } + }; + /** + * Sets the comment's creator to the given person ID + * @param {String} creatorId ID of the person to set to the comment's creator + * @method setCreatorId + */ + prototype.setCreatorId = function(creatorId) { + if (creatorId != null) { + (this)["creator"] = creatorId; + } + }; + /** + * Sets the comment's dateCreated to the given time in milliseconds + * @param {String} longDateString The time in milliseconds to set to the comment's dateCreated + * @method setDateCreated + */ + prototype.setDateCreated = function(longDateString) { + if (longDateString != null) { + (this)["dateCreated"] = longDateString; + } + }; +}, {parentItem: "Question", about: "Thing", educationalAlignment: "AlignmentObject", associatedMedia: "MediaObject", funder: "Person", audio: "AudioObject", workExample: "CreativeWork", provider: "Person", encoding: "MediaObject", character: "Person", audience: "Audience", sourceOrganization: "Organization", isPartOf: "CreativeWork", video: "VideoObject", publication: "PublicationEvent", contributor: "Organization", reviews: "Review", hasPart: "CreativeWork", releasedEvent: "PublicationEvent", contentLocation: "Place", aggregateRating: "AggregateRating", locationCreated: "Place", accountablePerson: "Person", spatialCoverage: "Place", offers: "Offer", editor: "Person", copyrightHolder: "Person", recordedAt: "Event", publisher: "Person", interactionStatistic: "InteractionCounter", exampleOfWork: "CreativeWork", mainEntity: "Thing", author: "Person", timeRequired: "Duration", translator: "Person", comment: "Comment", inLanguage: "Language", review: "Review", license: "CreativeWork", encodings: "MediaObject", isBasedOn: "Product", creator: "Person", sponsor: "Organization", producer: "Person", mentions: "Thing", identifier: "Object", image: "Object", potentialAction: "Action", mainEntityOfPage: "Object", owner: {name: "Array", arguments: [null]}, signature: {name: "Array", arguments: [null]}, reader: {name: "Array", arguments: [null]}, atProperties: {name: "Array", arguments: [null]}}, {}); var EcQuestion = function() { Question.call(this); }; @@ -364,12 +483,12 @@ EcOrganization = stjs.extend(EcOrganization, Organization, [], function(construc /** * Searches a repository for organizations that match the search query * - * @param {EcRepository} repo Repository to search using the query - * @param {String} query Query string to pass to the search web service - * @param {Callback1> success Callback triggered after - * completing the search, returns the results - * @param {Callback1} failure Callback triggered if error searching - * @param {Object} paramObj Parameter object for search + * @param {EcRepository} repo Repository to search using the query + * @param {String} query Query string to pass to the search web service + * @param {Callback1> success Callback triggered after + * completing the search, returns the results + * @param {Callback1} failure Callback triggered if error searching + * @param {Object} paramObj Parameter object for search * @memberOf EcOrganization * @method search * @static diff --git a/src/main/webapp/js/cass/ebac.repository.js b/src/main/webapp/js/cass/ebac.repository.js index b3a05690f..80c1bbb33 100644 --- a/src/main/webapp/js/cass/ebac.repository.js +++ b/src/main/webapp/js/cass/ebac.repository.js @@ -1482,6 +1482,8 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + if (repo != null) + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(repo.selectedServer, data.getGuid())]; } if (data.invalid()) { failure("Data is malformed."); @@ -1612,6 +1614,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { delete (EcRepository.cache)[data.id]; delete (EcRepository.cache)[data.shortId()]; + delete (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, data.getGuid())]; } var targetUrl; if (EcRepository.shouldTryUrl(data.id)) @@ -1717,6 +1720,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy } (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(me.selectedServer, d.getGuid())] = d; } } if (success != null) { @@ -2347,6 +2351,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (EcRepository.caching) { (EcRepository.cache)[d.shortId()] = d; (EcRepository.cache)[d.id] = d; + (EcRepository.cache)[EcRemoteLinkedData.veryShortId(this.selectedServer, d.getGuid())] = d; } if (eachSuccess != null) { eachSuccess(results[i]); diff --git a/src/main/webapp/js/cass/ec.base.js b/src/main/webapp/js/cass/ec.base.js index 30d923a23..0d844d44b 100644 --- a/src/main/webapp/js/cass/ec.base.js +++ b/src/main/webapp/js/cass/ec.base.js @@ -849,6 +849,11 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { if (failure != null) failure(xhrx.responseText); }; + xhr.onerror = function(e) { + if (failure != null) { + failure(null); + } + }; } if (xhr != null) { if (EcRemote.async) diff --git a/src/main/webapp/pom.xml b/src/main/webapp/pom.xml index bc50528c0..a20d24ecf 100644 --- a/src/main/webapp/pom.xml +++ b/src/main/webapp/pom.xml @@ -11,7 +11,7 @@ http://github.com/cassproject/cass - 2.11.6 + 2.11.8 UTF-8 diff --git a/yuidoc.json b/yuidoc.json index 7da165557..acd364afb 100644 --- a/yuidoc.json +++ b/yuidoc.json @@ -1,7 +1,7 @@ { "name": "CASS Javascript Library", "description": "CASS Javascript Library API: ", - "version": "1.2.33", + "version": "1.2.34", "url": "http://cassproject.org/", "logo": "http://docs.cassproject.org/img/customLogo-blue.png", "options": {