PageSourceSearch

https://lightsats.fly.dev/_next/static/chunks/385-5bd6a0988d6834db.js

js lightsats.fly.dev collected 2026-10-03 08:27:43 UTC 44,262 bytes, 21 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[385],{22804:function(e,i,r){Object.defineProperty(i,"__esModule",{value:!0});let{Decimal:t,objectEnumValues:n,makeStrictEnum:s,Public:o}=r(73847),a={};i.Prisma=a,a.prismaVersion={client:"4.16.2",engine:"4bc8b6e1b66cb932731fb1bdbbc550d1e010de81"},a.PrismaClientKnownRequestError=()=>{throw Error(`PrismaClientKnownRequestError is unable to be run in the browser.
2In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.PrismaClientUnknownRequestError=()=>{throw Error(`PrismaClientUnknownRequestError is unable to be run in the browser.
3In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.PrismaClientRustPanicError=()=>{throw Error(`PrismaClientRustPanicError is unable to be run in the browser.
4In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.PrismaClientInitializationError=()=>{throw Error(`PrismaClientInitializationError is unable to be run in the browser.
5In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.PrismaClientValidationError=()=>{throw Error(`PrismaClientValidationError is unable to be run in the browser.
6In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.NotFoundError=()=>{throw Error(`NotFoundError is unable to be run in the browser.
7In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.Decimal=t,a.sql=()=>{throw Error(`sqltag is unable to be run in the browser.
8In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.empty=()=>{throw Error(`empty is unable to be run in the browser.
9In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.join=()=>{throw Error(`join is unable to be run in the browser.
10In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.raw=()=>{throw Error(`raw is unable to be run in the browser.
11In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.validator=o.validator,a.getExtensionContext=()=>{throw Error(`Extensions.getExtensionContext is unable to be run in the browser.
12In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.defineExtension=()=>{throw Error(`Extensions.defineExtension is unable to be run in the browser.
13In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)},a.DbNull=n.instances.DbNull,a.JsonNull=n.instances.JsonNull,a.AnyNull=n.instances.AnyNull,a.NullTypes={DbNull:n.classes.DbNull,JsonNull:n.classes.JsonNull,AnyNull:n.classes.AnyNull},i.Prisma.TransactionIsolationLevel=s({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),i.Prisma.AccountScalarFieldEnum={id:"id",userId:"userId",type:"type",provider:"provider",providerAccountId:"providerAccountId",refresh_token:"refresh_token",access_token:"access_token",expires_at:"expires_at",token_type:"token_type",scope:"scope",id_token:"id_token",session_state:"session_state"},i.Prisma.SessionScalarFieldEnum={id:"id",sessionToken:"sessionToken",userId:"userId",expires:"expires"},i.Prisma.VerificationTokenScalarFieldEnum={identifier:"identifier",token:"token",expires:"expires"},i.Prisma.UserScalarFieldEnum={id:"id",lnurlPublicKey:"lnurlPublicKey",email:"email",phoneNumber:"phoneNumber",name:"name",avatarURL:"avatarURL",twitterUsername:"twitterUsername",lightningAddress:"lightningAddress",locale:"locale",emailVerified:"emailVerified",isAnonymous:"isAnonymous",journeyStep:"journeyStep",inJourney:"inJourney",userType:"userType",created:"created",updated:"updated",lastWithdrawal:"lastWithdrawal"},i.Prisma.UserAPIKeyScalarFieldEnum={id:"id",created:"created",userId:"userId"},i.Prisma.TipGroupScalarFieldEnum={id:"id",created:"created",updated:"updated",status:"status",name:"name",quantity:"quantity",tipperId:"tipperId",invoice:"invoice",invoiceId:"invoiceId",enableStaticLink:"enableStaticLink"},i.Prisma.TipScalarFieldEnum={id:"id",amount:"amount",fee:"fee",tipperId:"tipperId",tippeeId:"tippeeId",tippeeName:"tippeeName",tippeeLocale:"tippeeLocale",invoice:"invoice",invoiceId:"invoiceId",preparationInvoice:"preparationInvoice",preparationInvoiceId:"preparationInvoiceId",status:"status",created:"created",updated:"updated",claimed:"claimed",expiry:"expiry",copiedClaimUrl:"copiedClaimUrl",currency:"currency",note:"note",version:"version",withdrawalId:"withdrawalId",numSmsTokens:"numSmsTokens",onboardingFlow:"onboardingFlow",lastWithdrawal:"lastWithdrawal",groupId:"groupId",groupTipIndex:"groupTipIndex",claimedFromPrintedCard:"claimedFromPrintedCard",recommendedWalletId:"recommendedWalletId",anonymousTipper:"anonymousTipper",passphrase:"passphrase",claimWebhookUrl:"claimWebhookUrl",withdrawWebhookUrl:"withdrawWebhookUrl",type:"type",advertisementImageUrl:"advertisementImageUrl",advertisementUrl:"advertisementUrl"}
13,i.Prisma.LnbitsWalletScalarFieldEnum={id:"id",tipId:"tipId",tipGroupId:"tipGroupId",userId:"userId",lnbitsUserId:"lnbitsUserId",adminKey:"adminKey",created:"created"},i.Prisma.LnurlAuthKeyScalarFieldEnum={k1:"k1",key:"key",created:"created",linkUserId:"linkUserId"},i.Prisma.WithdrawalLinkScalarFieldEnum={id:"id",userId:"userId",tipId:"tipId",withdrawalFlow:"withdrawalFlow",used:"used",created:"created",updated:"updated",amount:"amount",fee:"fee",lnurl:"lnurl"},i.Prisma.WithdrawalLinkTipScalarFieldEnum={tipId:"tipId",withdrawalLinkId:"withdrawalLinkId"},i.Prisma.WithdrawalScalarFieldEnum={id:"id",userId:"userId",routingFee:"routingFee",withdrawalInvoiceId:"withdrawalInvoiceId",withdrawalInvoice:"withdrawalInvoice",withdrawalFlow:"withdrawalFlow",withdrawalMethod:"withdrawalMethod",created:"created"},i.Prisma.WithdrawalErrorScalarFieldEnum={id:"id",userId:"userId",tipId:"tipId",message:"message",created:"created",withdrawalFlow:"withdrawalFlow",withdrawalMethod:"withdrawalMethod",withdrawalInvoice:"withdrawalInvoice"},i.Prisma.UserRoleScalarFieldEnum={userId:"userId",roleType:"roleType",created:"created"},i.Prisma.SentReminderScalarFieldEnum={userId:"userId",tipId:"tipId",reminderType:"reminderType",delivered:"delivered",created:"created",updated:"updated"},i.Prisma.NotificationScalarFieldEnum={id:"id",userId:"userId",tipId:"tipId",withdrawalId:"withdrawalId",achievementType:"achievementType",type:"type",created:"created",updated:"updated",read:"read"},i.Prisma.LeaderboardScalarFieldEnum={id:"id",title:"title",global:"global",public:"public",created:"created",updated:"updated",start:"start",end:"end",creatorId:"creatorId",theme:"theme",password:"password"},i.Prisma.LeaderboardUserScalarFieldEnum={userId:"userId",leaderboardId:"leaderboardId",created:"created"},i.Prisma.AchievementScalarFieldEnum={type:"type",userId:"userId",created:"created",updated:"updated"},i.Prisma.SmsLogScalarFieldEnum={id:"id",to:"to",userId:"userId",smsType:"smsType",created:"created",success:"success",usedProvider:"usedProvider"},i.Prisma.SortOrder={asc:"asc",desc:"desc"},i.Prisma.QueryMode={default:"default",insensitive:"insensitive"},i.Prisma.NullsOrder={first:"first",last:"last"},i.UserType={tipper:"tipper",tippee:"tippee"},i.TipGroupStatus={UNFUNDED:"UNFUNDED",FUNDED:"FUNDED",DELETED:"DELETED"},i.TipStatus={UNFUNDED:"UNFUNDED",UNCLAIMED:"UNCLAIMED",CLAIMED:"CLAIMED",WITHDRAWN:"WITHDRAWN",REFUNDED:"REFUNDED",WITHDRAWING:"WITHDRAWING",WITHDRAWAL_FAILED:"WITHDRAWAL_FAILED",RECLAIMED:"RECLAIMED",UNAVAILABLE:"UNAVAILABLE",UNSEEN:"UNSEEN",SEEN:"SEEN",DELETED:"DELETED"},i.OnboardingFlow={DEFAULT:"DEFAULT",SKIP:"SKIP",LIGHTNING:"LIGHTNING"},i.TipType={CUSTODIAL:"CUSTODIAL",NON_CUSTODIAL_NWC:"NON_CUSTODIAL_NWC"},i.WithdrawalFlow={tipper:"tipper",tippee:"tippee",anonymous:"anonymous"},i.WithdrawalMethod={lnurlw:"lnurlw",invoice:"invoice",webln:"webln",lightning_address:"lightning_address"},i.RoleType={SUPERADMIN:"SUPERADMIN"},i.ReminderType={ONE_DAY_AFTER_CLAIM:"ONE_DAY_AFTER_CLAIM",ONE_DAY_BEFORE_EXPIRY:"ONE_DAY_BEFORE_EXPIRY"},i.AchievementType={SELF_CLAIMED:"SELF_CLAIMED",BECAME_TIPPER:"BECAME_TIPPER",LINKED_EMAIL:"LINKED_EMAIL",LINKED_WALLET:"LINKED_WALLET",SET_NAME:"SET_NAME",SET_AVATAR_URL:"SET_AVATAR_URL",SET_LIGHTNING_ADDRESS:"SET_LIGHTNING_ADDRESS",CREATED_TIP:"CREATED_TIP",FUNDED_TIP:"FUNDED_TIP",TIP_CLAIMED:"TIP_CLAIMED",TIP_WITHDRAWN:"TIP_WITHDRAWN",WEBLN_WITHDRAWN:"WEBLN_WITHDRAWN",MANUAL_WITHDRAWN:"MANUAL_WITHDRAWN",LNURL_WITHDRAWN:"LNURL_WITHDRAWN",EARLY_SUPPORTER:"EARLY_SUPPORTER",SENT_1K:"SENT_1K",SENT_10K:"SENT_10K",SENT_100K:"SENT_100K",SENT_1M:"SENT_1M",TOP_10:"TOP_10",TOP_3:"TOP_3",TOP_1:"TOP_1",MOST_WITHDRAWN_TIPS:"MOST_WITHDRAWN_TIPS",PWA:"PWA",TIPS_10:"TIPS_10",TIPS_25:"TIPS_25",TIPS_50:"TIPS_50",TIPS_100:"TIPS_100",TIPPED_A_BITCOINER:"TIPPED_A_BITCOINER",BULK_TIP_CREATED:"BULK_TIP_CREATED",BULK_TIP_FUNDED:"BULK_TIP_FUNDED",BULK_TIP_CLAIMED:"BULK_TIP_CLAIMED",BULK_TIP_WITHDRAWN:"BULK_TIP_WITHDRAWN",BULK_TIP_ALL_WITHDRAWN:"BULK_TIP_ALL_WITHDRAWN",BULK_TIP_10:"BULK_TIP_10",BULK_TIP_25:"BULK_TIP_25",BULK_TIP_50:"BULK_TIP_50",BULK_TIP_100:"BULK_TIP_100",PRINTED_CARD_TIP_CLAIMED:"PRINTED_CARD_TIP_CLAIMED",PRINTED_CARD_TIP_WITHDRAWN:"PRINTED_CARD_TIP_WITHDRAWN"},i.NotificationType={COMPLETE_PROFILE:"COMPLETE_PROFILE",LINK_EMAIL:"LINK_EMAIL",TIP_CLAIMED:"TIP_CLAIMED",TIP_WITHDRAWN:"TIP_WITHDRAWN",ACHIEVEMENT_UNLOCKED:"ACHIEVEMENT_UNLOCKED",TIP_RECLAIMED:"TIP_RECLAIMED",AUTOMATIC_REFUND:"AUTOMATIC_REFUND"},i.LeaderboardTheme={CHRISTMAS:"CHRISTMAS"},i.SmsType={LOGIN:"LOGIN",REMINDER:"REMINDER"},i.Prisma.ModelName={Account:"Account",Session:"Session",VerificationToken:"VerificationToken",User:"User",UserAPIKey:"UserAPIKey",TipGroup:"TipGroup",Tip:"Tip",LnbitsWallet:"LnbitsWallet",LnurlAuthKey:"LnurlAuthKey",WithdrawalLink:"WithdrawalLink",WithdrawalLinkTip:"WithdrawalLinkTip",Withdrawal:"Withdrawal",WithdrawalError:"WithdrawalError",UserRole:"UserRole",SentReminder:"SentReminder",Notification:"Notification",Leaderboard:"Leaderboard",LeaderboardUser:"LeaderboardUser",Achievement:"Achievement",SmsLog:"SmsLog"},i.PrismaClient=class{constructor(){throw Error(`PrismaClient is unable to be run in the browser.
14In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`)}},Object.assign(i,a)},70385:function(e,i,r){let t=r(22804);e.exports=t},73847:function(e){"use strict";var i,r,t,n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,u=(e,i)=>{for(var r in i)n(e,r,{get:i[r],enumerable:!0})},c={};
14u(c,{Decimal:()=>eQ,Public:()=>d,makeStrictEnum:()=>v,objectEnumValues:()=>I}),e.exports=((e,i,r,t)=>{if(i&&"object"==typeof i||"function"==typeof i)for(let u of o(i))a.call(e,u)||void 0===u||n(e,u,{get:()=>i[u],enumerable:!(t=s(i,u))||t.enumerable});return e})(n({},"__esModule",{value:!0}),c);var d={};function l(...e){return e=>e}u(d,{validator:()=>l});var h=Symbol(),p=new WeakMap,f=class{constructor(e){e===h?p.set(this,`Prisma.${this._getName()}`):p.set(this,`new Prisma.${this._getNamespace()}.${this._getName()}()`)}_getName(){return this.constructor.name}toString(){return p.get(this)}},m=class extends f{_getNamespace(){return"NullTypes"}},w=class extends m{};N(w,"DbNull");var g=class extends m{};N(g,"JsonNull");var E=class extends m{};N(E,"AnyNull");var I={classes:{DbNull:w,JsonNull:g,AnyNull:E},instances:{DbNull:new w(h),JsonNull:new g(h),AnyNull:new E(h)}};function N(e,i){Object.defineProperty(e,"name",{value:i,configurable:!0})}var T=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function v(e){return new Proxy(e,{get(e,i){if(i in e)return e[i];if(!T.has(i))throw TypeError(`Invalid enum value: ${String(i)}`)}})}var _="0123456789abcdef",b="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",A="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",P={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},D=!0,L="[DecimalError] ",y=L+"Invalid argument: ",S=L+"Precision limit exceeded",R=L+"crypto unavailable",U="[object Decimal]",M=Math.floor,x=Math.pow,W=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,F=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,C=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,O=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,k=b.length-1,K=A.length-1,H={toStringTag:U};function q(e){var i,r,t,n=e.length-1,s="",o=e[0];if(n>0){for(s+=o,i=1;i<n;i++)(r=7-(t=e[i]+"").length)&&(s+=Q(r)),s+=t;(r=7-(t=(o=e[i])+"").length)&&(s+=Q(r))}else if(0===o)return"0";for(;o%10==0;)o/=10;return s+o}function B(e,i,r){if(e!==~~e||e<i||e>r)throw Error(y+e)}function V(e,i,r,t){var n,s,o,a;for(s=e[0];s>=10;s/=10)--i;return--i<0?(i+=7,n=0):(n=Math.ceil((i+1)/7),i%=7),s=x(10,7-i),a=e[n]%s|0,null==t?i<3?(0==i?a=a/100|0:1==i&&(a=a/10|0),o=r<4&&99999==a||r>3&&49999==a||5e4==a||0==a):o=(r<4&&a+1==s||r>3&&a+1==s/2)&&(e[n+1]/s/100|0)==x(10,i-2)-1||(a==s/2||0==a)&&(e[n+1]/s/100|0)==0:i<4?(0==i?a=a/1e3|0:1==i?a=a/100|0:2==i&&(a=a/10|0),o=(t||r<4)&&9999==a||!t&&r>3&&4999==a):o=((t||r<4)&&a+1==s||!t&&r>3&&a+1==s/2)&&(e[n+1]/s/1e3|0)==x(10,i-3)-1,o}function Z(e,i,r){for(var t,n,s=[0],o=0,a=e.length;o<a;){for(n=s.length;n--;)s[n]*=i;for(s[0]+=_.indexOf(e.charAt(o++)),t=0;t<s.length;t++)s[t]>r-1&&(void 0===s[t+1]&&(s[t+1]=0),s[t+1]+=s[t]/r|0,s[t]%=r)}return s.reverse()}H.absoluteValue=H.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),j(e)},H.ceil=function(){return j(new this.constructor(this),this.e+1,2)},H.clampedTo=H.clamp=function(e,i){var r,t=this.constructor;if(e=new t(e),i=new t(i),!e.s||!i.s)return new t(NaN);if(e.gt(i))throw Error(y+i);return 0>this.cmp(e)?e:this.cmp(i)>0?i:new t(this)},H.comparedTo=H.cmp=function(e){var i,r,t,n,s=this.d,o=(e=new this.constructor(e)).d,a=this.s,u=e.s;if(!s||!o)return a&&u?a!==u?a:s===o?0:!s^a<0?1:-1:NaN;if(!s[0]||!o[0])return s[0]?a:o[0]?-u:0;if(a!==u)return a;
14if(this.e!==e.e)return this.e>e.e^a<0?1:-1;for(i=0,t=s.length,r=t<(n=o.length)?t:n;i<r;++i)if(s[i]!==o[i])return s[i]>o[i]^a<0?1:-1;return t===n?0:t>n^a<0?1:-1},H.cosine=H.cos=function(){var e,i,t=this,n=t.constructor;return t.d?t.d[0]?(e=n.precision,i=n.rounding,n.precision=e+Math.max(t.e,t.sd())+7,n.rounding=1,t=function(e,i){var r,t,n;if(i.isZero())return i;(t=i.d.length)<32?n=(1/eu(4,r=Math.ceil(t/3))).toString():(r=16,n="2.3283064365386962890625e-10"),e.precision+=r,i=ea(e,1,i.times(n),new e(1));for(var s=r;s--;){var o=i.times(i);i=o.times(o).minus(o).times(8).plus(1)}return e.precision-=r,i}(n,ec(n,t)),n.precision=e,n.rounding=i,j(2==r||3==r?t.neg():t,e,i,!0)):new n(1):new n(NaN)},H.cubeRoot=H.cbrt=function(){var e,i,r,t,n,s,o,a,u,c,d=this.constructor;if(!this.isFinite()||this.isZero())return new d(this);for(D=!1,(s=this.s*x(this.s*this,1/3))&&Math.abs(s)!=1/0?t=new d(s.toString()):(r=q(this.d),(s=((e=this.e)-r.length+1)%3)&&(r+=1==s||-2==s?"0":"00"),s=x(r,1/3),e=M((e+1)/3)-(e%3==(e<0?-1:2)),r=s==1/0?"5e"+e:(r=s.toExponential()).slice(0,r.indexOf("e")+1)+e,(t=new d(r)).s=this.s),o=(e=d.precision)+3;;)if(t=G((c=(u=(a=t).times(a).times(a)).plus(this)).plus(this).times(a),c.plus(u),o+2,1),q(a.d).slice(0,o)===(r=q(t.d)).slice(0,o)){if("9999"!=(r=r.slice(o-3,o+1))&&(n||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(j(t,e+1,1),i=!t.times(t).times(t).eq(this));break}if(!n&&(j(a,e+1,0),a.times(a).times(a).eq(this))){t=a;break}o+=4,n=1}return D=!0,j(t,e,d.rounding,i)},H.decimalPlaces=H.dp=function(){var e,i=this.d,r=NaN;if(i){if(r=((e=i.length-1)-M(this.e/7))*7,e=i[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},H.dividedBy=H.div=function(e){return G(this,new this.constructor(e))},H.dividedToIntegerBy=H.divToInt=function(e){var i=this.constructor;return j(G(this,new i(e),0,1,1),i.precision,i.rounding)},H.equals=H.eq=function(e){return 0===this.cmp(e)},H.floor=function(){return j(new this.constructor(this),this.e+1,3)},H.greaterThan=H.gt=function(e){return this.cmp(e)>0},H.greaterThanOrEqualTo=H.gte=function(e){var i=this.cmp(e);return 1==i||0===i},H.hyperbolicCosine=H.cosh=function(){var e,i,r,t,n,s=this,o=s.constructor,a=new o(1);if(!s.isFinite())return new o(s.s?1/0:NaN);if(s.isZero())return a;r=o.precision,t=o.rounding,o.precision=r+Math.max(s.e,s.sd())+4,o.rounding=1,(n=s.d.length)<32?i=(1/eu(4,e=Math.ceil(n/3))).toString():(e=16,i="2.3283064365386962890625e-10"),s=ea(o,1,s.times(i),new o(1),!0);for(var u,c=e,d=new o(8);c--;)u=s.times(s),s=a.minus(u.times(d.minus(u.times(d))));return j(s,o.precision=r,o.rounding=t,!0)},H.hyperbolicSine=H.sinh=function(){var e,i,r,t,n=this,s=n.constructor;if(!n.isFinite()||n.isZero())return new s(n);if(i=s.precision,r=s.rounding,s.precision=i+Math.max(n.e,n.sd())+4,s.rounding=1,(t=n.d.length)<3)n=ea(s,2,n,n,!0);else{e=(e=1.4*Math.sqrt(t))>16?16:0|e,n=ea(s,2,n=n.times(1/eu(5,e)),n,!0);for(var o,a=new s(5),u=new s(16),c=new s(20);e--;)o=n.times(n),n=n.times(a.plus(o.times(u.times(o).plus(c))))}return s.precision=i,s.rounding=r,j(n,i,r,!0)},H.hyperbolicTangent=H.tanh=function(){var e,i,r=this.constructor;return this.isFinite()?this.isZero()?new r(this):(e=r.precision,i=r.rounding,r.precision=e+7,r.rounding=1,G(this.sinh(),this.cosh(),r.precision=e,r.rounding=i)):new r(this.s)},H.inverseCosine=H.acos=function(){var e,i=this,r=i.constructor,t=i.abs().cmp(1),n=r.precision,s=r.rounding;return -1!==t?0===t?i.isNeg()?z(r,n,s):new r(0):new r(NaN):i.isZero()?z(r,n+4,s).times(.5):(r.precision=n+6,r.rounding=1,i=i.asin(),e=z(r,n+4,s).times(.5),r.precision=n,r.rounding=s,e.minus(i))},H.inverseHyperbolicCosine=H.acosh=function(){var e,i,r=this,t=r.constructor;return r.lte(1)?new t(r.eq(1)?0:NaN):r.isFinite()?(e=t.precision,i=t.rounding,t.precision=e+Math.max(Math.abs(r.e),r.sd())+4,t.rounding=1,D=!1,r=r.times(r).minus(1).sqrt().plus(r),D=!0,t.precision=e,t.rounding=i,r.ln()):new t(r)},H.inverseHyperbolicSine=H.asinh=function(){var e,i,r=this,t=r.constructor;return!r.isFinite()||r.isZero()?new t(r):(e=t.precision,i=t.rounding,t.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,t.rounding=1,D=!1,r=r.times(r).plus(1).sqrt().plus(r),D=!0,t.precision=e,t.rounding=i,r.ln())},H.inverseHyperbolicTangent=H.atanh=function(){var e,i,r,t,n=this,s=n.constructor;return n.isFinite()?n.e>=0?new s(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(e=s.precision,i=s.rounding,Math.max(t=n.sd(),e)<-(2*n.e)-1)?j(new s(n),e,i,!0):(s.precision=r=t-n.e,n=G(n.plus(1),new s(1).minus(n),r+e,1),s.precision=e+4,s.rounding=1,n=n.ln(),s.precision=e,s.rounding=i,n.times(.5)):new s(NaN)},H.inverseSine=H.asin=function(){var e,i,r,t,n=this,s=n.constructor;return n.isZero()?new s(n):(i=n.abs().cmp(1),r=s.precision,t=s.rounding,-1!==i)?0===i?((e=z(s,r+4,t).times(.5)).s=n.s,e):new s(NaN):(s.precision=r+6,s.roun
14ding=1,n=n.div(new s(1).minus(n.times(n)).sqrt().plus(1)).atan(),s.precision=r,s.rounding=t,n.times(2))},H.inverseTangent=H.atan=function(){var e,i,r,t,n,s,o,a,u,c=this,d=c.constructor,l=d.precision,h=d.rounding;if(c.isFinite()){if(c.isZero())return new d(c);if(c.abs().eq(1)&&l+4<=K)return(o=z(d,l+4,h).times(.25)).s=c.s,o}else{if(!c.s)return new d(NaN);if(l+4<=K)return(o=z(d,l+4,h).times(.5)).s=c.s,o}for(d.precision=a=l+10,d.rounding=1,e=r=Math.min(28,a/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(D=!1,i=Math.ceil(a/7),t=1,u=c.times(c),o=new d(c),n=c;-1!==e;)if(n=n.times(u),s=o.minus(n.div(t+=2)),n=n.times(u),void 0!==(o=s.plus(n.div(t+=2))).d[i])for(e=i;o.d[e]===s.d[e]&&e--;);return r&&(o=o.times(2<<r-1)),D=!0,j(o,d.precision=l,d.rounding=h,!0)},H.isFinite=function(){return!!this.d},H.isInteger=H.isInt=function(){return!!this.d&&M(this.e/7)>this.d.length-2},H.isNaN=function(){return!this.s},H.isNegative=H.isNeg=function(){return this.s<0},H.isPositive=H.isPos=function(){return this.s>0},H.isZero=function(){return!!this.d&&0===this.d[0]},H.lessThan=H.lt=function(e){return 0>this.cmp(e)},H.lessThanOrEqualTo=H.lte=function(e){return 1>this.cmp(e)},H.logarithm=H.log=function(e){var i,r,t,n,s,o,a,u,c=this.constructor,d=c.precision,l=c.rounding;if(null==e)e=new c(10),i=!0;else{if(r=(e=new c(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new c(NaN);i=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new c(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(i){if(r.length>1)s=!0;else{for(n=r[0];n%10==0;)n/=10;s=1!==n}}if(D=!1,o=en(this,a=d+5),t=i?Y(c,a+10):en(e,a),V((u=G(o,t,a,1)).d,n=d,l))do if(a+=10,o=en(this,a),t=i?Y(c,a+10):en(e,a),u=G(o,t,a,1),!s){+q(u.d).slice(n+1,n+15)+1==1e14&&(u=j(u,d+1,0));break}while(V(u.d,n+=10,l));return D=!0,j(u,d,l)},H.minus=H.sub=function(e){var i,r,t,n,s,o,a,u,c,d,l,h,p=this.constructor;if(e=new p(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new p(e.d||this.s!==e.s?this:NaN):e=new p(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(c=this.d,h=e.d,a=p.precision,u=p.rounding,!c[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!c[0])return new p(-0);e=new p(this)}return D?j(e,a,u):e}if(r=M(e.e/7),d=M(this.e/7),c=c.slice(),s=d-r){for((l=s<0)?(i=c,s=-s,o=h.length):(i=h,r=d,o=c.length),s>(t=Math.max(Math.ceil(a/7),o)+2)&&(s=t,i.length=1),i.reverse(),t=s;t--;)i.push(0);i.reverse()}else{for((l=(t=c.length)<(o=h.length))&&(o=t),t=0;t<o;t++)if(c[t]!=h[t]){l=c[t]<h[t];break}s=0}for(l&&(i=c,c=h,h=i,e.s=-e.s),o=c.length,t=h.length-o;t>0;--t)c[o++]=0;for(t=h.length;t>s;){if(c[--t]<h[t]){for(n=t;n&&0===c[--n];)c[n]=1e7-1;--c[n],c[t]+=1e7}c[t]-=h[t]}for(;0===c[--o];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(e.d=c,e.e=J(c,r),D?j(e,a,u):e):new p(-0)},H.modulo=H.mod=function(e){var i,r=this.constructor;return(e=new r(e),this.d&&e.s&&(!e.d||e.d[0]))?e.d&&(!this.d||this.d[0])?(D=!1,9==r.modulo?(i=G(this,e.abs(),0,3,1),i.s*=e.s):i=G(this,e,0,r.modulo,1),i=i.times(e),D=!0,this.minus(i)):j(new r(this),r.precision,r.rounding):new r(NaN)},H.naturalExponential=H.exp=function(){return et(this)},H.naturalLogarithm=H.ln=function(){return en(this)},H.negated=H.neg=function(){var e=new this.constructor(this);return e.s=-e.s,j(e)},H.plus=H.add=function(e){var i,r,t,n,s,o,a,u,c,d,l=this.constructor;if(e=new l(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new l(e.d||this.s===e.s?this:NaN)):e=new l(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(c=this.d,d=e.d,a=l.precision,u=l.rounding,!c[0]||!d[0])return d[0]||(e=new l(this)),D?j(e,a,u):e;if(s=M(this.e/7),t=M(e.e/7),c=c.slice(),n=s-t){for(n<0?(r=c,n=-n,o=d.length):(r=d,t=s,o=c.length),n>(o=(s=Math.ceil(a/7))>o?s+1:o+1)&&(n=o,r.length=1),r.reverse();n--;)r.push(0);r.reverse()}for((o=c.length)-(n=d.length)<0&&(n=o,r=d,d=c,c=r),i=0;n;)i=(c[--n]=c[n]+d[n]+i)/1e7|0,c[n]%=1e7;for(i&&(c.unshift(i),++t),o=c.length;0==c[--o];)c.pop();return e.d=c,e.e=J(c,t),D?j(e,a,u):e},H.precision=H.sd=function(e){var i;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(y+e);return this.d?(i=X(this.d),e&&this.e+1>i&&(i=this.e+1)):i=NaN,i},H.round=function(){var e=this.constructor;return j(new e(this),this.e+1,e.rounding)},H.sine=H.sin=function(){var e,i,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(e=n.precision,i=n.rounding,n.precision=e+Math.max(t.e,t.sd())+7,n.rounding=1,t=function(e,i){var r,t=i.d.length;if(t<3)return i.isZero()?i:ea(e,2,i,i);r=(r=1.4*Math.sqrt(t))>16?16:0|r,i=ea(e,2,i=i.times(1/eu(5,r)),i);for(var n,s=new e(5),o=new e(16),a=new e(20);r--;)n=i.times(i),i=i.times(s.plus(n.times(o.times(n).minus(a))));return i}(n,ec(n,t)),n.precision=e,n.rounding=i,j(r>2?t.neg():t,e,i,!0)):new n(NaN)},H.squareRoot=H.sqrt=function(){var e,i,r,t,n,s,o=this.d,a=this.e,u=this.s,c=this.constructor;if(1!==u||!o||!o[0])return new c(!u||u<0&&(!o||o[0])?NaN:o?this:1/0);for(D=!1,0==(u=Math.sqrt(+this))||u==1/0?(((i=q(o)).length+a)%2==0&&(i+="0"),u=Math.sqrt(i),a=M((a+1)/2)-(a<0||a%2),i=u==1/0?"5e"+a:(i=u.toExponential()).slice(0,i.indexOf("e")+1)+a,t=new c(i)):t=new c(u.toString()),r=(a=c.precision)+3;;)if(t=(s=t).plus(G(this,s,r+2,1)).times(.5),q(s.d).slice(0,r)===(i=q(t.d)).slice(0,r)){if("9999"!=(i=i.slice(r-3,r+1))&&(n||"4999"!=i)){+i&&(+i.slice(1)||"5"!=i.charAt(0))||(j(t,a+1,1),e=!t.times(t).eq(this));break}if(!n&&(j(s,a+1,0),s.times(s).eq(this))){t=s;break}r+=4,n=1}return D=!0,j(t,a,c.rounding,e)},H.tangent=H.tan=function(){var e,i,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(e=n.precision,i=n.rounding,n.precision=e+10,n.roun
14ding=1,(t=t.sin()).s=1,t=G(t,new n(1).minus(t.times(t)).sqrt(),e+10,0),n.precision=e,n.rounding=i,j(2==r||4==r?t.neg():t,e,i,!0)):new n(NaN)},H.times=H.mul=function(e){var i,r,t,n,s,o,a,u,c,d=this.constructor,l=this.d,h=(e=new d(e)).d;if(e.s*=this.s,!l||!l[0]||!h||!h[0])return new d(e.s&&(!l||l[0]||h)&&(!h||h[0]||l)?l&&h?0*e.s:e.s/0:NaN);for(r=M(this.e/7)+M(e.e/7),(u=l.length)<(c=h.length)&&(s=l,l=h,h=s,o=u,u=c,c=o),s=[],t=o=u+c;t--;)s.push(0);for(t=c;--t>=0;){for(i=0,n=u+t;n>t;)a=s[n]+h[t]*l[n-t-1]+i,s[n--]=a%1e7|0,i=a/1e7|0;s[n]=(s[n]+i)%1e7|0}for(;!s[--o];)s.pop();return i?++r:s.shift(),e.d=s,e.e=J(s,r),D?j(e,d.precision,d.rounding):e},H.toBinary=function(e,i){return ed(this,2,e,i)},H.toDecimalPlaces=H.toDP=function(e,i){var r=this,t=r.constructor;return(r=new t(r),void 0===e)?r:(B(e,0,1e9),void 0===i?i=t.rounding:B(i,0,8),j(r,e+r.e+1,i))},H.toExponential=function(e,i){var r,t=this,n=t.constructor;return void 0===e?r=$(t,!0):(B(e,0,1e9),void 0===i?i=n.rounding:B(i,0,8),r=$(t=j(new n(t),e+1,i),!0,e+1)),t.isNeg()&&!t.isZero()?"-"+r:r},H.toFixed=function(e,i){var r,t,n=this.constructor;return void 0===e?r=$(this):(B(e,0,1e9),void 0===i?i=n.rounding:B(i,0,8),r=$(t=j(new n(this),e+this.e+1,i),!1,e+t.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},H.toFraction=function(e){var i,r,t,n,s,o,a,u,c,d,l,h,p=this.d,f=this.constructor;if(!p)return new f(this);
14if(c=r=new f(1),t=u=new f(0),o=(s=(i=new f(t)).e=X(p)-this.e-1)%7,i.d[0]=x(10,o<0?7+o:o),null==e)e=s>0?i:c;else{if(!(a=new f(e)).isInt()||a.lt(c))throw Error(y+a);e=a.gt(i)?s>0?i:c:a}for(D=!1,a=new f(q(p)),d=f.precision,f.precision=s=14*p.length;l=G(a,i,0,1,1),1!=(n=r.plus(l.times(t))).cmp(e);)r=t,t=n,n=c,c=u.plus(l.times(n)),u=n,n=i,i=a.minus(l.times(n)),a=n;return n=G(e.minus(r),t,0,1,1),u=u.plus(n.times(c)),r=r.plus(n.times(t)),u.s=c.s=this.s,h=1>G(c,t,s,1).minus(this).abs().cmp(G(u,r,s,1).minus(this).abs())?[c,t]:[u,r],f.precision=d,D=!0,h},H.toHexadecimal=H.toHex=function(e,i){return ed(this,16,e,i)},H.toNearest=function(e,i){var r=this,t=r.constructor;if(r=new t(r),null==e){if(!r.d)return r;e=new t(1),i=t.rounding}else{if(e=new t(e),void 0===i?i=t.rounding:B(i,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(D=!1,r=G(r,e,0,i,1).times(e),D=!0,j(r)):(e.s=r.s,r=e),r},H.toNumber=function(){return+this},H.toOctal=function(e,i){return ed(this,8,e,i)},H.toPower=H.pow=function(e){var i,r,t,n,s,o,a=this,u=a.constructor,c=+(e=new u(e));if(!a.d||!e.d||!a.d[0]||!e.d[0])return new u(x(+a,c));if((a=new u(a)).eq(1))return a;if(t=u.precision,s=u.rounding,e.eq(1))return j(a,t,s);if((i=M(e.e/7))>=e.d.length-1&&(r=c<0?-c:c)<=9007199254740991)return n=ee(u,a,r,t),e.s<0?new u(1).div(n):j(n,t,s);if((o=a.s)<0){if(i<e.d.length-1)return new u(NaN);if((1&e.d[i])==0&&(o=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=o,a}return(i=0!=(r=x(+a,c))&&isFinite(r)?new u(r+"").e:M(c*(Math.log("0."+q(a.d))/Math.LN10+a.e+1)))>u.maxE+1||i<u.minE-1?new u(i>0?o/0:0):(D=!1,u.rounding=a.s=1,r=Math.min(12,(i+"").length),(n=et(e.times(en(a,t+r)),t)).d&&V((n=j(n,t+5,1)).d,t,s)&&(i=t+10,n=j(et(e.times(en(a,i+r)),i),i+5,1),+q(n.d).slice(t+1,t+15)+1==1e14&&(n=j(n,t+1,0))),n.s=o,D=!0,u.rounding=s,j(n,t,s))},H.toPrecision=function(e,i){var r,t=this,n=t.constructor;return void 0===e?r=$(t,t.e<=n.toExpNeg||t.e>=n.toExpPos):(B(e,1,1e9),void 0===i?i=n.rounding:B(i,0,8),r=$(t=j(new n(t),e,i),e<=t.e||t.e<=n.toExpNeg,e)),t.isNeg()&&!t.isZero()?"-"+r:r},H.toSignificantDigits=H.toSD=function(e,i){var r=this.constructor;return void 0===e?(e=r.precision,i=r.rounding):(B(e,1,1e9),void 0===i?i=r.rounding:B(i,0,8)),j(new r(this),e,i)},H.toString=function(){var e=this.constructor,i=$(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+i:i},H.truncated=H.trunc=function(){return j(new this.constructor(this),this.e+1,1)},H.valueOf=H.toJSON=function(){var e=this.constructor,i=$(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+i:i};var G=function(){function e(e,i,r){var t,n=0,s=e.length;for(e=e.slice();s--;)t=e[s]*i+n,e[s]=t%r|0,n=t/r|0;return n&&e.unshift(n),e}function r(e,i,r,t){var n,s;if(r!=t)s=r>t?1:-1;else for(n=s=0;n<r;n++)if(e[n]!=i[n]){s=e[n]>i[n]?1:-1;break}return s}function t(e,i,r,t){for(var n=0;r--;)e[r]-=n,n=e[r]<i[r]?1:0,e[r]=n*t+e[r]-i[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,s,o,a,u,c){var d,l,h,p,f,m,w,g,E,I,N,T,v,_,b,A,P,D,L,y,S=n.constructor,R=n.s==s.s?1:-1,U=n.d,x=s.d;if(!U||!U[0]||!x||!x[0])return new S(n.s&&s.s&&(U?!x||U[0]!=x[0]:x)?U&&0==U[0]||!x?0*R:R/0:NaN);for(c?(f=1,l=n.e-s.e):(c=1e7,f=7,l=M(n.e/f)-M(s.e/f)),L=x.length,P=U.length,I=(E=new S(R)).d=[],h=0;x[h]==(U[h]||0);h++);if(x[h]>(U[h]||0)&&l--,null==o?(_=o=S.precision,a=S.rounding):_=u?o+(n.e-s.e)+1:o,_<0)I.push(1),m=!0;else{if(_=_/f+2|0,h=0,1==L){for(p=0,x=x[0],_++;(h<P||p)&&_--;h++)b=p*c+(U[h]||0),I[h]=b/x|0,p=b%x|0;m=p||h<P}else{for((p=c/(x[0]+1)|0)>1&&(x=e(x,p,c),U=e(U,p,c),L=x.length,P=U.length),A=L,T=(N=U.slice(0,L)).length;T<L;)N[T++]=0;(y=x.slice()).unshift(0),D=x[0],x[1]>=c/2&&++D;do p=0,(d=r(x,N,L,T))<0?(v=N[0],L!=T&&(v=v*c+(N[1]||0)),(p=v/D|0)>1?(p>=c&&(p=c-1),g=(w=e(x,p,c)).length,T=N.length,1==(d=r(w,N,g,T))&&(p--,t(w,L<g?y:x,g,c))):(0==p&&(d=p=1),w=x.slice()),(g=w.length)<T&&w.unshift(0),t(N,w,T,c),-1==d&&(T=N.length,(d=r(x,N,L,T))<1&&(p++,t(N,L<T?y:x,T,c))),T=N.length):0===d&&(p++,N=[0]),I[h++]=p,d&&N[0]?N[T++]=U[A]||0:(N=[U[A]],T=1);while((A++<P||void 0!==N[0])&&_--);m=void 0!==N[0]}I[0]||I.shift()}if(1==f)E.e=l,i=m;else{for(h=1,p=I[0];p>=10;p/=10)h++;E.e=h+l*f-1,j(E,u?o+E.e+1:o,a,m)}return E}}();function j(e,i,r,t){var n,s,o,a,u,c,d,l,h,p=e.constructor;out:if(null!=i){if(!(l=e.d))return e;for(n=1,a=l[0];a>=10;a/=10)n++;if((s=i-n)<0)s+=7,o=i,u=(d=l[h=0])/x(10,n-o-1)%10|0;else if((h=Math.ceil((s+1)/7))>=(a=l.length)){if(t){for(;a++<=h;)l.push(0);d=u=0,n=1,s%=7,o=s-7+1}else break out}else{for(n=1,d=a=l[h];a>=10;a/=10)n++;s%=7,u=(o=s-7+n)<0?0:d/x(10,n-o-1)%10|0}
vendor: 3,024 bytes, line 14
14if(t=t||i<0||void 0!==l[h+1]||(o<0?d:d%x(10,n-o-1)),c=r<4?(u||t)&&(0==r||r==(e.s<0?3:2)):u>5||5==u&&(4==r||t||6==r&&(s>0?o>0?d/x(10,n-o):0:l[h-1])%10&1||r==(e.s<0?8:7)),i<1||!l[0])return l.length=0,c?(i-=e.e+1,l[0]=x(10,(7-i%7)%7),e.e=-i||0):l[0]=e.e=0,e;if(0==s?(l.length=h,a=1,h--):(l.length=h+1,a=x(10,7-s),l[h]=o>0?(d/x(10,n-o)%x(10,o)|0)*a:0),c)for(;;){if(0==h){for(s=1,o=l[0];o>=10;o/=10)s++;for(o=l[0]+=a,a=1;o>=10;o/=10)a++;s!=a&&(e.e++,1e7==l[0]&&(l[0]=1));break}if(l[h]+=a,1e7!=l[h])break;l[h--]=0,a=1}for(s=l.length;0===l[--s];)l.pop()}return D&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function $(e,i,r){if(!e.isFinite())return es(e);var t,n=e.e,s=q(e.d),o=s.length;return i?(r&&(t=r-o)>0?s=s.charAt(0)+"."+s.slice(1)+Q(t):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(e.e<0?"e":"e+")+e.e):n<0?(s="0."+Q(-n-1)+s,r&&(t=r-o)>0&&(s+=Q(t))):n>=o?(s+=Q(n+1-o),r&&(t=r-n-1)>0&&(s=s+"."+Q(t))):((t=n+1)<o&&(s=s.slice(0,t)+"."+s.slice(t)),r&&(t=r-o)>0&&(n+1===o&&(s+="."),s+=Q(t))),s}function J(e,i){var r=e[0];for(i*=7;r>=10;r/=10)i++;return i}function Y(e,i,r){if(i>k)throw D=!0,r&&(e.precision=r),Error(S);return j(new e(b),i,1,!0)}function z(e,i,r){if(i>K)throw Error(S);return j(new e(A),i,r,!0)}function X(e){var i=e.length-1,r=7*i+1;if(i=e[i]){for(;i%10==0;i/=10)r--;for(i=e[0];i>=10;i/=10)r++}return r}function Q(e){for(var i="";e--;)i+="0";return i}function ee(e,i,r,t){var n,s=new e(1),o=Math.ceil(t/7+4);for(D=!1;;){if(r%2&&el((s=s.times(i)).d,o)&&(n=!0),0===(r=M(r/2))){r=s.d.length-1,n&&0===s.d[r]&&++s.d[r];break}el((i=i.times(i)).d,o)}return D=!0,s}function ei(e){return 1&e.d[e.d.length-1]}function er(e,i,r){for(var t,n=new e(i[0]),s=0;++s<i.length;)if((t=new e(i[s])).s)n[r](t)&&(n=t);else{n=t;break}return n}function et(e,i){var r,t,n,s,o,a,u,c=0,d=0,l=0,h=e.constructor,p=h.rounding,f=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:0/0);for(null==i?(D=!1,u=f):u=i,a=new h(.03125);e.e>-2;)e=e.times(a),l+=5;for(u+=t=Math.log(x(2,l))/Math.LN10*2+5|0,r=s=o=new h(1),h.precision=u;;){if(s=j(s.times(e),u,1),r=r.times(++d),q((a=o.plus(G(s,r,u,1))).d).slice(0,u)===q(o.d).slice(0,u)){for(n=l;n--;)o=j(o.times(o),u,1);if(null!=i)return h.precision=f,o;if(!(c<3&&V(o.d,u-t,p,c)))return j(o,h.precision=f,p,D=!0);h.precision=u+=10,r=s=a=new h(1),d=0,c++}o=a}}function en(e,i){var r,t,n,s,o,a,u,c,d,l,h,p=1,f=e,m=f.d,w=f.constructor,g=w.rounding,E=w.precision;if(f.s<0||!m||!m[0]||!f.e&&1==m[0]&&1==m.length)return new w(m&&!m[0]?-1/0:1!=f.s?NaN:m?0:f);if(null==i?(D=!1,d=E):d=i,w.precision=d+=10,t=(r=q(m)).charAt(0),!(15e14>Math.abs(s=f.e)))return c=Y(w,d+2,E).times(s+""),f=en(new w(t+"."+r.slice(1)),d-10).plus(c),w.precision=E,null==i?j(f,E,g,D=!0):f;for(;t<7&&1!=t||1==t&&r.charAt(1)>3;)t=(r=q((f=f.times(e)).d)).charAt(0),p++;for(s=f.e,t>1?(f=new w("0."+r),s++):f=new w(t+"."+r.slice(1)),l=f,u=o=f=G(f.minus(1),f.plus(1),d,1),h=j(f.times(f),d,1),n=3;;){if(o=j(o.times(h),d,1),q((c=u.plus(G(o,new w(n),d,1))).d).slice(0,d)===q(u.d).slice(0,d)){if
vendor: 4,909 bytes, line 14
14(u=u.times(2),0!==s&&(u=u.plus(Y(w,d+2,E).times(s+""))),u=G(u,new w(p),d,1),null!=i)return w.precision=E,u;if(!V(u.d,d-10,g,a))return j(u,w.precision=E,g,D=!0);w.precision=d+=10,c=o=f=G(l.minus(1),l.plus(1),d,1),h=j(f.times(f),d,1),n=a=1}u=c,n+=2}}function es(e){return String(e.s*e.s/0)}function eo(e,i){var r,t,n;for((r=i.indexOf("."))>-1&&(i=i.replace(".","")),(t=i.search(/e/i))>0?(r<0&&(r=t),r+=+i.slice(t+1),i=i.substring(0,t)):r<0&&(r=i.length),t=0;48===i.charCodeAt(t);t++);for(n=i.length;48===i.charCodeAt(n-1);--n);if(i=i.slice(t,n)){if(n-=t,e.e=r=r-t-1,e.d=[],t=(r+1)%7,r<0&&(t+=7),t<n){for(t&&e.d.push(+i.slice(0,t)),n-=7;t<n;)e.d.push(+i.slice(t,t+=7));t=7-(i=i.slice(t)).length}else t-=n;for(;t--;)i+="0";e.d.push(+i),D&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function ea(e,i,r,t,n){var s,o,a,u,c=e.precision,d=Math.ceil(c/7);for(D=!1,u=r.times(r),a=new e(t);;){if(o=G(a.times(u),new e(i++*i++),c,1),a=n?t.plus(o):t.minus(o),t=G(o.times(u),new e(i++*i++),c,1),void 0!==(o=a.plus(t)).d[d]){for(s=d;o.d[s]===a.d[s]&&s--;);if(-1==s)break}s=a,a=t,t=o,o=s}return D=!0,o.d.length=d+1,o}function eu(e,i){for(var r=e;--i;)r*=e;return r}function ec(e,i){var t,n=i.s<0,s=z(e,e.precision,1),o=s.times(.5);if((i=i.abs()).lte(o))return r=n?4:1,i;if((t=i.divToInt(s)).isZero())r=n?3:2;else{if((i=i.minus(t.times(s))).lte(o))return r=ei(t)?n?2:3:n?4:1,i;r=ei(t)?n?1:4:n?3:2}return i.minus(s).abs()}function ed(e,r,t,n){var s,o,a,u,c,d,l,h,p,f=e.constructor,m=void 0!==t;if(m?(B(t,1,1e9),void 0===n?n=f.rounding:B(n,0,8)):(t=f.precision,n=f.rounding),e.isFinite()){for(a=(l=$(e)).indexOf("."),m?(s=2,16==r?t=4*t-3:8==r&&(t=3*t-2)):s=r,a>=0&&(l=l.replace(".",""),(p=new f(1)).e=l.length-a,p.d=Z($(p),10,s),p.e=p.d.length),o=c=(h=Z(l,10,s)).length;0==h[--c];)h.pop();if(h[0]){if(a<0?o--:((e=new f(e)).d=h,e.e=o,h=(e=G(e,p,t,n,0,s)).d,o=e.e,d=i),a=h[t],u=s/2,d=d||void 0!==h[t+1],d=n<4?(void 0!==a||d)&&(0===n||n===(e.s<0?3:2)):a>u||a===u&&(4===n||d||6===n&&1&h[t-1]||n===(e.s<0?8:7)),h.length=t,d)for(;++h[--t]>s-1;)h[t]=0,t||(++o,h.unshift(1));for(c=h.length;!h[c-1];--c);for(a=0,l="";a<c;a++)l+=_.charAt(h[a]);if(m){if(c>1){if(16==r||8==r){for(a=16==r?4:3,--c;c%a;c++)l+="0";for(c=(h=Z(l,s,r)).length;!h[c-1];--c);for(a=1,l="1.";a<c;a++)l+=_.charAt(h[a])}else l=l.charAt(0)+"."+l.slice(1)}l=l+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)l="0"+l;l="0."+l}else if(++o>c)for(o-=c;o--;)l+="0";else o<c&&(l=l.slice(0,o)+"."+l.slice(o))}else l=m?"0p+0":"0";l=(16==r?"0x":2==r?"0b":8==r?"0o":"")+l}else l=es(e);return e.s<0?"-"+l:l}function el(e,i){if(e.length>i)return e.length=i,!0}function eh(e){return new this(e).abs()}function ep(e){return new this(e).acos()}function ef(e){return new this(e).acosh()}function em(e,i){return new this(e).plus(i)}function ew(e){return new this(e).asin()}function eg(e){return new this(e).asinh()}function eE(e){return new this(e).atan()}function eI(e){return new this(e).atanh()}function eN(e,i){e=new this(e),i=new this(i);var r,t=this.precision,n=this.rounding,s=t+4;return e.s&&i.s?e.d||i.d?!i.d||e.isZero()?(r=i.s<0?z(this,t,n):new this(0)).s=e.s:!e.d||i.isZero()?(r=z(this,s,1).times(.5)).s=e.s:i.s<0?(this.precision=s,this.rounding=1,r=this.atan(G(e,i,s,1)),i=z(this,s,1),this.precision=t,this.rounding=n,r=e.s<0?r.minus(i):r.plus(i)):r=this.atan(G(e,i,s,1)):(r=z(this,s,1).times(i.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function eT(e){return new this(e).cbrt()}function ev(e){return j(e=new this(e),e.e+1,2)}function e_(e,i,r){return new this(e).clamp(i,r)}function eb(e){if(!e||"object"!=typeof e)throw Error(L+"Object expected");var i,r,t,n=!0===e.defaults,s=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(i=0;i<s.length;i+=3)if(r=s[i],n&&(this[r]=P[r]),void 0!==(t=e[r])){if(M(t)===t&&t>=s[i+1]&&t<=s[i+2])this[r]=t;else throw Error(y+r+": "+t)}if(r="crypto",n&&(this[r]=P[r]),void 0!==(t=e[r])){if(!0===t||!1===t||0===t||1===t){if(t){if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(R)}else this[r]=!1}else throw Error(y+r+": "+t)}return this}function eA(e){return new this(e).cos()}function eP(e){return new this(e).cosh()}function eD(e,i){return new this(e).div(i)}function eL(e){return new this(e).exp()}function ey(e){return j(e=new this(e),e.e+1,3)}function eS(){var e,i,r=new this(0);for(e=0,D=!1;e<arguments.length;)if(i=new this(arguments[e++]),i.d)r.d&&(r=r.plus(i.times(i)));else{if(i.s)return D=!0,new this(1/0);r=i}return D=!0,r.sqrt()}function eR(e){return e instanceof eX||e&&e.toStringTag===U||!1}function eU(e){return new this(e).ln()}function eM(e,i){return new this(e).log(i)}function ex(e){return new this(e).log(2)}function eW(e){return new this(e).log(10)}function eF(){return er(this,arguments,"lt")}function eC(){return er(this,arguments,"gt")}
vendor: 3,980 bytes, lines 14-21
14function eO(e,i){return new this(e).mod(i)}function ek(e,i){return new this(e).mul(i)}function eK(e,i){return new this(e).pow(i)}function eH(e){var i,r,t,n,s=0,o=new this(1),a=[];if(void 0===e?e=this.precision:B(e,1,1e9),t=Math.ceil(e/7),this.crypto){if(crypto.getRandomValues)for(i=crypto.getRandomValues(new Uint32Array(t));s<t;)(n=i[s])>=429e7?i[s]=crypto.getRandomValues(new Uint32Array(1))[0]:a[s++]=n%1e7;else if(crypto.randomBytes){for(i=crypto.randomBytes(t*=4);s<t;)(n=i[s]+(i[s+1]<<8)+(i[s+2]<<16)+((127&i[s+3])<<24))>=214e7?crypto.randomBytes(4).copy(i,s):(a.push(n%1e7),s+=4);s=t/4}else throw Error(R)}else for(;s<t;)a[s++]=1e7*Math.random()|0;for(t=a[--s],e%=7,t&&e&&(n=x(10,7-e),a[s]=(t/n|0)*n);0===a[s];s--)a.pop();if(s<0)r=0,a=[0];else{for(r=-1;0===a[0];r-=7)a.shift();for(t=1,n=a[0];n>=10;n/=10)t++;t<7&&(r-=7-t)}return o.e=r,o.d=a,o}function eq(e){return j(e=new this(e),e.e+1,this.rounding)}function eB(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eV(e){return new this(e).sin()}function eZ(e){return new this(e).sinh()}function eG(e){return new this(e).sqrt()}function ej(e,i){return new this(e).sub(i)}function e$(){var e=0,i=arguments,r=new this(i[e]);for(D=!1;r.s&&++e<i.length;)r=r.plus(i[e]);return D=!0,j(r,this.precision,this.rounding)}function eJ(e){return new this(e).tan()}function eY(e){return new this(e).tanh()}function ez(e){return j(e=new this(e),e.e+1,1)}H[Symbol.for("nodejs.util.inspect.custom")]=H.toString,H[Symbol.toStringTag]="Decimal";var eX=H.constructor=function e(i){var r,t,n;function s(e){var i,r,t,n=this;if(!(n instanceof s))return new s(e);if(n.constructor=s,eR(e)){n.s=e.s,D?!e.d||e.e>s.maxE?(n.e=NaN,n.d=null):e.e<s.minE?(n.e=0,n.d=[0]):(n.e=e.e,n.d=e.d.slice()):(n.e=e.e,n.d=e.d?e.d.slice():e.d);return}if("number"==(t=typeof e)){if(0===e){n.s=1/e<0?-1:1,n.e=0,n.d=[0];return}if(e<0?(e=-e,n.s=-1):n.s=1,e===~~e&&e<1e7){for(i=0,r=e;r>=10;r/=10)i++;D?i>s.maxE?(n.e=NaN,n.d=null):i<s.minE?(n.e=0,n.d=[0]):(n.e=i,n.d=[e]):(n.e=i,n.d=[e]);return}if(0*e!=0){e||(n.s=NaN),n.e=NaN,n.d=null;return}return eo(n,e.toString())}if("string"!==t)throw Error(y+e);return 45===(r=e.charCodeAt(0))?(e=e.slice(1),n.s=-1):(43===r&&(e=e.slice(1)),n.s=1),O.test(e)?eo(n,e):function(e,i){var r,t,n,s,o,a,u,c,d;if(i.indexOf("_")>-1){if(i=i.replace(/(\d)_(?=\d)/g,"$1"),O.test(i))return eo(e,i)}else if("Infinity"===i||"NaN"===i)return+i||(e.s=NaN),e.e=NaN,e.d=null,e;if(F.test(i))r=16,i=i.toLowerCase();else if(W.test(i))r=2;else if(C.test(i))r=8;else throw Error(y+i);for((s=i.search(/p/i))>0?(u=+i.slice(s+1),i=i.substring(2,s)):i=i.slice(2),o=(s=i.indexOf("."))>=0,t=e.constructor,o&&(s=(a=(i=i.replace(".","")).length)-s,n=ee(t,new t(r),s,2*s)),s=d=(c=Z(i,r,1e7)).length-1;0===c[s];--s)c.pop();return s<0?new t(0*e.s):(e.e=J(c,d),e.d=c,D=!1,o&&(e=G(e,n,4*a)),u&&(e=e.times(54>Math.abs(u)?x(2,u):eX.pow(2,u))),D=!0,e)}(n,e)}if(s.prototype=H,s.ROUND_UP=0,s.ROUND_DOWN=1,s.ROUND_CEIL=2,s.ROUND_FLOOR=3,s.ROUND_HALF_UP=4,s.ROUND_HALF_DOWN=5,s.ROUND_HALF_EVEN=6,s.ROUND_HALF_CEIL=7,s.ROUND_HALF_FLOOR=8,s.EUCLID=9,s.config=s.set=eb,s.clone=e,s.isDecimal=eR,s.abs=eh,s.acos=ep,s.acosh=ef,s.add=em,s.asin=ew,s.asinh=eg,s.atan=eE,s.atanh=eI,s.atan2=eN,s.cbrt=eT,s.ceil=ev,s.clamp=e_,s.cos=eA,s.cosh=eP,s.div=eD,s.exp=eL,s.floor=ey,s.hypot=eS,s.ln=eU,s.log=eM,s.log10=eW,s.log2=ex,s.max=eF,s.min=eC,s.mod=eO,s.mul=ek,s.pow=eK,s.random=eH,s.round=eq,s.sign=eB,s.sin=eV,s.sinh=eZ,s.sqrt=eG,s.sub=ej,s.sum=e$,s.tan=eJ,s.tanh=eY,s.trunc=ez,void 0===i&&(i={}),i&&!0!==i.defaults)for(r=0,n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];r<n.length;)i.hasOwnProperty(t=n[r++])||(i[t]=this[t]);return s.config(i),s}(P);b=new eX(b),A=new eX(A);var eQ=eX;/*!
15 *  decimal.js v10.4.3
16 *  An arbitrary-precision Decimal type for JavaScript.
17 *  https://github.com/MikeMcl/decimal.js
18 *  Copyright (c) 2022 Michael Mclaughlin <[email protected]>
19 *  MIT Licence
20 */ }}]);
21//# sourceMappingURL=385-5bd6a0988d6834db.js.map

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