1 line
3.1 KiB
Plaintext
1 line
3.1 KiB
Plaintext
|
{"version":3,"sources":["../../src/client/router.ts"],"names":["Router","withRouter","useRouter","createRouter","makePublicRouterInstance","singletonRouter","router","readyCallbacks","ready","callback","window","push","urlPropertyFields","routerEvents","coreMethodFields","Object","defineProperty","get","events","getRouter","message","Error","forEach","field","args","event","on","eventField","charAt","toUpperCase","substring","_singletonRouter","err","console","error","isError","stack","React","useContext","RouterContext","cb","scopedRouter","instance","property","assign","Array","isArray"],"mappings":"AAAA,iBAAiB;;;;;;;;;;;;;;;;;;;IAaRA,MAAM;eAANA,eAAM;;IAgHf,yDAAyD;IACzD,OAAiD;eAAjD;;IAGoBC,UAAU;eAAVA,mBAAU;;IAEdC,SAAS;eAATA;;IAqBAC,YAAY;eAAZA;;IAcAC,wBAAwB;eAAxBA;;;;gEArKE;iEACC;4CAEW;kEACV;qEA4HkB;AA9GtC,MAAMC,kBAAuC;IAC3CC,QAAQ;IACRC,gBAAgB,EAAE;IAClBC,OAAMC,QAAoB;QACxB,IAAI,IAAI,CAACH,MAAM,EAAE,OAAOG;QACxB,IAAI,OAAOC,WAAW,aAAa;YACjC,IAAI,CAACH,cAAc,CAACI,IAAI,CAACF;QAC3B;IACF;AACF;AAEA,4EAA4E;AAC5E,MAAMG,oBAAoB;IACxB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AACD,MAAMC,eAAe;IACnB;IACA;IACA;IACA;IACA;IACA;CACD;AAGD,MAAMC,mBAAmB;IACvB;IACA;IACA;IACA;IACA;IACA;CACD;AAED,iGAAiG;AACjGC,OAAOC,cAAc,CAACX,iBAAiB,UAAU;IAC/CY;QACE,OAAOjB,eAAM,CAACkB,MAAM;IACtB;AACF;AAEA,SAASC;IACP,IAAI,CAACd,gBAAgBC,MAAM,EAAE;QAC3B,MAAMc,UACJ,gCACA;QACF,MAAM,IAAIC,MAAMD;IAClB;IACA,OAAOf,gBAAgBC,MAAM;AAC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