UNPKG

2.93 kBSource Map (JSON)View Raw
1{"version":3,"file":"useAsyncControllableValue.js","sourceRoot":"","sources":["../../../src/hooks/useAsyncControllableValue.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B;;;GAGG;AACH,MAAM,CAAC,IAAM,8CAA8C,GAAG,EAAE,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,UAAU,yBAAyB,CACrC,KAAwC;IAEhC,IAAA,kBAAkB,GAAmD,KAAK,mBAAxD,EAAE,gBAAgB,GAAiC,KAAK,iBAAtC,EAAS,SAAS,GAAe,KAAK,MAApB,EAAE,QAAQ,GAAK,KAAK,SAAV,CAAW;IAEnF,uFAAuF;IACvF,2CAA2C;IACrC,IAAA,KAAoB,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAA5C,KAAK,QAAA,EAAE,QAAQ,QAA6B,CAAC;IAEpD,gEAAgE;IAC1D,IAAA,KAA4B,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,EAApD,SAAS,QAAA,EAAE,YAAY,QAA6B,CAAC;IAE5D,uDAAuD;IACjD,IAAA,KAAgC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAApD,WAAW,QAAA,EAAE,cAAc,QAAyB,CAAC;IAE5D,8EAA8E;IACxE,IAAA,KAA0C,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAA9D,gBAAgB,QAAA,EAAE,mBAAmB,QAAyB,CAAC;IAEtE,IAAM,2BAA2B,GAAG,KAAK,CAAC,MAAM,EAAc,CAAC;IAE/D,IAAM,sBAAsB,GAAqC,KAAK,CAAC,WAAW,CAC9E,UAAA,KAAK;;QACD,MAAA,2BAA2B,CAAC,OAAO,2EAAI,CAAC;QACxC,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAG,KAAK,CAAC,CAAC;IAChC,CAAC,EACD,CAAC,kBA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