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C,CAAC,CAAC16C,EAAKw6C,GAC9B,OAAOtuC,QAAQ40B,OAAO,GAAGn1B,IAAI,CAAC,KAC7B,IAAIzB,EAAI,MAAU,uBAAyBswC,EAAM,IAEjD,OADAtwC,EAAE9I,IAAI,CAAG,mBACH8I,CACP,GAGD,IAAIywC,EAAM36C,CAAG,CAACw6C,EAAI,CAAE19C,EAAK69C,CAAG,CAAC,EAAE,CAC/B,OAAOzuC,QAAQC,GAAG,CAACwuC,EAAI/vC,KAAK,CAAC,GAAG5K,GAAG,CAACy6C,EAAoBvwC,CAAC,GAAGyB,IAAI,CAAC,IACzD8uC,EAAoB1vC,CAAC,CAACjO,EAAI,IAEnC,CACAy9C,EAAoBlpB,IAAI,CAAG,IAAOh1B,OAAOg1B,IAAI,CAACrxB,GAC9Cu6C,EAAoBz9C,EAAE,CAAG,MACzB89C,EAAOC,OAAO,CAAGN,C,kBCtCjB,IAAIv6C,EAAM,CACT,oCAAqC,CACpC,MACA,EACA,MACA,CACD,kCAAmC,CAClC,MACA,EACA,MACA,CACD,+BAAgC,CAC/B,MACA,EACA,MACA,CACD,sCAAuC,CACtC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,KACA,EACA,KACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,2CAA4C,CAC3C,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,2CAA4C,CAC3C,MACA,EACA,MACA,MACA,CACD,qCAAsC,CACrC,MACA,EACA,MACA,CACD,kCAAmC,CAClC,MACA,EACA,MACA,CACD,uBAAwB,CACvB,MACA,EACA,MACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,MACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,KACA,EACA,KACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,KACA,EACA,KACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,IACA,EACA,IACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,yCAA0C,CACzC,MACA,EACA,MACA,CACD,qCAAsC,CACrC,MACA,EACA,MACA,CACD,yCAA0C,CACzC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,qBAAsB,CACrB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,yCAA0C,CACzC,MACA,EACA,MACA,CACD,qCAAsC,CACrC,MACA,EACA,MACA,CACD,yCAA0C,CACzC,IACA,EACA,IACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,qBAAsB,CACrB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,KACA,EACA,KACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,KACA,EACA,KACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,MACA,CACD,yCAA0C,CACzC,MACA,EACA,MACA,CACD,qCAAsC,CACrC,MACA,EACA,MACA,CACD,yCAA0C,CACzC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,qBAAsB,CACrB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,MACA,EACA,MACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,gCAAiC,CAChC,MACA,EACA,MACA,CACD,oCAAqC,CACpC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,2BAA4B,CAC3B,KACA,EACA,KACA,CACD,gBAAiB,CAChB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,KACA,EACA,KACA,CACD,iCAAkC,CACjC,KACA,EACA,KACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,MACA,EACA,MACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,mCAAoC,CACnC,MACA,EACA,MACA,CACD,uCAAwC,CACvC,MACA,EACA,MACA,CACD,iCAAkC,CACjC,MACA,EACA,MACA,CACD,8BAA+B,CAC9B,KACA,EACA,KACA,CACD,mBAAoB,CACnB,MACA,EACA,MACA,EAEF,SAASu6C,EAAoBC,CAAG,EAC/B,GAAG,CAACC,EAAoBC,CAAC,CAAC16C,EAAKw6C,GAC9B,OAAOtuC,QAAQ40B,OAAO,GAAGn1B,IAAI,CAAC,KAC7B,IAAIzB,EAAI,MAAU,uBAAyBswC,EAAM,IAEjD,OADAtwC,EAAE9I,IAAI,CAAG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D,EAAG,EAAU,CACtD,IAAIi+C,KAAYkF,EACZxF,EAAoBC,CAAC,CAACuF,EAAalF,IACrCN,CAAAA,EAAoBU,CAAC,CAACJ,EAAS,CAAGkF,CAAW,CAAClF,EAAS,EAGzD,GAAGmF,EAAS,IAAI5Q,EAAS4Q,EAAQzF,EAClC,CAEA,IADGuF,GAA4BA,EAA2BhiD,GACrDyhC,EAAI8b,EAASz6C,MAAM,CAAE2+B,IACzBwd,EAAU1B,CAAQ,CAAC9b,EAAE,CAClBgb,EAAoBC,CAAC,CAACkF,EAAiB3C,IAAY2C,CAAe,CAAC3C,EAAQ,EAC7E2C,CAAe,CAAC3C,EAAQ,CAAC,EAAE,GAE5B2C,CAAe,CAAC3C,EAAQ,CAAG,EAE5B,OAAOxC,EAAoBa,CAAC,CAAChM,EAC9B,EAEI6Q,EAAqBC,KAAK,mCAAsC,CAAGA,KAAK,mCAAsC,EAAI,EAAE,CACxHD,EAAmBhhC,OAAO,CAAC4gC,EAAqB5d,IAAI,CAAC,KAAM,IAC3Dge,EAAmB31C,IAAI,CAAGu1C,EAAqB5d,IAAI,CAAC,KAAMge,EAAmB31C,IAAI,CAAC23B,IAAI,CAACge,G,KCrFvF1F,EAAoBwD,EAAE,CAAG19C,KAAAA,ECGzB,IAAI8/C,EAAsB5F,EAAoBa,CAAC,CAAC/6C,KAAAA,EAAW,CAAC,MAAM,CAAE,IAAOk6C,EAAoB,QAC/F4F,EAAsB5F,EAAoBa,CAAC,CAAC+E,E","sources":["webpack:///./src/account/actions/index.ts","webpack:///./src/account/hooks.ts","webpack:///./src/api/internalApiUtils.ts","webpack:///./src/app/admin-console/routes.ts","webpack:///./src/app/canopy/routes.ts","webpack:///./src/app/configureCustomerIo.ts","webpack:///./src/app/parachute/index.tsx","webpack:///./src/app/configureMixpanel.ts","webpack:///./src/app/sharedUtils.ts","webpack:///./src/auth/keycloak.tsx","webpack:///./src/auth/constants.ts","webpack:///./src/auth/keycloakSelectors.ts","webpack:///./src/config/index.ts","webpack:///./src/constants.ts","webpack:///./src/errors.ts","webpack:///./src/utils/urls.ts","webpack:///./src/modals/components/confirm-modal/hooks.ts","webpack:///./src/modals/constants.ts","webpack:///./src/mts/groups/actions.ts","webpack:///./src/mts/groups/hooks.ts","webpack:///./src/mts/principals/actions.ts","webpack:///./src/mts/principals/hooks.ts","webpack:///./src/mts/principals/utils.ts","webpack:///./src/mts/selectors.ts","webpack:///./src/mts/users/actions.ts","webpack:///./src/mts/users/hooks.tsx","webpack:///./src/mts/users/utils.ts","webpack:///./src/oms/legacy-taxonomies/actions.js","webpack:///./src/oms/taxonomy/utils.ts","webpack:///./src/pages/taxonomy/LegacyTaxonomyManageActionsMenuButtons.tsx","webpack:///./src/pages/taxonomy/legacyUtils.js","webpack:///./src/query-params/useRipcordLocation.ts","webpack:///./src/query-params/utils.ts","webpack:///./src/ripcord-components/components/canopy/ListViews/constants.ts","webpack:///./src/ripcord-components/components/ripcord/Icon/index.tsx","webpack:///./src/ripcord-components/components/ripcord/IconButton/index.tsx","webpack:///./src/ui/components/read-only-date-range/index.jsx","webpack:///./src/ripcord-components/components/ripcord/RipcordDisplayValue.tsx","webpack:///./src/ripcord-components/components/ripcord/RipcordPrincipalName.tsx","webpack:///./src/ripcord-components/components/ripcord/RippyTippy.tsx","webpack:///./src/ripcord-components/components/ripcord/Typography/index.tsx","webpack:///./src/ripcord-components/constants.ts","webpack:///./src/ripcord-components/loading/ShimmerPlaceholder.tsx","webpack:///./src/ripcord-components/loading/progress-indicator/index.styled.ts","webpack:///./src/ripcord-components/loading/progress-indicator/index.tsx","webpack:///./src/ripcord-components/loading/progress-indicator/suspenseThrobber.tsx","webpack:///./src/store/hooks.ts","webpack:///./src/theme/mixins.ts","webpack:///./src/timber/internal.ts","webpack:///./src/timber/logShipper.ts","webpack:///./src/timber/ringBuffer.ts","webpack:///./src/translations/configure-locale.ts","webpack:///./src/translations/key-bindings.ts","webpack:///./src/ui/actions/index.ts","webpack:///./src/ui/components/icon-button/index.styled.js","webpack:///./src/ui/components/icon-button/index.jsx","webpack:///./src/ui/components/mixins.styled.ts","webpack:///./src/ui/components/read-only-date/index.jsx","webpack:///./src/ui/components/text-loading-shimmer.tsx","webpack:///./src/ui/slices.ts","webpack:///./src/utils/ast.ts","webpack:///./src/utils/datetime-utils.ts","webpack:///./src/utils/hooks.ts","webpack:///./src/utils/isNullish.ts","webpack:///./src/utils/mixpanel.ts","webpack:///./src/utils/openInNewTab.ts","webpack:///./src/utils/records/url.ts","webpack:///./src/utils/routing.ts","webpack:///./src/utils/rsql-builder.ts","webpack:///./node_modules/cronstrue/locales/ lazy ^\\.\\/.*\\.js$ include: (en%7Cja%7Cfr%7Czh\\_TW)\\.js namespace object","webpack:///./node_modules/date-fns/locale/ lazy ^\\.\\/.*\\/index\\.js$ include: (en\\-US%7Ceo%7Cja%7Cfr%7Czh\\-TW%7Cms%7Cid) namespace object","webpack:///./node_modules/monaco-editor-nls/locale/ lazy ^\\.\\/.*\\.json$ include: (qps\\-ploc%7Cja%7Cfr%7Czh\\-hant%7Cms%7Cid)\\.json namespace object","webpack:///./src/translations/locales/ lazy ^\\.\\/.*\\.po$ include: (en\\-US%7Ceo%7Cja%7Cfr%7Czh\\-TW%7Cms%7Cid)\\.po referencedExports: messages namespace object","webpack:///webpack/bootstrap","webpack:///webpack/runtime/amd options","webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/create fake namespace object","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/load script","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/css loading","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/runtime/nonce","webpack:///webpack/startup"],"sourcesContent":["import { createAction } from '@reduxjs/toolkit';\n\nimport type { State } from '../reducers';\n\nexport const resetAccountInfo = createAction(\n 'ripcord/account/RESET_ACCOUNT_INFO'\n);\n\nexport const fetchAccountInfo = createAction(\n 'ripcord/account/FETCH_ACCOUNT_INFO_REQUESTED'\n);\nexport const fetchAccountInfoSucceeded = createAction(\n 'ripcord/account/FETCH_ACCOUNT_INFO_SUCCEEDED',\n (\n payload: {\n accountData: State['data'];\n } & Pick<\n State,\n | 'rootFolder'\n | 'sourceRootFolder'\n | 'userHomeRootFolder'\n | 'savedSearchRootFolder'\n | 'userPersonalRootFolder'\n | 'taxonomyRootFolder'\n | 'collectionsRootFolder'\n | 'notebooksRootFolder'\n >\n ) => ({ payload })\n);\nexport const fetchAccountInfoFailed = createAction(\n 'ripcord/account/FETCH_ACCOUNT_INFO_FAILED',\n (error: NonNullable) => ({\n payload: error\n })\n);\n","import { useEffect } from 'react';\nimport { t } from '@lingui/macro';\nimport { useDispatch, useTypedSelector } from '../store/hooks';\n\nimport type { OMSObject } from '../oms/tsTypes';\nimport type { ValueOf } from '../utils/tsUtilityTypes';\nimport type { AccountData } from './tsTypes';\n\nimport { isNullish } from '../utils/isNullish';\nimport { fetchAccountInfo } from './actions';\n\nexport const FOLDERS_WITH_VISIBILITY_SUPPORT = {\n COLLECTIONS: 'collections',\n TAXONOMY: 'taxonomy',\n WORKSPACES: 'workspaces',\n NOTEBOOKS: 'notebooks',\n SAVED_SEARCH: 'savedSearch'\n} as const;\n\nexport const VISIBILITY_TYPE = {\n [FOLDERS_WITH_VISIBILITY_SUPPORT.COLLECTIONS]: t`collection`,\n [FOLDERS_WITH_VISIBILITY_SUPPORT.TAXONOMY]: t`taxonomy`,\n [FOLDERS_WITH_VISIBILITY_SUPPORT.WORKSPACES]: t`workspace`,\n [FOLDERS_WITH_VISIBILITY_SUPPORT.NOTEBOOKS]: t`workspace`,\n [FOLDERS_WITH_VISIBILITY_SUPPORT.SAVED_SEARCH]: t`search`\n} as const;\n\nexport type PossibleVisibilityFolders = ValueOf<\n typeof FOLDERS_WITH_VISIBILITY_SUPPORT\n>;\n\nexport const getAclsByRootFolderId = (accountData: AccountData) => {\n const config = accountData?.config;\n const aclsByRootFolderId = Object.entries(config ?? {}).reduce(\n (acc, [key, value]) => {\n if (\n Object.values(FOLDERS_WITH_VISIBILITY_SUPPORT).includes(\n key as PossibleVisibilityFolders\n ) &&\n value?.rootFolder?.id\n ) {\n acc[value.rootFolder.id] = {\n privateAclId: value?.privateAcl?.id,\n publicAclId: value?.publicAcl?.id,\n folder: key\n };\n }\n return acc;\n },\n {}\n );\n return aclsByRootFolderId;\n};\n\nexport const usePublicPrivateAcls = ({\n object\n}: {\n object?: OMSObject | null;\n}) => {\n const rootFolderId = object?.path?.[0]?.id;\n const { aclsByRootFolderId, isLoading, error } = useDefaultAclIds();\n return {\n publicAclId: !rootFolderId\n ? null\n : aclsByRootFolderId?.[rootFolderId]?.publicAclId,\n privateAclId: !rootFolderId\n ? null\n : aclsByRootFolderId?.[rootFolderId]?.privateAclId,\n isLoading,\n error\n } as const;\n};\n\nexport const useDefaultAclIds = () => {\n const { account, isLoading, error } = useAccountData();\n const accountDefaultAcls = account?.config;\n const aclsByRootFolderId = getAclsByRootFolderId(account);\n return {\n accountDefaultAcls,\n aclsByRootFolderId,\n isLoading,\n error\n } as const;\n};\n\n// ! note: there is an issue with the fetchAccountInfo saga- after creating a tenant it will likely return accountData: undefined and null/errors for other fields.\n// these are not valid or expected types for the reducer and can cause crashes if trying to destructure from account elsewhere\n// not a major issue to address now and is fixed on page refresh, but be aware!\nexport function useAccountData() {\n const dispatch = useDispatch();\n const { accountDataLoading, data, fetchAccountError, ...restOfAccountState } =\n useTypedSelector((state) => state.account);\n const { dataRealm } = useTypedSelector((state) => state.api) as {\n dataRealm: string | null;\n };\n\n useEffect(() => {\n if (!data || (!isNullish(dataRealm) && data?.realmName !== dataRealm)) {\n dispatch(fetchAccountInfo());\n }\n }, [data, dataRealm, dispatch]);\n\n return {\n isLoading: accountDataLoading,\n error: fetchAccountError,\n account: data ?? {},\n ...restOfAccountState\n } as const;\n}\n","import { call, cancelled } from 'typed-redux-saga/macro';\nimport qs from 'qs';\nimport { t } from '@lingui/macro';\n\nimport { getKeycloakConfig, keycloak } from '../auth/keycloak';\nimport type { RipcordError } from '../errors';\nimport { queryStringToQueryObject } from '../query-params/utils';\nimport timber from '../timber/macro';\nimport { track } from '../utils/mixpanel';\n\nexport type PossibleMethods = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';\nexport type PossibleApiVersions = 'v1' | 'v2';\nexport type PossiblePaths = `/${string}`;\nexport type OtherParams = { [key: string]: string | number | boolean };\n// eslint-disable-next-line no-undef\ntype FetchParams = Omit;\nexport type OMSBatchCommands = Array<\n {\n method: PossibleMethods;\n uri:\n | PossiblePaths\n | {\n $xpr: `'${PossiblePaths}` | `#ref('${PossiblePaths}`;\n };\n apiVersion?: PossibleApiVersions;\n body?: object;\n } & (\n | { method: Extract }\n | { method: Exclude; body: object }\n )\n>;\nexport type OMSCommandResult = {\n body: BodyShape;\n status: number;\n};\nexport type OMSCommandResults = {\n commands: Array<{\n response: OMSCommandResult;\n }>;\n};\n\nexport function getCommonHeaders() {\n const { realm, clientId } = getKeycloakConfig();\n return {\n Connection: 'keep-alive',\n 'Accept-Encoding': 'br, gzip, deflate',\n Authorization: 'Bearer ' + keycloak.token,\n 'RC-ACCOUNT-REALM': realm,\n 'RC-TOKEN-REALM': realm,\n 'X-RC-TOKEN-REALM': realm,\n 'RC-APP-ID': clientId\n } as const;\n}\n\nexport const headersSymbol = Symbol('headers');\n\nexport function* abortableFetch(url: string, params: FetchParams) {\n const abortController = new AbortController();\n try {\n return yield* call(fetch, url, {\n ...params,\n signal: abortController.signal\n });\n } finally {\n if (yield* cancelled()) {\n abortController.abort();\n }\n }\n}\n\n/**\n * Prepares the batch commands by injecting the prefix URL and stringifying any bodies as needed\n */\nexport function prepareBatchCommands(commands: OMSBatchCommands) {\n return commands.map(\n ({ method, uri: rawUri, body: rawBody, apiVersion = 'v1' }) => {\n const body = method !== 'GET' && rawBody ? rawBody : undefined;\n\n const rawUriString = typeof rawUri === 'string' ? rawUri : rawUri.$xpr;\n assertUrlNotIncludingVersion(rawUriString);\n const query = method === 'GET' && rawBody ? qs.stringify(rawBody) : '';\n\n if (typeof rawUri === 'string') {\n return {\n request: {\n method,\n uri:\n `/api/${apiVersion}` +\n rawUriString +\n (query?.length ? `?${query}` : ''),\n body\n }\n };\n } else {\n return {\n request: {\n method,\n uri: {\n ...rawUri,\n $xpr:\n `'/api/${apiVersion}'+` +\n rawUriString +\n (query?.length ? `+'?${query}'` : '')\n },\n body\n }\n };\n }\n }\n );\n}\n\nexport function assertUrlNotIncludingVersion(url: string) {\n if (url.match(/^'?\\/?api\\/v\\d/i)) {\n timber.error(\n 'URL passed to API request function cannot contain API version string (like \"/api/v1\")',\n 'This is most likely a bug!'\n );\n }\n}\n\nexport const trackRequest = ({\n serviceName,\n startTime,\n methodName,\n url,\n responseHeaders,\n batchDetail,\n batchCommandCount,\n samplingPercentage = 0.035\n}: {\n serviceName: string;\n startTime: number;\n methodName: PossibleMethods;\n url: string;\n responseHeaders?: Headers;\n batchDetail?: string;\n batchCommandCount?: number;\n samplingPercentage?: number;\n}) => {\n if (Math.random() <= samplingPercentage) {\n const loadTime = performance.now() - startTime;\n const size = queryStringToQueryObject(url)?.size as string | undefined;\n track('Platform Request', {\n Service: serviceName,\n 'Load Time': loadTime,\n 'Request ID':\n (responseHeaders && responseHeaders.get('X-Request-Id')) || undefined,\n Endpoint: url,\n Method: methodName,\n 'Batch Detail': batchDetail || undefined,\n 'Batch Command Count': batchCommandCount || undefined,\n 'Request Size': size ? Number(size) : 'N/A',\n 'Trace Id': responseHeaders?.get('X-B3-TraceId') || undefined\n });\n }\n};\n\nexport const trackRequestError = ({\n response,\n serviceName,\n methodName,\n url,\n batchDetail,\n batchCommandCount\n}: {\n response: Response | OMSCommandResult | RipcordError | any;\n serviceName: string;\n methodName: PossibleMethods;\n url: string;\n batchDetail?: string;\n batchCommandCount?: number;\n}) => {\n // try/catch wrapper is just to be careful that any mixpanel issues don't get thrown to api request error handlings\n try {\n track('Error', {\n 'Feature that Failed': 'Platform Request',\n 'Status Code': response?.status ?? 'N/A',\n 'Failure Reason': response?.message ?? response,\n 'Additional Data': {\n Service: serviceName,\n Endpoint: url,\n Method: methodName,\n 'Batch Detail': batchDetail || undefined,\n 'Batch Command Count': batchCommandCount || undefined\n }\n });\n } catch (err) {\n timber.error(t`Error tracking trackRequestError`, err);\n }\n};\n","import { createBrowserHistory } from 'history';\nimport { matchPath } from 'react-router-dom';\n\nimport type { History } from 'history';\n\nexport { isOnRoute } from '../sharedUtils';\n\n// paths are defined using the underlying implementation used in react router:\n// https://github.com/pillarjs/path-to-regexp/tree/v1.7.0\n// the BASE_ROUTE here must be hardcoded, it cannot be generated from app name.\nexport const BASE_ROUTE = '/admin-console';\n\nexport const ERR_404_ROUTE = `${BASE_ROUTE}/404` as const;\nexport const TENANT_NOT_FOUND_ROUTE = `${BASE_ROUTE}/tenant-not-found` as const;\nexport const DEMO_PAGE_ROUTE = `${BASE_ROUTE}/demo-ripcord-components` as const;\nexport const DUMP_PAGE_ROUTE = `${BASE_ROUTE}/dump-dev-data` as const;\nexport const TENANTS_ROUTE = `${BASE_ROUTE}/tenants` as const;\nexport const WORKFLOW_MANAGER_ROUTE = `${BASE_ROUTE}/workflowManager` as const;\nexport const TENANT_CREATE_ROUTE = `${BASE_ROUTE}/createTenant` as const;\nexport const GLOBAL_ADMINS_ROUTE = `${BASE_ROUTE}/admins` as const;\nexport const GLOBAL_GROUPS_ROUTE = `${BASE_ROUTE}/groups` as const;\nexport const TENANT_URL_PREFIX = `${BASE_ROUTE}/tenant/:realmName?` as const;\n\nexport const ERR_TENANT_404_ROUTE = `${TENANT_URL_PREFIX}/404` as const;\nexport const TENANT_GENERAL_ROUTE = `${TENANT_URL_PREFIX}/general` as const;\nexport const DATA_MODELS_ROUTE = `${TENANT_URL_PREFIX}/data-models` as const;\nexport const TENANT_GROUPS_ROUTE = `${TENANT_URL_PREFIX}/groups` as const;\nexport const TENANT_PERMISSIONS_ROUTE =\n `${TENANT_URL_PREFIX}/permissions` as const;\nexport const LEGACY_TENANT_DISPLAY_CONFIG_ROUTE =\n `${TENANT_URL_PREFIX}/display-configuration/:featureName?` as const;\nexport const TENANT_DISPLAY_CONFIG_ROUTE =\n `${TENANT_URL_PREFIX}/display-configurations/:tabPath?/:featureName?` as const;\nexport const TENANT_PROPOSAL_ROUTE =\n `${TENANT_URL_PREFIX}/proposal/:tabPath?` as const;\nexport const TENANT_USERS_ROUTE = `${TENANT_URL_PREFIX}/users` as const;\nexport const GLOBAL_ADMINS_FORM_ROUTE =\n `${GLOBAL_ADMINS_ROUTE}/:userId` as const;\nexport const TENANT_JOBS_ROUTE = `${TENANT_URL_PREFIX}/jobs` as const;\n\nexport const MODEL_TYPE_ROUTE = `${DATA_MODELS_ROUTE}/:modelType` as const;\nexport const TENANT_GROUP_PAGE_ROUTE =\n `${TENANT_GROUPS_ROUTE}/:groupId/:tabName?` as const;\nexport const TENANT_PERMISSIONS_PAGE_ROUTE =\n `${TENANT_PERMISSIONS_ROUTE}/:templateId/:tabName?` as const;\nexport const TENANT_USERS_FORM_ROUTE = `${TENANT_USERS_ROUTE}/:userId` as const;\n\nexport const MODEL_DEFINITION_ROUTE =\n `${DATA_MODELS_ROUTE}/:modelType/:modelId` as const;\nexport const TENANT_JOBS_CONFIGURATION_ROUTE =\n `${TENANT_JOBS_ROUTE}/:jobId/:tabName?` as const;\n\n// Try to use the `useHistory` hook, the `withRouter` HOC, or use connected-redux-router's push/replace.\n// if you have no other option, this is exported here.\nexport const history: History = createBrowserHistory();\n\n/**\n * Returns the params object extracted from the URL, or null if the URL doesn't match\n */\nexport const getParamsFromPath = (pathname: string, route: string) =>\n matchPath(pathname, { path: route })?.params;\n\nhistory.listen(() => {\n window.scrollTo(0, 0);\n});\n\n/*\nways to get route information:\n\nReact:\n * useHistory, useLocation, useParams, useRouteMatch for functional components\n * withRouter for class components\nRedux:\n * state.router.* gives us all the internal router state in the redux world\n*/\n","import { createBrowserHistory } from 'history';\nimport qs from 'qs';\n\nimport type { History } from 'history';\nimport type { ReactNode } from 'react';\nimport type { FlowableTask } from '../../flowable/tsTypes';\nimport type { ParsedTaxonomyUrlSplat } from '../../oms/taxonomy/utils';\nimport type { OMSObject } from '../../oms/tsTypes';\nimport type { RipcordLocation } from '../../query-params/utils';\nimport type { ValueOf } from '../../utils/tsUtilityTypes';\n\nimport { APP_IDS, BASE_TYPE, CATEGORIES } from '../../constants';\nimport { buildTaxonomyUrlSplat } from '../../oms/taxonomy/utils';\nimport { compileLegacyTaxonomyPath } from '../../pages/taxonomy/legacyUtils';\nimport { SEARCHMODES } from '../../ui/slices';\nimport { generatePath } from '../../utils/routing';\nimport { isOnRoute } from '../sharedUtils';\n\nexport { isOnRoute } from '../sharedUtils';\n\n// paths are defined using the underlying implementation used in react router:\n// https://github.com/pillarjs/path-to-regexp/tree/v1.7.0\n\n// transparently support loading the app from either the bare `/` or the `/parachute/` pathnames\nexport const PARACHUTE_BASE_ROUTE = window.location.pathname.startsWith(\n `/parachute`\n)\n ? '/parachute/'\n : '/';\nexport const DOCUFAI_PLUS_BASE_ROUTE = '/plus/';\nexport const CANOPY_BASE_ROUTE = '/canopy/';\nexport const BASE_ROUTE =\n process.env.APP_NAME === APP_IDS.CANOPY\n ? CANOPY_BASE_ROUTE\n : process.env.APP_NAME === APP_IDS.DOCUFAI_PLUS\n ? DOCUFAI_PLUS_BASE_ROUTE\n : PARACHUTE_BASE_ROUTE;\nexport const HOME_ROUTE = `${BASE_ROUTE}home` as const;\nexport const CARD_LIST_ROUTE = `${BASE_ROUTE}card-list` as const;\nexport const COLLECTIONS_ROUTE = `${BASE_ROUTE}collections` as const;\nexport const COLLECTION_ROUTE = `${COLLECTIONS_ROUTE}/:id?` as const;\nexport const FAVORITES_ROUTE = `${BASE_ROUTE}favorites` as const;\nexport const METRICS_ROUTE = `${BASE_ROUTE}metrics/:metricLabel?` as const;\nexport const AUDIT_SEARCH_ROUTE = `${BASE_ROUTE}audit-search` as const;\nexport const RECENT_ROUTE = `${BASE_ROUTE}recent` as const;\nexport const PERSONAL_ROUTE =\n process.env.APP_NAME === APP_IDS.DOCUFAI_PLUS\n ? `${BASE_ROUTE}my-files/:parentId?`\n : (`${BASE_ROUTE}personal/:parentId?` as const);\nexport const WORKSPACES_ROUTE = `${BASE_ROUTE}workspaces` as const;\nexport const WORKSPACE_ROUTE = `${WORKSPACES_ROUTE}/:id?` as const;\nexport const WORKSPACE_RECORD_ROUTE =\n `${WORKSPACE_ROUTE}/record/:recordId` as const;\nexport const WORKSPACE_PRINT_NOTES_ROUTE = `${WORKSPACE_ROUTE}/print` as const;\nexport const LEGACY_NOTEBOOKS_ROUTE = `${BASE_ROUTE}legacy_notebooks` as const;\nexport const LEGACY_NOTEBOOK_ROUTE = `${LEGACY_NOTEBOOKS_ROUTE}/:id?` as const;\nexport const LIBRARY_ROUTE = `${BASE_ROUTE}library/:parentId?` as const;\nexport const SOURCE_ROUTE = `${BASE_ROUTE}source/:parentId?` as const;\nexport const TAXONOMY_LISTING_ROUTE = `${BASE_ROUTE}taxonomies` as const;\nexport const TAXONOMY_ROUTE = `${TAXONOMY_LISTING_ROUTE}/:id/*` as const;\nexport const TAXONOMY_EDIT_ROUTE = `${BASE_ROUTE}edit-taxonomy/:id?` as const;\nexport const SINGULAR_TAXONOMY_LISTING_ROUTE = `${BASE_ROUTE}taxonomy` as const;\nexport const SINGULAR_TAXONOMY_ROUTE =\n `${SINGULAR_TAXONOMY_LISTING_ROUTE}/:id/*` as const;\nexport const SAVED_SEARCHES_ROUTE =\n `${BASE_ROUTE}saved-searches/:id?/:fulltext?` as const;\nexport const SEARCH_ROUTE = `${BASE_ROUTE}search/:fulltext?` as const;\nexport const RECORD_ROUTE = `${BASE_ROUTE}record/:recordId` as const;\nexport const TASKS_ROUTE = `${BASE_ROUTE}tasks/:queueName?` as const;\nexport const TASKS_BROWSING_ROUTE =\n `${BASE_ROUTE}tasks/browsing/:queueName?` as const;\nexport const TASKS_BROWSER_ROUTE =\n `${BASE_ROUTE}tasks-browser/:filters?` as const;\nexport const TASK_ROUTE = `${BASE_ROUTE}task/:view/:taskId` as const;\nexport const PLAIN_JSON_ROUTE = `${BASE_ROUTE}meta/:id` as const;\nexport const PLAIN_JSON_DESCENDANTS_ROUTE = `${BASE_ROUTE}metad/:id` as const;\nexport const DOCUFAI_DEBUG_ROUTE = `${BASE_ROUTE}debugTextLayer/:id` as const;\n\n// document review is going to be it's own top-level page for now, but eventually it's\n// functionality should be baked into TASKS_PROCESSING_ROUTE with the document review portion\n// in the session frame\nexport const BOX_PROCESSING_ROUTE =\n `${BASE_ROUTE}box-processing/:queueName?` as const;\nexport const TASKS_PROCESSING_ROUTE =\n `${BASE_ROUTE}page-processing/:queueName?` as const;\nexport const DEMO_PAGE_ROUTE = `${BASE_ROUTE}demo-ripcord-components` as const;\nexport const DUMP_PAGE_ROUTE = `${BASE_ROUTE}dump-dev-data` as const;\n\nexport const BULK_TASKS_PROCESSING_ROUTE =\n `${BASE_ROUTE}bulk-processing/:queueName?` as const;\n\nexport const SPLIT_CLASSIFY_ROUTE =\n `${BASE_ROUTE}split-classify/:queueName?` as const;\n\nexport const ERR_404_ROUTE = `${BASE_ROUTE}404` as const;\nexport const TENANT_NOT_FOUND_ROUTE = `${BASE_ROUTE}tenant-not-found` as const;\n\n// Try to use the `useHistory` hook, the `withRouter` HOC, or use connected-redux-router's push/replace.\n// if you have no other option, this is exported here.\nexport const history: History = createBrowserHistory();\n\nexport const LISTING_ROUTES = [\n COLLECTION_ROUTE,\n COLLECTIONS_ROUTE,\n RECENT_ROUTE,\n PERSONAL_ROUTE,\n FAVORITES_ROUTE,\n LIBRARY_ROUTE,\n SOURCE_ROUTE,\n TAXONOMY_ROUTE,\n TAXONOMY_LISTING_ROUTE,\n SAVED_SEARCHES_ROUTE,\n SEARCH_ROUTE,\n TASKS_ROUTE,\n TASKS_BROWSER_ROUTE,\n TASKS_BROWSER_ROUTE\n] as const;\n\n// This returns a boolean used to hide the left menu navbar when the user is on these routes\nexport const isDocumentView = (pathname: string) => {\n return isOnRoute(pathname, [\n RECORD_ROUTE,\n TASKS_PROCESSING_ROUTE,\n BULK_TASKS_PROCESSING_ROUTE,\n BOX_PROCESSING_ROUTE,\n SPLIT_CLASSIFY_ROUTE,\n TASK_ROUTE\n ]);\n};\n\n/**\n * This type is used anywhere that we build a \"fake\" OMS Object used to generate a link or\n * breadcrumb of some kind. It has all kinds of extra flags that may only be used in one area,\n * and some properties are changed. It should be a superset of the OMSObject type, and it is a\n * tad bit recursive with containing it's own type in the path property.\n */\nexport type LinkablePseudoObject = Partial<\n Omit\n> & {\n label?: ReactNode;\n breadcrumbKey?: string;\n id?: string | null | undefined;\n name?: string;\n taxonomyLinkFilters?: ParsedTaxonomyUrlSplat;\n personal?: boolean;\n currentPath?: string[];\n path?: Array;\n};\n\nexport const genCanopyLinkToObject = (\n /**\n * personal: true triggers the link to go to the personal link instead of the library link in\n * case we don't have enough info to determine it from the object alone\n */\n omsObject: LinkablePseudoObject\n) => {\n /**\n * It is imperative that pathname is inserted into the object first\n * so that we can easily destructure the returns into a history.push\n */\n const link: Partial = {};\n const location = history?.location;\n const newGoBackUrl = isOnRoute(\n location?.pathname,\n LISTING_ROUTES as unknown as string[]\n )\n ? `${location?.pathname}${location?.search}`\n : null;\n const currentGoBackUrl = location?.state?.gobackUrl;\n const gobackUrl = !isOnRoute(newGoBackUrl, RECORD_ROUTE)\n ? newGoBackUrl\n : currentGoBackUrl;\n if (omsObject.id && typeof omsObject.taxonomyLinkFilters !== 'undefined') {\n // taxonomy 2.0 path generation\n link.pathname = generatePath(TAXONOMY_ROUTE, {\n id: omsObject.id,\n // @ts-expect-error This is a hack using some internals of RRD to use raw splats\n 0: buildTaxonomyUrlSplat(omsObject.taxonomyLinkFilters)\n });\n link.search = qs.stringify({\n searchMode: omsObject.source ? SEARCHMODES.SOURCE : undefined\n });\n } else if (omsObject.category === CATEGORIES.CONTAINER) {\n if (omsObject.type === BASE_TYPE.NOTEBOOK) {\n link.pathname = generatePath(WORKSPACE_ROUTE, {\n id: omsObject.id\n });\n } else if (omsObject.source) {\n link.pathname = generatePath(SOURCE_ROUTE, {\n parentId: omsObject.id\n });\n } else {\n if (\n omsObject?.path?.some(({ type }) => type === BASE_TYPE.HOME_FOLDER) ||\n omsObject?.personal\n ) {\n link.pathname = generatePath(PERSONAL_ROUTE, {\n parentId: omsObject.id\n });\n } else {\n link.pathname = generatePath(LIBRARY_ROUTE, {\n parentId: omsObject.id\n });\n }\n }\n } else if (omsObject.type === BASE_TYPE.TAXONOMY) {\n // legacy (1.0) taxonomy path generation\n link.pathname = generateLegacyTaxonomyPath(\n omsObject.id!,\n omsObject.currentPath\n );\n } else if (omsObject.type === BASE_TYPE.COLLECTION) {\n link.pathname = generatePath(COLLECTION_ROUTE, {\n id: omsObject.id\n });\n link.state = { gobackUrl };\n } else {\n link.pathname = generatePath(RECORD_ROUTE, {\n recordId: omsObject.id!\n });\n link.state = { gobackUrl };\n }\n return link as Location & { state?: any };\n};\n\nexport const genCanopyLinkToTask = (\n flowableTask: FlowableTask,\n view: 'error' = 'error'\n) => {\n /**\n * It is imperative that pathname is inserted into the object first\n * so that we can easily destructure the returns into a history.push\n */\n const link: Partial = {};\n const location = history?.location;\n const currentPath = location?.pathname;\n const currentGoBackUrl = location?.state?.gobackUrl;\n const gobackUrl = !isOnRoute(currentPath, TASK_ROUTE)\n ? currentPath\n : currentGoBackUrl;\n link.pathname = generatePath(TASK_ROUTE, { view, taskId: flowableTask.id });\n link.state = { gobackUrl, queryKey: flowableTask.queryKey };\n return link;\n};\n\nexport const generateLegacyTaxonomyPath = (\n id: string,\n taxonomyPath: string[] = []\n) => {\n return generatePath(TAXONOMY_ROUTE, {\n id,\n // @ts-expect-error This is a hack using some internals of RRD to use raw splats\n 0: compileLegacyTaxonomyPath(taxonomyPath)\n });\n};\n\nhistory.listen(() => {\n window.scrollTo(0, 0);\n});\n\n/*\nways to get route information:\n\nReact:\n * useHistory, useLocation, useParams, useRouteMatch for functional components\n * withRouter for class components\n*/\n\nexport const LISTING_PAGES = {\n [AUDIT_SEARCH_ROUTE]: 'audit',\n [COLLECTION_ROUTE]: 'collection',\n [COLLECTIONS_ROUTE]: 'collections listing',\n [FAVORITES_ROUTE]: 'favorites',\n [LIBRARY_ROUTE]: 'library',\n [METRICS_ROUTE]: 'metrics',\n [PERSONAL_ROUTE]: 'personal',\n [RECENT_ROUTE]: 'recent',\n [SAVED_SEARCHES_ROUTE]: 'saved search',\n [SEARCH_ROUTE]: 'search',\n [SOURCE_ROUTE]: 'source',\n [TASKS_ROUTE]: 'tasks',\n [TASKS_BROWSING_ROUTE]: 'task browsing',\n [TAXONOMY_ROUTE]: 'taxonomy',\n [TAXONOMY_LISTING_ROUTE]: 'taxonomy listing',\n [WORKSPACES_ROUTE]: 'workspaces listing'\n} as const;\n\nexport type PossibleListingPageNames = ValueOf;\n\nexport const RECORD_PAGES = {\n [BULK_TASKS_PROCESSING_ROUTE]: 'bulk processing',\n [BOX_PROCESSING_ROUTE]: 'box processing',\n [RECORD_ROUTE]: 'record',\n [SPLIT_CLASSIFY_ROUTE]: 'split classify',\n [TASKS_PROCESSING_ROUTE]: 'task processing',\n [TASKS_BROWSER_ROUTE]: 'task viewer'\n} as const;\n\nexport type PossibleRecordPageNames = ValueOf;\n\nexport const PAGES = {\n ...LISTING_PAGES,\n ...RECORD_PAGES\n} as const;\n\nexport type PossiblePageNames =\n | PossibleListingPageNames\n | PossibleRecordPageNames;\n","import timber from '../timber/macro';\n\nconst _cio: any[] = [];\n\nexport default function configureCustomerIo(siteId: string) {\n // The script below was taken from the Customer.io integration page:\n // https://fly.customer.io/workspaces/143228/journeys/integrations/customerio\n // and lightly updated to work with typescript and passing in the site id as a variable\n\n try {\n let c;\n\n const a = function (f) {\n return function () {\n // eslint-disable-next-line prefer-rest-params\n _cio.push([f].concat(Array.prototype.slice.call(arguments, 0)));\n };\n };\n\n const b = ['load', 'identify', 'sidentify', 'track', 'page'];\n\n for (c = 0; c < b.length; c++) {\n _cio[b[c]] = a(b[c]);\n }\n\n const t = document.createElement('script');\n const s = document.getElementsByTagName('script')[0];\n\n t.async = true;\n t.id = 'cio-tracker';\n t.setAttribute('data-site-id', siteId);\n t.src = 'https://assets.customer.io/assets/track.js';\n s.parentNode?.insertBefore(t, s);\n\n global._cio = _cio;\n } catch (e) {\n timber.error('Error configuring Customer.io', e);\n }\n}\n","import '../../utils/wdyr';\nimport 'whatwg-fetch';\nimport '../../styles/main.scss';\n\nimport React, { StrictMode } from 'react';\nimport { createRoot } from 'react-dom/client';\nimport smoothscroll from 'smoothscroll-polyfill';\n\nimport SuspenseThrobber from '../../ripcord-components/loading/progress-indicator/suspenseThrobber';\nimport { shipLogsOnUnhandledError } from '../../timber/logShipper';\nimport configureLocale from '../../translations/configure-locale';\nimport configureCustomerIo from '../configureCustomerIo';\nimport configureMixpanel from '../configureMixpanel';\n\nshipLogsOnUnhandledError();\n\n// begin loading the locale ASAP\nconst localePromise = configureLocale();\n\nconfigureMixpanel();\nconfigureCustomerIo(\n window.location.hostname.includes('app.us2.docufai.com')\n ? 'd18f05248d10a2db9552'\n : '11939df46dd1fbaf6978'\n);\n\nsmoothscroll.polyfill();\n\n// don't render until the locale is fully loaded and activated\nlocalePromise.then(async () => {\n const [\n { history },\n { default: rootReducer },\n { default: rootSaga },\n { default: configureStore },\n { default: ParachuteRouter },\n { default: Providers }\n ] = await Promise.all([\n import(/* webpackPreload: true */ '../canopy/routes'),\n import(/* webpackPreload: true */ './reducers'),\n import(/* webpackPreload: true */ './sagas'),\n import(/* webpackPreload: true */ '../../store/configure-store'),\n import(/* webpackPreload: true */ './router'),\n import(/* webpackPreload: true */ '../containers/providers')\n ]);\n\n const initialState = {};\n const store = configureStore(rootReducer, rootSaga, initialState, history);\n\n const root = createRoot(document.getElementById('root'));\n root.render(\n \n \n \n \n \n \n \n );\n});\n","import mixpanel from 'mixpanel-browser';\n\nimport timber from '../timber/macro';\n\nconst DEV_TOKEN = '725d0912d5324e972d03f22d940a6735';\nconst PROD_TOKEN = '31a5b2e7a95749c268ea96956626bc95';\nconst PROD_DOCUFAI_TOKEN = 'f67ac079cb99d7a2ad0e1befe614a70c';\n\nexport default function configureMixpanel() {\n try {\n const { protocol, host } = window.location;\n const apiHost = `${protocol}//${host}/mixpanel`;\n\n const token =\n window.location.hostname.indexOf('.docufai.com') !== -1\n ? PROD_DOCUFAI_TOKEN\n : window.location.hostname.indexOf('.ripcord.com') !== -1 ||\n window.location.hostname.indexOf('.ripcord.co.jp') !== -1\n ? PROD_TOKEN\n : DEV_TOKEN;\n\n // Note: Below, api_host is used as the API host property. Avoid the urge to\n // change it to apiHost, as that will break the Mixpanel configuration;\n // it expects \"api_host\".\n mixpanel.init(token, {\n api_host: apiHost\n });\n } catch (e) {\n timber.error('Error initializing mixpanel: ', e);\n }\n}\n","import { matchPath } from 'react-router';\n\n/**\n * Returns true if the given pathname matches the given route\n * or one of given routes\n */\nexport const isOnRoute = (\n pathname: string | null,\n compare: string | string[]\n) => {\n switch (typeof compare) {\n case 'string':\n return matchPath(pathname, { path: compare });\n case 'object':\n return !!compare?.some\n ? compare.some((route) => matchPath(pathname, { path: route }))\n : false;\n default:\n return false;\n }\n};\n","import React, { useEffect, useLayoutEffect, useState } from 'react';\nimport Keycloak from 'keycloak-js';\nimport mixpanel from 'mixpanel-browser';\n\nimport type { PossibleKnownRoles, PossibleRealmTypes } from '../constants';\n\nimport { TENANT_NOT_FOUND_ROUTE as AC_ROUTE } from '../app/admin-console/routes';\nimport {\n TENANT_NOT_FOUND_ROUTE as CANOPY_ROUTE,\n isOnRoute\n} from '../app/canopy/routes';\nimport { APP_IDS } from '../constants';\nimport { RipcordError } from '../errors';\nimport useRipcordLocation from '../query-params/useRipcordLocation';\nimport ProgressIndicator from '../ripcord-components/loading/progress-indicator';\nimport timber from '../timber/macro';\nimport { KEYCLOAK_TOKEN_REFRESH_MS } from './constants';\n\nexport function getKeycloakConfig(location = window.location): {\n readonly url: string;\n readonly realm: string;\n readonly clientId: string;\n} {\n switch (location.hostname) {\n case 'local.ripcordops.com': {\n const clientId = process.env.APP_NAME;\n return {\n url: `${process.env.API_URL!.replace(/\\/+$/, '')}/auth`,\n realm: /\\/\\/(.*?)\\./.exec(process.env.API_URL!)![1],\n clientId\n };\n }\n default:\n return {\n url: `${location.origin}/auth`,\n realm: /(.*?)\\./.exec(location.hostname)?.[1] ?? 'REALM_NOT_FOUND', // the REALM_NOT_FOUND is so tests will continue to work\n clientId: process.env.APP_NAME\n };\n }\n}\n\ntype RipcordKeycloakInstance = Omit & {\n // tokenParsed is a mess from the keycloak library, so i'm overwriting the types here\n tokenParsed:\n | undefined\n | {\n iss?: string;\n sub?: string;\n aud?: string;\n exp?: number;\n iat?: number;\n auth_time?: number;\n nonce?: string;\n acr?: string;\n amr?: string;\n azp?: string;\n session_state?: string;\n /** use this one for checking roles */\n realm_access?: {\n roles: PossibleKnownRoles[];\n };\n /** this exists but shouldn't be used to check roles */\n resource_access?: {\n roles: string[];\n };\n groups?: string[];\n groups_ids?: string[];\n partner_tenants?: string;\n realm_type?: PossibleRealmTypes;\n realm_name?: string;\n tier_name?: string;\n email?: string;\n name?: string;\n };\n};\n\nexport const keycloak = new Keycloak(\n getKeycloakConfig()\n) as RipcordKeycloakInstance;\n\nexport function logout() {\n try {\n mixpanel.reset();\n } catch (error) {\n timber.error(error);\n }\n\n sessionStorage.removeItem('dataRealm');\n keycloak.logout();\n}\n\nconst keycloakInitOptions = {\n enableLogging: true,\n useNonce: true,\n onLoad: 'check-sso',\n silentCheckSsoRedirectUri: `${window.location.origin}/${\n process.env.APP_NAME === APP_IDS.DOCUFAI_PLUS\n ? 'plus'\n : (process.env.APP_NAME as string)\n }/silent-check-sso.html`,\n silentCheckSsoFallback: true,\n pkceMethod: 'S256',\n checkLoginIframe: true,\n checkLoginIframeInterval: KEYCLOAK_TOKEN_REFRESH_MS / 1000,\n // default is 10000, and was previously set to 5000. Increasing to 20000 to potentially fix FSP-4115 where the timeout is being reached on slower networks for some customers.\n messageReceiveTimeout: 20000\n} as const;\n\nexport function AuthLoader({ children }) {\n const {\n location: { pathname },\n replace\n } = useRipcordLocation();\n const [isAuthed, setIsAuthed] = useState(false);\n\n const isAuthLoading =\n !isAuthed && !isOnRoute(pathname, [CANOPY_ROUTE, AC_ROUTE]);\n\n useLayoutEffect(() => {\n keycloak.onReady = (authenticated) => {\n timber.debug(`Keycloak Initialized`);\n if (!authenticated) {\n timber.debug(\n 'Keycloak Authentication failed, forwarding to login screen...'\n );\n keycloak.login();\n } else {\n timber.debug('Keycloak Authentication successful!');\n setIsAuthed(true);\n }\n };\n // the init must be called after the onReady function is assigned or it will not call onReady\n // in many of the error conditions (like lack of 3rd party cookie support), leading to the\n // user being stuck on the loading screen\n keycloak.init(keycloakInitOptions);\n }, []);\n\n useEffect(() => {\n let checkForTenant404Interval;\n\n if (isAuthLoading) {\n checkForTenant404Interval = setInterval(() => {\n try {\n /* If the tenant doesn't exist in development while proxying, a cors error will be thrown when trying to read this iframe\n * If the tenant doesn't exist in production, this will return a fancy keycloak 404 page,\n * which we can detect by reading the title of the page.\n *\n * We can't use the `load` event as that doesn't fire when it's a cors issue\n */\n if (\n (\n document.querySelector(\n 'body > iframe[title=\"keycloak-session-iframe\"]'\n ) as any\n )?.contentDocument?.title?.includes('Keycloak')\n ) {\n throw new RipcordError({ message: '404 session iframe check' });\n } else if (\n (\n document.querySelector(\n 'body > iframe[title=\"keycloak-3p-check-iframe\"]'\n ) as any\n )?.contentDocument?.title?.includes('Keycloak')\n ) {\n throw new RipcordError({\n message: '404 3rd party cookie check iframe'\n });\n }\n } catch (e) {\n timber.error(\n 'keycloak iframes not found, assuming the tenant does not exist...'\n );\n // we can't access the iframe, so it's probably a 404 error and we should redirect to the 404 tenant page\n clearInterval(checkForTenant404Interval);\n replace({\n pathname:\n process.env.APP_NAME === APP_IDS.CANOPY ||\n process.env.APP_NAME === APP_IDS.DOCUFAI_PLUS\n ? CANOPY_ROUTE\n : AC_ROUTE\n });\n }\n }, 500);\n } else {\n clearInterval(checkForTenant404Interval);\n }\n\n return () => clearInterval(checkForTenant404Interval);\n }, [isAuthLoading, replace]);\n\n useEffect(() => {\n let interval;\n if (isAuthed) {\n timber.debug('Setting up token refresh interval...');\n interval = setInterval(async () => {\n timber.debug('Checking if token refresh is needed...');\n\n try {\n const refreshed = await keycloak.updateToken(0);\n\n if (!refreshed) {\n const tokenValidSeconds = Math.round(\n keycloak.tokenParsed!.exp! +\n keycloak.timeSkew! -\n new Date().getTime() / 1000\n );\n timber.debug(\n `Token not refreshed, valid for ${tokenValidSeconds} more seconds`\n );\n } else {\n timber.debug('Token refreshed!');\n }\n } catch (err) {\n timber.error('Error refreshing token!', err);\n keycloak.login();\n }\n }, KEYCLOAK_TOKEN_REFRESH_MS);\n }\n\n return () => {\n timber.debug('Tearing down token refresh interval...');\n clearInterval(interval);\n };\n }, [isAuthed]);\n\n if (isAuthLoading) {\n return ;\n } else {\n return children;\n }\n}\n","/**\n * check to see if the keycloak token should be refreshed this often, in milliseconds.\n */\nexport const KEYCLOAK_TOKEN_REFRESH_MS = 60000;\n","import type { PossibleKnownRoles } from '../constants';\n\nimport { REALM_TYPE, WELL_KNOWN_ROLES } from '../constants';\nimport { keycloak } from './keycloak';\n\nexport const ROLES = {\n ...WELL_KNOWN_ROLES,\n // list of roles that can be assigned to an admin-console superuser level user\n AC_SUPERUSER_ROLES: [\n WELL_KNOWN_ROLES.GLOBAL_ADMIN,\n WELL_KNOWN_ROLES.TENANT_PROVISIONER\n ],\n // list of roles that can be assigned to a canopy tenant level user\n CANOPY_TENANT_ROLES: [\n WELL_KNOWN_ROLES.TENANT_ADMIN,\n WELL_KNOWN_ROLES.CUSTOMER_ADMIN,\n WELL_KNOWN_ROLES.ACCOUNT_ADMIN,\n WELL_KNOWN_ROLES.AUDIT_MANAGER,\n WELL_KNOWN_ROLES.AUDIT_USER\n ]\n} as const;\n\nconst getRealmAccessRoles = () => {\n return keycloak.tokenParsed?.realm_access?.roles ?? [];\n};\n\nconst tokenHasRole = (roleToCheck: PossibleKnownRoles | string) => {\n const rolesFromToken: Array =\n getRealmAccessRoles();\n return rolesFromToken.includes(roleToCheck);\n};\n\n/** Used to check if the token has at least one of the given roles */\nexport const tokenHasOneOfRoles = (\n rolesToCheck: PossibleKnownRoles[] | string[] | undefined\n) => rolesToCheck?.some((roleToCheck) => tokenHasRole(roleToCheck)) ?? false;\n\n/** Used to check if the token has ALL of the given roles */\nexport const tokenHasAllOfRoles = (\n rolesToCheck: PossibleKnownRoles[] | string[]\n) => rolesToCheck.every((roleToCheck) => tokenHasRole(roleToCheck));\n\nexport const tokenRealmName = () => {\n const { tokenParsed } = keycloak;\n return tokenParsed?.realm_name;\n};\n\nexport const tokenRealmType = () => {\n const { tokenParsed } = keycloak;\n return tokenParsed?.realm_type;\n};\n\n/**\n * This is only used in the very few scenarios where we want to filter out\n * partner realm names. Specifically when interacting with mts/tenants endpoint\n * which does not treat partners as tenants. For most use cases, use tokenRealmName\n */\nexport const tokenTenantRealm = () => {\n const { tokenParsed } = keycloak;\n return tokenParsed?.realm_type === 'tenant' ? tokenParsed?.realm_name : null;\n};\n\nexport function getUserUUID() {\n return keycloak?.tokenParsed?.sub ?? '';\n}\n\nexport function getHotjarUserInfo() {\n return {\n id: keycloak?.tokenParsed?.sub ?? null,\n email: keycloak?.tokenParsed?.email ?? '',\n name: keycloak?.tokenParsed?.name ?? '',\n realm_name: keycloak?.tokenParsed?.realm_name ?? '',\n realm_type: keycloak?.tokenParsed?.realm_type ?? ''\n };\n}\n\nexport const isPartnerTenant = () => {\n return keycloak.tokenParsed?.realm_type === REALM_TYPE.PARTNER;\n};\n\nconst INTERNAL_DOMAINS = [\n 'ripcord.com',\n 'docufai.com',\n 'fujifilm-ripcord.com',\n 'dummy-n.local',\n 'contoso.local',\n 'bk.mufg.jp'\n] as const;\nexport function getMixpanelInfo({ tenantId }: { tenantId: string }) {\n // Determine if this email is internal or external by checking the domain\n // to which the email is associated.\n const email = keycloak?.tokenParsed?.email;\n const isInternalUser = INTERNAL_DOMAINS.reduce(\n (acc, domain) => acc || email?.indexOf(domain) !== -1,\n false\n );\n\n // Note: These field names (with spaces, etc) were specifically requested.\n // Please ignore the urge to rename them as camelCase, etc etc.\n const superPropertyPayload = {\n tenant_id: tenantId,\n 'User Roles': keycloak?.tokenParsed?.realm_access?.roles,\n 'User Groups': keycloak?.tokenParsed?.groups,\n Application: process.env.APP_NAME,\n 'Is Internal User': isInternalUser,\n 'Realm Name': keycloak?.tokenParsed?.realm_name,\n 'Is Docufai User': tokenHasOneOfRoles([ROLES.DOCUFAI])\n };\n\n const mixpanelPayload = {\n 'Is Internal User': isInternalUser,\n 'Is External User': !isInternalUser,\n 'Realm Name': keycloak?.tokenParsed?.realm_name,\n tenant_id: tenantId\n };\n\n return {\n superPropertyPayload,\n mixpanelPayload\n };\n}\n","import { DateTime } from 'luxon';\nimport type { ValueOf } from '../utils/tsUtilityTypes';\n\n/**\n * These are presets from Luxon.\n * https://moment.github.io/luxon/#/formatting?id=presets\n * They take the form of Intl DateTimeFormat configuration objects.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters\n * These are inherently locale agnostic and adapt to the locale in terms of symbols used and ordering.\n * These are not compatible with token-based formatting (e.g. MM/DD/YY)\n */\nexport const DATETIME_FORMATS = {\n DATE: {\n SHORT: DateTime.DATE_SHORT,\n LONG: DateTime.DATE_FULL\n },\n TIME: {\n SHORT: DateTime.TIME_SIMPLE,\n LONG: DateTime.TIME_WITH_LONG_OFFSET\n },\n DATETIME: {\n MINI: DateTime.DATETIME_SHORT,\n SHORT: DateTime.DATETIME_SHORT_WITH_SECONDS,\n LONG: DateTime.DATETIME_FULL_WITH_SECONDS\n },\n RELATIVE: 'relative'\n} as const;\n\nexport type PossibleExactDateTimeFormats = ValueOf<\n ValueOf>\n>;\nexport type PossibleDatetimeFormats =\n | PossibleExactDateTimeFormats\n | ValueOf>;\n\nexport const IMPORT_SUPPORTED_MIME_TYPES = {\n JSON: 'application/json',\n CSV: 'text/csv'\n} as const;\nexport type PossibleImportSupportedMimeTypes = ValueOf<\n typeof IMPORT_SUPPORTED_MIME_TYPES\n>;\n\nexport const API = {\n MTS: { USERS: { DEBOUNCE_WAIT: 300 }, PRINCIPALS: { DEBOUNCE_WAIT: 300 } },\n OMS: { OBJECTS: { DEBOUNCE_WAIT: 300 } },\n JOB: { INSTANCES: { POLL_WAIT: 5000 } },\n MIXPANEL: { DEBOUNCE_WAIT: 300 }\n} as const;\n\nexport const PAGINATION = {\n DEFAULT_PAGE: 0,\n DEFAULT_SIZE: 24,\n PAGER_SIZE: 10\n} as const;\n\nexport const TENANT_POLLING_TIME_MS = 5000;\n\nexport const BETA_FEATURES = [];\n","import { t } from '@lingui/macro';\n\nimport type { ValueOf } from './utils/tsUtilityTypes';\n\n/** Keycloak Realm Types */\nexport const REALM_TYPE = {\n PARTNER: 'partner',\n TENANT: 'tenant'\n} as const;\nexport type PossibleRealmTypes = ValueOf;\n\n// Categories of object OMS\nexport const CATEGORIES = {\n CONTAINER: 'Container',\n CONTENT: 'Content',\n ENTITY: 'Entity'\n} as const;\n// short term solution to utilize category as a picklist until we find a better solution\n// system-wide to handle requesting facets\nexport const CATEGORY_OPTIONS = Object.values(CATEGORIES).map((category) => ({\n label: category,\n value: category\n}));\n\n// Processing priorities of object OMS\nexport const PROCESSING_PRIORITIES = {\n LARGE_CONTENT: 'large-content',\n BULK: 'bulk',\n HIGH_PRIORITY_BATCH: 'high-priority-batch',\n INTERACTIVE: 'interactive'\n} as const;\n\nexport const PROCESSING_STATES_KEYS = {\n TEXT_EXTRACTION: 'textExtraction',\n SCANNED_PAGE_WORKFLOW: 'scannedPageWorkflow',\n SCANNED_BOX_CASE: 'scannedBoxCase'\n} as const;\n\nexport const PROCESSING_STATES = {\n DELIVERED: 'delivered',\n DONE: 'done',\n ERRORED: 'error',\n EXPORTING: 'exporting',\n IMPORTING: 'importing',\n NONE: 'none',\n PROCESSING: 'processing',\n STARTING: 'start'\n} as const;\n\n// Ingestion methods, internal attribute on an object\nexport const INGESTION_METHODS = {\n RIPCORD_SCANNED: 'ripcord-scanned',\n USER_UPLOAD: 'user-upload',\n WEB_SCAN: 'web-scan',\n SFTP: 'sftp',\n UNKNOWN: 'unknown'\n} as const;\n\n// used in the Data Models tab of Admin Console\nexport const DATA_MODELS = {\n AUTOFILL_DEFINITIONS: 'autofill-definitions',\n LOOKUP_DEFINITIONS: 'lookup-definitions',\n LOOKUP_OBJECTS: 'lookup-objects',\n TRAIT_DEFINITIONS: 'trait-definitions',\n TYPE_DEFINITIONS: 'type-definitions'\n} as const;\n\n// Subset of renditionTypes that the frontend cares about. Updated Oct 21, 2021\nexport const RENDITION_TYPES = {\n THUMBNAIL: 'Thumbnail',\n ORIGINAL: 'Original',\n TEXT: 'Text'\n} as const;\nexport type PossibleKnownRenditionTypes =\n | ValueOf\n | string;\n\n// Well known _links found on OMS Renditions\nexport const OMS_OBJECT_LINKS = {\n ACL: 'acl',\n ADD_DESCENDANTS: 'add-descendants',\n ADD_RELATIONS: 'add-relations',\n ADD_VERSIONS: 'add-versions',\n ANCESTORS: 'ancestors',\n DELETE: 'delete',\n DESCENDANTS: 'descendants',\n EDIT: 'edit',\n EDIT_OWNERS: 'edit-owners',\n EDIT_PERMISSIONS: 'edit-permissions',\n EDIT_TYPE: 'edit-type',\n MOVE: 'move',\n OBJECT: 'object',\n RELATIONSHIPS: 'relationships',\n RENDITIONS: 'renditions',\n SELF: 'self',\n TAGS: 'tags'\n} as const;\nexport type PossibleKnownObjectLinks = ValueOf;\n\nexport const RENDITION_LINKS = {\n PRINT: 'print',\n DOWNLOAD: 'download'\n} as const;\nexport type PossibleRenditionLinks = ValueOf;\n\nexport const OMS_NUMBER_DATA_TYPES = {\n INTEGER: 'INTEGER',\n DOUBLE: 'DOUBLE',\n LONG: 'LONG',\n FLOAT: 'FLOAT'\n} as const;\n\nexport const OMS_TEXT_DATA_TYPES = {\n UUID: 'UUID',\n STRING: 'STRING',\n TEXT: 'TEXT'\n} as const;\n\nexport const OMS_DATE_DATA_TYPES = {\n DATE: 'DATE',\n DATETIME: 'DATETIME'\n} as const;\n\nexport const OMS_PICKLIST_ISH_DATA_TYPES = {\n PICK_LIST: 'PICK_LIST',\n BOOLEAN: 'BOOLEAN'\n} as const;\n\nexport const OMS_CODE_DATA_TYPES = {\n QUERY_FILTER: 'QUERY_FILTER',\n PROPERTY_BAG: 'PROPERTY_BAG'\n} as const;\n\nexport const OMS_DATA_TYPES = {\n ...OMS_NUMBER_DATA_TYPES,\n ...OMS_TEXT_DATA_TYPES,\n ...OMS_DATE_DATA_TYPES,\n ...OMS_PICKLIST_ISH_DATA_TYPES,\n ...OMS_CODE_DATA_TYPES\n} as const;\n\nexport const SPECIAL_RENDITION_MIME_TYPES = {\n COMPOSITE: 'application/vnd.ripcord.composite',\n INDIRECT: 'application/vnd.ripcord.relationship',\n DTL: 'application/vnd.ripcord.document-text-layout'\n} as const;\n\nexport const WELL_KNOWN_ROLES = {\n // global\n GLOBAL_ADMIN: 'global-admin',\n TENANT_PROVISIONER: 'tenant-provisioner',\n // tenant level\n TENANT_ADMIN: 'tenant-admin',\n CUSTOMER_ADMIN: 'customer-admin',\n ACCOUNT_ADMIN: 'account-admin',\n AUDIT_MANAGER: 'audit-manager',\n AUDIT_USER: 'audit-user',\n OPS_MANAGER: 'ops-manager',\n OPS_ASSOCIATE: 'ops-associate',\n DOCUFAI: 'docufai',\n DOCUFAI_PLUS: 'docufai-plus'\n} as const;\nexport type PossibleKnownRoles = ValueOf;\n\nexport const NOTEBOOK_ENTRY_TYPES = {\n BASE_FALLBACK_TYPE: 'rc_notebook_entry',\n SINGLE_QA: 'rc_ne_question_answer',\n MULTI_QA: 'rc_ne_qa_multi_doc',\n SUMMARIZE: 'rc_ne_summarize',\n LIBRARIAN_SUMMARIZE: 'rc_ne_lib_summarize',\n LIBRARIAN_QA: 'rc_ne_lib_qa',\n MANUAL_NOTE: 'rc_ne_manual_note',\n DEEP_DIVE: 'rc_ne_deepdive'\n} as const;\nexport type PossibleNotebookEntryTypes = ValueOf;\n\n/** internal types aren't shown in the UI in most normal areas (unless they're flagged on) */\nexport const INTERNAL_TYPES = {\n NOTEBOOK: 'rc_notebook',\n NOTEBOOK_ENTRY: 'rc_notebook_entry',\n COLLECTION: 'rc_collection',\n TAXONOMY: 'rc_taxonomy',\n SAVED_SEARCH: 'rc_saved_search',\n USER_DATA: 'rc_user_data',\n MERGE_REQUEST_ENTITY: 'rc_merge_request_entity'\n} as const;\n\n// OMS base types (AKA System types)\nexport const BASE_TYPE = {\n BATCH: 'rc_batch',\n BINDER_CLIP: 'rc_binder_clip',\n BOX: 'rc_box',\n COLLECTION_DETAILS_PAGE: 'rc_collection_details_page',\n DOCUMENT: 'rc_document',\n ENVELOPE: 'rc_envelope',\n FASTENER: 'rc_fastener',\n FOLDER: 'rc_folder',\n HARD_DRIVE: 'rc_hard_drive',\n MANILLA_FOLDER: 'rc_envelope_manilla',\n PAGE: 'rc_page',\n PAPER_CLIP: 'rc_paper_clip',\n PHYSICAL_FOLDER: 'rc_physical_folder',\n POINTER: 'rc_pointer',\n POINTER_BATCH: 'rc_pointer_batch',\n POINTER_EXCEPTION: 'rc_pointer_exception',\n RING_BINDER: 'rc_ring_binder',\n RUBBER_BAND: 'rc_rubber_band',\n SEPARATOR: 'rc_separator',\n SHEET: 'rc_sheet',\n SOURCE_CONTAINER: 'rc_source_container',\n SPLIT_PIN: 'rc_split_pin',\n STAPLE: 'rc_staple',\n HOME_FOLDER: 'rc_home_folder',\n ...INTERNAL_TYPES,\n ...NOTEBOOK_ENTRY_TYPES\n} as const;\n\n// enrichment-specific types for creation of classification objects and relationships\nexport const ML_TYPES = {\n DOCUMENT_CLASSIFICATION: 'ml_document_classification',\n NAMED_ENTITY_CLASSIFICATION: 'ml_named_entity_classification'\n} as const;\nexport const ML_ATTRIBUTE_TYPES = {\n ENTITY_TYPE: 'entity_type'\n} as const;\n\n// well known OMS object relationships\nexport const RELATIONSHIP_TYPES = {\n SRC_LIB_CONTAINER: 'rc_source_library_container_relationship',\n ASSEMBLED_DOC: 'rc_assembled_document_relationship',\n DOCUMENT_CLASSIFICATION: 'ml_document_classification_relationship',\n DOCUMENT_CLASSIFICATION_NAMED_ENTITY:\n 'ml_document_classification_named_entity_relationship',\n PAGE_NAMED_ENTITY: 'ml_page_named_entity_relationship',\n COLLECTION_CONTENT: 'rc_collection_content_relationship',\n DERIVED_DOC: 'rc_derived_document_relationship',\n NOTEBOOK_ENTRY_CITATION: 'rc_ne_citation',\n NOTEBOOK_DOCUMENT_RELATIONSHIP: 'rc_notebook_doc_relationship',\n NOTEBOOK_LIBRARIAN_ANSWER: 'rc_ne_lib_answer'\n} as const;\nexport type PossibleRelationshipTypes = ValueOf;\n\n// mufg-specific types that we need to treat differently for various reasons\nexport const MUFG_TYPES = {\n PAGE: 'mufg_page',\n SLEEVE: 'mufg_sleeve',\n SMALL_BOX: 'mufg_small_box',\n HANKO_DOCUMENT: 'mufg_hanko_document',\n COLLECTION_DETAILS_PAGE: 'mufg_collection_details_page'\n} as const;\n\n// OMS labels for the relationship IDs\nexport const RELATIONSHIP_LINKS = {\n DOCUMENT_ID: 'sourceObjectId',\n PAGE_ID: 'targetObjectId'\n} as const;\n\n// OMS reserved tag names\nexport const RESERVED_TAGS = {\n FAVORITE: 'rc_favorite'\n} as const;\nexport type PossibleReservedTags = ValueOf;\n\n// OMS object scan states\nexport const SCANSTATE = {\n SCANNED: 'RawSaved',\n RESCAN: 'RescanNeeded'\n} as const;\n\nexport const LOCAL_DEV_URL = 'local.ripcordops.com';\n\n// how long to wait between retries where they are used by default\nexport const DEFAULT_RETRY_DELAY_MS = 150;\n// how many times to retry by default\nexport const DEFAULT_NUM_RETRIES = 2;\n\nexport const PICK_LIST_OPTION_KEY_DISPLAY_LABEL = 'label';\nexport const PICK_LIST_OPTION_KEY_VALUE = 'value';\n\nexport const HARDCODED_CLASSES = {\n CONTEXT_MENU: 'context-menu'\n} as const;\n\nexport const APP_IDS = {\n CANOPY: 'canopy',\n DOCUFAI_PLUS: 'docufai-plus',\n PARACHUTE: 'parachute',\n ADMIN_CONSOLE: 'admin-console'\n} as const;\n\nexport const PERSONAL_LABEL =\n process.env.APP_NAME === APP_IDS.DOCUFAI_PLUS ? t`My files` : t`Personal`;\n\nexport const IDLE_TIMEOUT = 3000;\n\nexport const VERSIONS_LIMIT = 100;\n\n// helper functions\nexport const isNumberType = (attributeType) => {\n const numberTypesArray = Object.values(OMS_NUMBER_DATA_TYPES);\n return numberTypesArray.includes(attributeType);\n};\n\nexport const isNumber = (value) => typeof value === 'number' && !isNaN(value);\n\nexport const USER_FILTER_FIELDS = {\n FIRST_NAME: 'firstName',\n LAST_NAME: 'lastName',\n EMAIL: 'email',\n ENABLED: 'enabled'\n} as const;\n\nexport const LARGE_FILE_DOWNLOAD_THRESHOLD = 524_288_000; // 500MB\n\nexport type WebScanAttributes = {\n scannedVia: 'web-scan';\n scannerManufacturer: string;\n scannerModel: string;\n browser: string;\n twainDriverVersion: string;\n dynamsoftVersion: string;\n};\n\n// -------- BELOW THIS LINE IS LEGACY STUFF ------------------------------------\n\nexport const ICON_COMPLETED = 'completed';\n","import type { ExpressionNode } from '@rsql/ast';\nimport type { OMSCommandResult } from './api';\n\nimport timber from './timber/macro';\nimport { headersToObject } from './utils/urls';\n\n/**\n * The most general error class, all other Ripcord errors should inherit from this one, and we\n * should really only throw this when we don't have anything else more specific to throw.\n */\nexport class RipcordError extends Error {\n message: string;\n additionalData?: Record;\n /**\n * @param {string} message - the error message\n * @param {Record} additionalData - (optional) an object of additional data that will be assigned to `this`\n */\n constructor({\n message,\n additionalData\n }: {\n message: string;\n additionalData?: Record;\n }) {\n super(message);\n\n Object.defineProperty(this, 'message', {\n value: message,\n writable: true\n });\n\n additionalData && Object.assign(this, additionalData);\n }\n}\n\nexport class GenerativeWebsocketError extends RipcordError {}\n\n/**\n * HTTP Errors class, specially made so it can be used as a response object as well\n * so we can use the data from things like validation errors.\n */\nexport class HTTPError extends RipcordError {\n requestUrl: string;\n status: number;\n responseHeaders: Record;\n\n /**\n * Warning! This is an async constructor (kinda...)\n * So that means you need to await it (or yield in sagas) like\n * `const err = await new HTTPError(...)` or `const err = yield new HTTPError(...)`\n *\n * @param {string} requestUrl - the URL/path that the request was being made to\n * @param {Response | OMSCommandResult} response - the response object from the fetch/xhr request\n * @param {boolean} doAsyncOverride - (optional) whether to override the return value of the constructor with a Promise that resolves to `this`\n */\n constructor(\n {\n requestUrl,\n response,\n objectifiedHeadersFromBatch\n }: {\n requestUrl: string;\n response: Response | OMSCommandResult;\n objectifiedHeadersFromBatch?: Record;\n },\n doAsyncOverride = true\n ) {\n // parse out the message and run the super constructor first\n const message =\n response instanceof Response\n ? response?.statusText\n : response.status.toString();\n super({ message });\n\n // assign all of the main properties as immutable/non-enumerable so they are only \"visible\" if directly accessed\n Object.defineProperty(this, 'requestUrl', {\n value: requestUrl,\n writable: true\n });\n Object.defineProperty(this, 'status', {\n value: response?.status,\n writable: true\n });\n\n if (objectifiedHeadersFromBatch) {\n Object.defineProperty(this, 'responseHeaders', {\n value: objectifiedHeadersFromBatch,\n writable: true\n });\n } else if (response instanceof Response) {\n Object.defineProperty(this, 'responseHeaders', {\n value: headersToObject(response?.headers),\n writable: true\n });\n }\n\n if (doAsyncOverride) {\n return returnThisPromiseOverride(this, response) as unknown as this;\n }\n }\n}\n\nexport class DocOpsHTTPError extends HTTPError {}\nexport class GenerativeHTTPError extends HTTPError {}\nexport class GrpcGatewayHTTPError extends HTTPError {\n service: string;\n\n constructor({\n service,\n requestUrl,\n response\n }: {\n service: string;\n requestUrl: string;\n response: Response;\n }) {\n // run the super constructor first\n super({ requestUrl, response }, false);\n\n // assign all of the main properties as immutable/non-enumerable so they are only \"visible\" if directly accessed\n Object.defineProperty(this, 'service', {\n value: service,\n writable: true\n });\n\n return returnThisPromiseOverride(this, response) as unknown as this;\n }\n}\n\nexport class CoreServiceHTTPError extends HTTPError {\n // some of these are only used for batch requests\n batchIndex?: number;\n // these below are set where the `new` is called\n errorOnSave?: boolean;\n levelIndex?: number;\n\n constructor({\n batchIndex,\n requestUrl,\n response\n }: {\n batchIndex?: number;\n requestUrl: string;\n response: Response | OMSCommandResult;\n objectifiedHeadersFromBatch?: Record;\n }) {\n // run the super constructor first\n super({ requestUrl, response }, false);\n\n // assign all of the main properties as immutable/non-enumerable so they are only \"visible\" if directly accessed\n if (batchIndex != null) {\n Object.defineProperty(this, 'batchIndex', {\n value: batchIndex,\n writable: true\n });\n }\n\n return returnThisPromiseOverride(this, response) as unknown as this;\n }\n}\nexport class FlowableHTTPError extends HTTPError {}\n\n/**\n * HTTP Errors class, specially made so it can be used as a response object as well\n * so we can use the data from things like validation errors.\n */\nexport class XHRHTTPError extends RipcordError {\n requestUrl: string;\n status: number;\n responseHeaders: Record;\n\n /**\n * @param {string} requestUrl - the URL/path that the request was being made to\n * @param {XMLHttpRequest} xhr - the xhr request object\n */\n constructor({\n requestUrl,\n xhr\n }: {\n requestUrl: string;\n xhr: XMLHttpRequest;\n }) {\n // parse out the message and run the super constructor first\n const message = xhr?.statusText;\n super({ message });\n\n // assign all of the main properties as immutable/non-enumerable so they are only \"visible\" if directly accessed\n Object.defineProperty(this, 'requestUrl', {\n value: requestUrl\n });\n Object.defineProperty(this, 'status', {\n value: xhr?.status\n });\n\n const headers: Record = {};\n xhr\n ?.getAllResponseHeaders()\n ?.trim()\n ?.split(/[\\r\\n]+/)\n ?.forEach((line) => {\n const parts = line.split(': ');\n headers[parts.shift()!] = parts.join(': ');\n });\n Object.defineProperty(this, 'responseHeaders', {\n value: headers\n });\n\n try {\n Object.assign(this, JSON.parse(xhr.response));\n } catch (e) {\n timber.warn(\n 'error parsing xhr response while building XHRHTTPError object: ',\n e\n );\n } finally {\n // eslint doesn't like this line because returns in finally statements are not\n // at all intuitive, but it's required here. The caveat here is that if something\n // throws in the try block, the thrown exception will be silently ignored\n // since `this` is returned in the finally block. So timber logging was addedd\n // to maintain visibility of when it happens.\n // eslint-disable-next-line no-unsafe-finally\n return this;\n }\n }\n}\n\n/**\n * A general error class for errors that occur when parsing or generating the OMS Filters AST\n */\nexport class RipcordASTError extends RipcordError {\n node: ExpressionNode;\n filterString?: string;\n\n /**\n * @param {string} message - the error message, should be in english as it's meant to be read and interpreted by developers at ripcord\n * @param {ExpressionNode} node - the node that caused the error\n * @param {string} filterString - (optional) the filter string that was being parsed or generated\n */\n constructor({\n message,\n node,\n filterString\n }: {\n message: string;\n node: ExpressionNode;\n filterString?: string;\n }) {\n super({ message, additionalData: { node, filterString } });\n\n Object.assign(this, { node, filterString });\n }\n}\n\nexport type OMSConstraintErrorResponse = RipcordError & {\n title: string;\n status: number;\n type: string;\n violations: Array<{\n /**\n * a dot-separated path to the field that has the error, often beginning with payload\n * (either an object or an array of objects depending on what was sent in the request)\n */\n field: string;\n /**\n * This message should be translated into the user's language by the server.\n */\n message: string;\n }>;\n};\n\nasync function returnThisPromiseOverride(\n thisObj: T,\n response: Response | OMSCommandResult\n): Promise {\n // Then we return an async IIFE. This return overrides the constructor's \"built in\"\n // return this` and hijacks it to return a promise (via making it an async IIFE).\n // Then it awaits the JSON response if it exists and assigns that to the object.\n\n // The end result is that the returned object contains all the enumerable properties\n // of the JSON response (if it exists), and if some error happens trying to parse it\n // it gets ignored.\n try {\n if ('json' in response) {\n // for requests with a parseable json error, we parse that here and return the parsed results as the error object\n Object.assign(thisObj, await response.json());\n } else if ('body' in response) {\n // for batch requests, the response is an OMSCommandResult, which has a body that we should assign to the error object\n Object.assign(thisObj, response.body);\n } else {\n // as a last ditch effort we assign the response to the object body and call it a day\n Object.assign(thisObj, response);\n }\n } catch (e) {\n timber.warn('error parsing json response while building error object: ', e);\n } finally {\n // eslint doesn't like this line because returns in finally statements are not\n // at all intuitive, but it's required here. The caveat here is that if something\n // throws in the try block, the thrown exception will be silently ignored\n // since `this` is returned in the finally block. So timber logging was added\n // to maintain visibility of when it happens.\n // eslint-disable-next-line no-unsafe-finally\n return thisObj;\n }\n}\n","export const isDevInstance = (url: string | URL) =>\n new URL(url).hostname.endsWith('ripcord-labs.com');\n\nexport function headersToObject(\n headers: Headers | undefined\n): Record {\n const headerObj = {};\n headers?.forEach((key, val) => {\n headerObj[key] = val;\n });\n return headerObj;\n}\n","import { useCallback } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { MODAL_CONFIRM } from '../../constants';\nimport { showModal } from '../../../ui/actions';\nimport type { ConfirmModalProps } from './index';\n\nexport function useConfirmModal() {\n const dispatch = useDispatch();\n\n return useCallback(\n (props: ConfirmModalProps) => {\n dispatch(showModal(MODAL_CONFIRM, props));\n },\n [dispatch]\n );\n}\n","export const ABSTRACT_FEEDBACK_MODAL = 'ripcord/ABSTRACT_FEEDBACK_MODAL';\nexport const ACL_MODAL = 'ripcord/ACL_MODAL';\nexport const ADD_TO_COLLECTION_MODAL = 'ripcord/ADD_TO_COLLECTION_MODAL';\nexport const CLASSIFICATION_MODAL = 'ripcord/CLASSIFICATION_MODAL';\nexport const CREATE_COLLECTION_MODAL = 'ripcord/CREATE_COLLECTION_MODAL';\nexport const CREATE_FOLDER_MODAL = 'ripcord/CREATE_FOLDER_MODAL';\nexport const CREATE_TAXONOMY_MODAL = 'ripcord/CREATE_TAXONOMY_MODAL';\nexport const CREATE_VERSION_MODAL = 'ripcord/CREATE_VERSION_MODAL';\nexport const CREATE_RELATIONSHIP_MODAL = 'ripcord/CREATE_RELATIONSHIP_MODAL';\nexport const ADD_TO_WORKSPACE_MODAL = 'ripcord/ADD_TO_WORKSPACE_MODAL';\nexport const CREATE_WORKSPACE_MODAL = 'ripcord/CREATE_WORKSPACE_MODAL';\nexport const EDIT_COLLECTION_MODAL = 'ripcord/EDIT_COLLECTION_MODAL';\nexport const EDIT_NOTE_MODAL = 'ripcord/EDIT_NOTE_MODAL';\nexport const EDIT_WORKSPACE_MODAL = 'ripcord/EDIT_WORKSPACE_MODAL';\nexport const EXPORT_MODAL = 'ripcord/EXPORT_MODAL';\nexport const INSTALL_WORKFLOWS_MODAL = 'ripcord/INSTALL_WORKFLOWS_MODAL';\nexport const MODAL_CONFIRM = 'ripcord/MODAL_CONFIRM';\nexport const MODAL_DELETE_OMS_OBJECT = 'ripcord/MODAL_DELETE_OMS_OBJECT';\nexport const MODAL_DOC_REVIEW_MERGE = 'ripcord/MODAL_DOC_REVIEW_MERGE';\nexport const MODAL_DOC_REVIEW_SPLIT = 'ripcord/MODAL_DOC_REVIEW_SPLIT';\nexport const MODAL_LEGACY_TAXONOMY = 'ripcord/MODAL_LEGACY_TAXONOMY';\nexport const MODAL_MOVE_OBJECT_WARNING = 'ripcord/MODAL_MOVE_OBJECT_WARNING';\nexport const MODAL_NOTES = 'ripcord/MODAL_NOTES';\nexport const MODAL_OBJECT_TYPE_CHANGE_CONFIRM =\n 'ripcord/MODAL_OBJECT_TYPE_CHANGE_CONFIRM';\nexport const MODAL_PERMISSIONS = 'ripcord/MODAL_PERMISSIONS';\nexport const MODAL_UPLOAD_MODAL = 'ripcord/MODAL_UPLOAD_MODAL';\nexport const MULTIPLE_CLASSIFICATIONS_MODAL =\n 'ripcord/MULTIPLE_CLASSIFICATIONS_MODAL ';\nexport const SAVED_SEARCH_MODAL = 'ripcord/SAVED_SEARCH_MODAL';\nexport const TAXONOMY_GROUPING_MODAL = 'ripcord/TAXONOMY_GROUPING_MODAL';\nexport const TEMP_PASSWORD_MODAL = 'ripcord/TEMP_PASSWORD_MODAL';\nexport const VIEW_RENDITION_ATTRIBUTES_MODAL =\n 'ripcord/VIEW_RENDITION_ATTRIBUTES_MODAL';\nexport const MERGE_DOCUMENTS_MODAL = 'ripcord/MERGE_DOCUMENTS_MODAL';\n\nexport const MODAL_BULK_DELETE_OMS_OBJECT =\n 'ripcord/MODAL_BULK_DELETE_OMS_OBJECT';\nexport const MODAL_BULK_DELETE_WARNING = 'ripcord/MODAL_BULK_DELETE_WARNING';\n","import { createAction } from '@reduxjs/toolkit';\n\nimport type { State } from './reducer';\nimport type { Group } from './tsTypes';\n\nexport const fetchGroupsListSucceeded = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_LIST_SUCCEEDED',\n ({\n groups,\n paginationParams\n }: {\n groups: Group[];\n paginationParams: {\n number: number;\n size: number;\n totalElements: number;\n totalPages: number;\n };\n }) => ({\n payload: { groups, paginationParams }\n })\n);\nexport const fetchGroupsListFailed = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_LIST_FAILED',\n (error: State['groupLoadingError']) => ({ payload: error })\n);\nexport const fetchGroupsList = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_LIST',\n (queryParams: State['queryParams']) => ({\n payload: {\n queryParams,\n success: fetchGroupsListSucceeded,\n failure: fetchGroupsListFailed\n }\n })\n);\n\nexport const fetchGroupSucceeded = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_SUCCEEDED',\n (group: Group | null) => ({ payload: group })\n);\nexport const fetchGroupFailed = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_FAILED',\n (error: State['groupLoadingError']) => ({ payload: error })\n);\nexport const fetchGroup = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP',\n (id: Group['id']) => ({\n payload: {\n id,\n success: fetchGroupSucceeded,\n failure: fetchGroupFailed\n }\n })\n);\n\nexport const fetchAutocompleteGroupsSucceeded = createAction(\n 'ripcord/mts/list-groups/FETCH_AUTOCOMPLETE_GROUPS_SUCCEEDED',\n (groups: Group[]) => ({ payload: groups! })\n);\nexport const fetchAutocompleteGroupsFailed = createAction(\n 'ripcord/mts/list-groups/FETCH_AUTOCOMPLETE_GROUPS_FAILED',\n (error: State['autocompleteLoadingError']) => ({ payload: error })\n);\n\nexport const fetchAutocompleteGroups = createAction(\n 'ripcord/mts/list-groups/FETCH_AUTOCOMPLETE_GROUPS',\n (searchValue?: string) => ({\n payload: {\n searchValue,\n success: fetchAutocompleteGroupsSucceeded,\n failure: fetchAutocompleteGroupsFailed\n }\n })\n);\n\nexport const fetchGroupMembersSucceeded = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_MEMBERS_SUCCEEDED',\n ({\n groupMembers,\n moreMembersAvailable\n }: {\n groupMembers: State['groupMembers'];\n moreMembersAvailable: State['moreMembersAvailable'];\n }) => ({\n payload: { groupMembers, moreMembersAvailable }\n })\n);\nexport const fetchGroupMembersFailed = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_MEMBERS_FAILED',\n (error: State['groupMembersLoadingError']) => ({ payload: error })\n);\nexport const fetchGroupMembers = createAction(\n 'ripcord/mts/list-groups/FETCH_GROUP_MEMBERS',\n (groupMemberQueryParams?: State['groupMemberQueryParams']) => ({\n payload: {\n groupMemberQueryParams,\n success: fetchGroupMembersSucceeded,\n failure: fetchGroupMembersFailed\n }\n })\n);\n\nexport const saveGroupSucceeded = createAction(\n 'ripcord/mts/list-groups/SAVE_GROUP_SUCCEEDED',\n (group: Group) => ({ payload: { group } })\n);\nexport const saveGroupFailed = createAction(\n 'ripcord/mts/list-groups/SAVE_GROUP_FAILED',\n (error: State['savingError']) => ({ payload: error })\n);\nexport const saveGroup = createAction(\n 'ripcord/mts/list-groups/SAVE_GROUP',\n (group: Partial) => ({\n payload: {\n group,\n success: saveGroupSucceeded,\n failure: saveGroupFailed\n }\n })\n);\n\nexport const clearGroupErrors = createAction(\n 'ripcord/mts/list-groups/CLEAR_GROUP_ERRORS'\n);\n","import { useCallback, useEffect } from 'react';\nimport { useDispatch, useTypedSelector } from '../../store/hooks';\n\nimport type { State } from './reducer';\nimport type { Group } from './tsTypes';\n\nimport { getGroupsById } from '../selectors';\nimport {\n fetchAutocompleteGroups,\n fetchGroup,\n fetchGroupMembers,\n fetchGroupsList,\n fetchGroupSucceeded,\n saveGroup\n} from './actions';\n\nexport function useGroups(queryParams: State['queryParams']) {\n const dispatch = useDispatch();\n const { dataRealm } = useTypedSelector((state) => state.api);\n const { loading, loadingError, totalNumGroups, groups, saving, savingError } =\n useTypedSelector((state) => state.mts.groups);\n const groupsById = useTypedSelector((state) => getGroupsById(state));\n\n useEffect(() => {\n if (dataRealm) {\n dispatch(fetchGroupsList(queryParams));\n } // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [dispatch, dataRealm, JSON.stringify(queryParams)]);\n\n return {\n loading,\n loadingError,\n groups,\n saving,\n savingError,\n groupsById,\n totalNumGroups,\n queryParams\n } as const;\n}\n\nexport function useSaveGroup() {\n const dispatch = useDispatch();\n const { saving, savingError, savedGroupId } = useTypedSelector(\n (state) => state.mts.groups\n );\n\n return {\n saveGroup: useCallback(\n (group: Partial) => {\n return dispatch(saveGroup(group));\n },\n [dispatch]\n ),\n saving,\n savingError,\n savedGroupId\n } as const;\n}\n\nexport function useGroup(id: Group['id'] | null | undefined) {\n const dispatch = useDispatch();\n const { groupLoading, groupLoadingError, group } = useTypedSelector(\n (state) => state.mts.groups\n );\n\n useEffect(() => {\n if (!!id) {\n dispatch(fetchGroup(id));\n }\n\n return () => {\n // clear out the group object when leaving the page so we don't leave old data around\n dispatch(fetchGroupSucceeded(null));\n };\n }, [dispatch, id]);\n\n return {\n loading: groupLoading,\n loadingError: groupLoadingError,\n group\n } as const;\n}\n\nexport function useAutocompleteGroups() {\n const dispatch = useDispatch();\n const { autocompleteLoading, autocompleteLoadingError, autocompleteGroups } =\n useTypedSelector((state) => state.mts.groups);\n\n return {\n loading: autocompleteLoading,\n loadingError: autocompleteLoadingError,\n groups: autocompleteGroups,\n fetchAutocompleteGroups: useCallback(\n (searchValue?: string) => {\n dispatch(fetchAutocompleteGroups(searchValue));\n },\n [dispatch]\n )\n } as const;\n}\n\nexport function useGroupMembers(queryParams: State['groupMemberQueryParams']) {\n const dispatch = useDispatch();\n const {\n groupMembersLoading,\n groupMembersLoadingError,\n groupMembers,\n moreMembersAvailable\n } = useTypedSelector((state) => state.mts.groups);\n\n useEffect(\n () => {\n if (!!queryParams.groupId) {\n dispatch(fetchGroupMembers(queryParams));\n }\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [dispatch, JSON.stringify(queryParams)]\n );\n\n return {\n loading: groupMembersLoading,\n loadingError: groupMembersLoadingError,\n groupMembers,\n moreMembersAvailable\n } as const;\n}\n","import { createAction } from '@reduxjs/toolkit';\n\nimport type { PotentiallyErroredPrincipal, Principal } from './tsTypes';\n\n/**\n * Action used to trigger a request for principal data\n * Use this in order to allow for proper debouncing\n * of requests to MTS\n */\nexport const requestPrincipalData = createAction(\n 'ripcord/mts/principals/REQUEST_PRINCIPAL_DATA',\n ({ principalId }: { principalId: Principal['id'] | Principal['id'][] }) => ({\n payload: { principalId }\n })\n);\n\n/**\n * SINGLE PRINCIPAL MTS ENDPOINT\n */\nexport const resolvePrincipalSucceeded = createAction(\n 'ripcord/mts/principals/RESOLVE_PRINCIPAL_SUCCEEDED',\n ({ principal }: { principal: PotentiallyErroredPrincipal }) => ({\n payload: { principal }\n })\n);\n/**\n * Unlike the multiple principals case, 404s do not\n * silently fail for the single principal endpoint\n */\nexport const resolvePrincipalFailed = createAction(\n 'ripcord/mts/principals/RESOLVE_PRINCIPAL_FAILED',\n ({\n principalId,\n error\n }: {\n principalId: Principal['id'];\n error: Error | null;\n }) => ({\n payload: { principalId, error }\n })\n);\n\n/**\n * MULTIPLE PRINCIPALS MTS ENDPOINT\n */\nexport const resolvePrincipalsSucceeded = createAction(\n 'ripcord/mts/principals/RESOLVE_PRINCIPALS_SUCCEEDED',\n ({ principals }: { principals: PotentiallyErroredPrincipal[] }) => ({\n payload: { principals }\n })\n);\n/**\n * MTS does not currently support partial failures\n * on query for multiple principals so we will propagate\n * the singular error we get back to all principals whose\n * data we requested in the same request\n * 404s silently fail in that MTS only returns what it can find.\n * This is handled separately in the success case.\n */\nexport const resolvePrincipalsFailed = createAction(\n 'ripcord/mts/principals/RESOLVE_PRINCIPALS_FAILED',\n ({\n principalIds,\n error\n }: {\n principalIds: Principal['id'][];\n error: Error | null;\n }) => ({\n payload: { principalIds, error }\n })\n);\n","import { useCallback, useEffect, useMemo } from 'react';\nimport { useDispatch, useTypedSelector } from '../../store/hooks';\n\nimport type { Principal } from './tsTypes';\n\nimport { useAutocompleteGroups } from '../groups/hooks';\nimport { useAutocompleteUsers } from '../users/hooks';\nimport { requestPrincipalData } from './actions';\nimport { PRINCIPAL_TYPE } from './utils';\n\n/**\n * Used to resolve principal data from their id. Currently primarily used\n * to resolve a name for the principal. resolvedName already handles all of\n * the fallback logic and can be consumed directly.\n * @param {string} principalId id of principal whose information you need\n */\nexport function usePrincipalData(principalId: Principal['id'] | null) {\n const dispatch = useDispatch();\n const { resolvedPrincipals } = useTypedSelector(\n (state) => state.mts.principals\n );\n const resolvedPrincipal = resolvedPrincipals.get(principalId ?? '');\n useEffect(() => {\n if (!!principalId && !resolvedPrincipal) {\n dispatch(requestPrincipalData({ principalId }));\n }\n }, [dispatch, resolvedPrincipal, principalId]);\n\n const principalData = resolvedPrincipal ?? {\n isLoading: true,\n error: null,\n data: null\n };\n\n return principalData;\n}\n\nexport function useAutocompletePrincipal() {\n const {\n loading: usersLoading,\n loadingError: usersLoadingError,\n users,\n fetchAutocompleteUsers\n } = useAutocompleteUsers();\n const {\n loading: groupsLoading,\n loadingError: groupsLoadingError,\n groups,\n fetchAutocompleteGroups\n } = useAutocompleteGroups();\n\n const principals = useMemo(\n () =>\n (\n groups?.map(\n (group) =>\n ({\n ...group,\n principalType: PRINCIPAL_TYPE.GROUP\n } as Principal)\n ) ?? []\n ).concat(\n users?.map(\n (user) =>\n ({\n ...user,\n principalType: PRINCIPAL_TYPE.USER\n } as Principal)\n ) ?? []\n ),\n [groups, users]\n );\n\n return {\n loading: usersLoading || groupsLoading,\n loadingError: usersLoadingError ?? groupsLoadingError,\n principals,\n fetchAutocomplete: useCallback(\n (searchValue) => {\n fetchAutocompleteUsers(searchValue);\n fetchAutocompleteGroups(searchValue);\n },\n [fetchAutocompleteGroups, fetchAutocompleteUsers]\n )\n } as const;\n}\n","import { t } from '@lingui/macro';\nimport { keyBy } from 'lodash';\n\nimport type { ValueOf } from '../../utils/tsUtilityTypes';\nimport type { Principal, PrincipalsListResponse } from './tsTypes';\n\nexport const PRINCIPAL_TYPE = {\n USER: 'user',\n ALIAS: 'alias',\n GROUP: 'group'\n} as const;\n\nexport type PossiblePrincipalTypes = ValueOf;\n\nexport const KNOWN_ALIASES = {\n OWNERS: {\n id: '00000000-0000-0000-0000-000000000001',\n name: t`Owners`,\n principalType: PRINCIPAL_TYPE.ALIAS\n },\n EVERYONE: {\n id: '00000000-0000-0000-0000-000000000002',\n name: t`Everyone Else`,\n principalType: PRINCIPAL_TYPE.ALIAS\n }\n} as const;\n\n/** Response selectors */\nexport const getPrincipalsListById = (mtsResponse: PrincipalsListResponse) => {\n const principals = mtsResponse?._embedded?.principals ?? [];\n return keyBy(principals, 'id');\n};\n\nexport const getDisplayStringForPrincipal = (\n resolvedData: Principal | undefined | null\n) => {\n const { firstName, lastName, username, name } = resolvedData ?? {};\n return (firstName?.length ?? 0) > 0 || (lastName?.length ?? 0) > 0\n ? t({\n comment:\n 'the first parameter is a first name, and the second is a last name',\n message: `${firstName} ${lastName}`\n }) // using a custom id with the lingui macros appears to be buggy in production\n : !!username\n ? username\n : name;\n};\n","import { createSelector } from 'reselect';\nimport { keyBy } from 'lodash';\nimport type { AnyAppRootState } from '../store/tsTypes';\n\nexport const getGroupsById = createSelector(\n (state: AnyAppRootState) => state.mts.groups.groups,\n (groups) => keyBy(groups, 'id')\n);\n\nexport const getUsersById = createSelector(\n (state: AnyAppRootState) => state.mts.users.users,\n (users) => keyBy(users, 'id')\n);\n","import { createAction } from '@reduxjs/toolkit';\n\nimport type { OMSResponsePagination } from '../../oms/objects/tsTypes';\nimport type { UUID } from '../../oms/tsTypes';\nimport type { Group } from '../groups/tsTypes';\nimport type { User, UsersEndpointQueryParams } from './tsTypes';\n\nexport const fetchUsersList = createAction(\n 'ripcord/mts/list-users/FETCH_USER_LIST',\n (queryParams: UsersEndpointQueryParams) => ({\n payload: {\n queryParams\n }\n })\n);\n\nexport const fetchUsersListSucceeded = createAction(\n 'ripcord/mts/list-users/FETCH_USER_LIST_SUCCEEDED',\n (users: Array | undefined, page: OMSResponsePagination, moreUsersAvailable: boolean) => ({\n payload: {\n users,\n page,\n moreUsersAvailable\n }\n })\n);\nexport const fetchUsersListFailed = createAction(\n 'ripcord/mts/list-users/FETCH_USER_LIST_FAILED',\n (error: Error | null) => ({\n payload: error\n })\n);\n\nexport const fetchUser = createAction(\n 'ripcord/mts/list-users/FETCH_USER',\n (id: UUID) => ({\n payload: {\n id\n }\n })\n);\n\nexport const fetchUserSucceeded = createAction(\n 'ripcord/mts/list-users/FETCH_USER_SUCCEEDED',\n (user: User | null | undefined) => ({\n payload: user\n })\n);\nexport const fetchUserFailed = createAction(\n 'ripcord/mts/list-users/FETCH_USER_FAILED',\n (error: Error | null) => ({\n payload: error\n })\n);\n\nexport const fetchAutocompleteUsers = createAction(\n 'ripcord/mts/list-users/FETCH_AUTOCOMPLETE_USERS',\n (searchValue: string) => ({\n payload: {\n searchValue\n }\n })\n);\n\nexport const fetchAutocompleteUsersSucceeded = createAction(\n 'ripcord/mts/list-users/FETCH_AUTOCOMPLETE_USERS_SUCCEEDED',\n (users: Array | undefined) => ({\n payload: users\n })\n);\nexport const fetchAutocompleteUsersFailed = createAction(\n 'ripcord/mts/list-users/FETCH_AUTOCOMPLETE_USERS_FAILED',\n (error: Error | null) => ({\n payload: error\n })\n);\n\nexport const saveUser = createAction(\n 'ripcord/mts/list-users/SAVE_USER',\n (\n user: Partial,\n toastMessage?: string,\n updateGroupsPayload?: {\n userId: string;\n group: Group;\n addOrRemove: 'add' | 'remove';\n }\n ) => ({\n payload: {\n user,\n toastMessage,\n updateGroupsPayload\n }\n })\n);\n\nexport const saveUserSucceeded = createAction(\n 'ripcord/mts/list-users/SAVE_USER_SUCCEEDED',\n (user: User) => ({\n payload: {\n user\n }\n })\n);\n\nexport const saveUserFailed = createAction(\n 'ripcord/mts/list-users/SAVE_USER_FAILED',\n (error: Error | null) => ({\n payload: error\n })\n);\n\nexport const deleteUser = createAction(\n 'ripcord/mts/users/DELETE_USER',\n (id: UUID) => ({\n payload: {\n id\n }\n })\n);\n\nexport const deleteUserSucceeded = createAction(\n 'ripcord/mts/users/DELETE_USER_SUCCEEDED',\n (id: UUID) => ({\n payload: {\n id\n }\n })\n);\n\nexport const deleteUserFailed = createAction(\n 'ripcord/mts/users/DELETE_USER_FAILED',\n (error: Error | null) => ({\n payload: error\n })\n);\n","import React, { useCallback, useEffect, useState } from 'react';\nimport { t, Trans } from '@lingui/macro';\nimport { useDispatch, useTypedSelector } from '../../store/hooks';\n\nimport type { UUID } from '../../oms/tsTypes';\nimport type { Group } from '../groups/tsTypes';\nimport type { State } from './reducer';\nimport type { User, UsersEndpointQueryParams } from './tsTypes';\n\nimport { logout } from '../../auth/keycloak';\nimport { getUserUUID } from '../../auth/keycloakSelectors';\nimport { useConfirmModal } from '../../modals/components/confirm-modal/hooks';\nimport { RipcordPrincipalName } from '../../ripcord-components/components/ripcord/RipcordPrincipalName';\nimport { useAdvancedLoading } from '../../utils/hooks';\nimport { getUsersById } from '../selectors';\nimport {\n deleteUser,\n fetchAutocompleteUsers,\n fetchUser,\n fetchUsersList,\n fetchUserSucceeded,\n saveUser\n} from './actions';\n\nexport function useUsers(queryParams: UsersEndpointQueryParams) {\n const dispatch = useDispatch();\n const { loading, loadingError, moreUsersAvailable, users, saving, savingError } =\n useTypedSelector((state) => state.mts.users);\n const usersById = useTypedSelector(getUsersById);\n\n useEffect(() => {\n dispatch(fetchUsersList(queryParams));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [dispatch, JSON.stringify(queryParams)]); // Use fake deep object comparison\n\n return {\n loading,\n loadingError,\n users,\n saving,\n savingError,\n usersById,\n moreUsersAvailable,\n queryParams\n } as const;\n}\n\nexport function useSaveUser() {\n const dispatch = useDispatch();\n const { saving, savingError } = useTypedSelector((state) => state.mts.users);\n\n return {\n saveUser: useCallback(\n <\n UpdateGroupsPayload extends\n | {\n userId: string;\n group: Group;\n addOrRemove: 'add' | 'remove';\n }\n | undefined\n >(\n user: UpdateGroupsPayload extends undefined ? Partial : null,\n toastMessage?: string,\n updateGroupsPayload?: UpdateGroupsPayload\n ) => {\n return dispatch(saveUser(user!, toastMessage, updateGroupsPayload));\n },\n [dispatch]\n ),\n saving,\n savingError\n } as const;\n}\n\nexport function useUser(id: UUID | null) {\n const dispatch = useDispatch();\n const { userLoading, userLoadingError, user } = useTypedSelector(\n (state) => state.mts.users\n );\n\n useEffect(() => {\n if (!!id) {\n dispatch(fetchUser(id));\n }\n\n return () => {\n // clear out the user object when leaving the page so we don't leave old data around\n dispatch(fetchUserSucceeded(null));\n };\n }, [dispatch, id]);\n\n return {\n loading: userLoading,\n loadingError: userLoadingError,\n user: user as State['user']\n } as const;\n}\n\nexport function useAutocompleteUsers() {\n const dispatch = useDispatch();\n const { autocompleteLoading, autocompleteLoadingError, autocompleteUsers } =\n useTypedSelector((state) => state.mts.users);\n\n return {\n loading: autocompleteLoading,\n loadingError: autocompleteLoadingError,\n users: autocompleteUsers,\n fetchAutocompleteUsers: useCallback(\n (searchValue: string) => {\n dispatch(fetchAutocompleteUsers(searchValue));\n },\n [dispatch]\n )\n } as const;\n}\n\nexport function useDeleteUser() {\n const dispatch = useDispatch();\n const [isDeletingOwnAccount, setIsDeletingOwnAccount] =\n useState(false);\n const { deleting, deletingError } = useTypedSelector(\n (state) => state.mts.users\n );\n\n const showConfirmationDialog = useConfirmModal();\n\n const deleteUserCallback = useCallback(\n (userId: UUID) => {\n const isOwnAccount = userId === getUserUUID();\n showConfirmationDialog({\n title: t`Confirm Account Deletion`,\n showWarningIcon: true,\n showLineAboveActions: true,\n text: isOwnAccount ? (\n \n Are you sure you want to delete your account?\n
\n
\n This will delete all data associated with your account, and there is\n no way to undo this!\n
\n ) : (\n \n Are you sure you want to delete the\n {' '}\n account?\n
\n
\n This will delete all data associated with the account, and there is\n no way to undo this!\n
\n ),\n confirmText: 'Delete',\n onConfirm: () => {\n setIsDeletingOwnAccount(isOwnAccount);\n dispatch(deleteUser(userId));\n }\n });\n },\n [dispatch, showConfirmationDialog]\n );\n\n const { submittedSuccessfully } = useAdvancedLoading(deleting, deletingError);\n\n useEffect(() => {\n if (submittedSuccessfully && isDeletingOwnAccount) {\n logout();\n }\n }, [submittedSuccessfully, isDeletingOwnAccount]);\n\n return {\n deleteUser: deleteUserCallback,\n deleting,\n deletingError,\n userDeleted: submittedSuccessfully\n } as const;\n}\n","export const userNameOmsAttributes = new Set([\n 'createdBy',\n 'lastModifiedBy',\n 'tenantOwners'\n]);\n","import { createAction } from '@reduxjs/toolkit';\n\n/*************************************************************************\n * Request taxonomies.\n * This is meant to be only used for listing taxonomies or fetching\n * a single taxonomy tree\n */\nexport const fetchTaxonomies = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMIES_REQUESTED'\n);\n\nexport const fetchTaxonomiesSucceeded = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMIES_SUCCEEDED',\n (taxonomies) => ({\n payload: taxonomies\n })\n);\n\nexport const fetchTaxonomiesFailed = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMIES_FAILED',\n (error) => ({\n payload: error\n })\n);\n\n/*************************************************************************\n * Request a taxonomy.\n * This is meant to be only used for fetching a single taxonomy\n */\n/**\n * @param {string} id: id of taxonomy\n */\nexport const fetchTaxonomy = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMY_REQUESTED',\n (id) => ({\n payload: { id }\n })\n);\n\nexport const fetchTaxonomySucceeded = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMY_SUCCEEDED',\n (taxonomy) => ({\n payload: taxonomy\n })\n);\n\nexport const fetchTaxonomyFailed = createAction(\n 'ripcord/oms/objects/FETCH_TAXONOMY_FAILED',\n (error) => ({\n payload: error\n })\n);\n\n/*************************************************************************\n * Delete a taxonomy.\n */\n/**\n * @param {string} id: id of taxonomy\n */\nexport const deleteTaxonomy = createAction(\n 'ripcord/oms/objects/DELETE_TAXONOMY_REQUESTED',\n (id) => ({\n payload: { id }\n })\n);\n\nexport const deleteTaxonomySucceeded = createAction(\n 'ripcord/oms/objects/DELETE_TAXONOMY_SUCCEEDED'\n);\n\nexport const deleteTaxonomyFailed = createAction(\n 'ripcord/oms/objects/DELETE_TAXONOMY_FAILED',\n (error) => ({\n payload: error\n })\n);\n\n/*************************************************************************\n * Save a taxonomy (create or update)\n */\nexport const saveTaxonomy = createAction(\n 'ripcord/oms/objects/SAVE_TAXONOMY_REQUESTED',\n (values, id, taxonomyRootFolderId) => ({\n payload: { values, id, taxonomyRootFolderId }\n })\n);\n\nexport const saveTaxonomySucceeded = createAction(\n 'ripcord/oms/objects/SAVE_TAXONOMY_SUCCEEDED',\n (data) => ({\n payload: data\n })\n);\n\nexport const saveTaxonomyFailed = createAction(\n 'ripcord/oms/objects/SAVE_TAXONOMY_FAILED',\n (error) => ({\n payload: error\n })\n);\n","import { AND } from '@rsql/ast';\n\nimport type { ComparisonNode, ExpressionNode } from '@rsql/ast';\n\nimport {\n emit,\n getAttributeNameFromNode,\n parse,\n walkLogicBranch\n} from '../../utils/ast';\nimport builder, { ILIKE } from '../../utils/rsql-builder';\n\nexport type ParsedTaxonomyUrlSplat = Array;\n\nexport function parseTaxonomyUrlSplat(\n taxSplat: string\n): ParsedTaxonomyUrlSplat {\n // * decodeURIComponent must be used here, not decodeURI. decodeURI will miss special characters (CAT-202)\n return taxSplat\n .split('/')\n .filter((s) => !!s)\n .map((s) => parse(decodeURIComponent(s)));\n}\n\nexport function buildTaxonomyUrlSplat(parsedFilters: ParsedTaxonomyUrlSplat) {\n return (\n // * encodeURIComponent must be used here, not encodeURI. encodeURI will miss special characters (CAT-202)\n parsedFilters.map((filter) => encodeURIComponent(emit(filter))).join('/') +\n (parsedFilters.length > 0 ? '/' : '')\n );\n}\n\nexport function buildLeafNodesFilterString(\n parsedFilters: ParsedTaxonomyUrlSplat,\n taxonomyBaseType: string,\n definitionQueryFilter: string\n) {\n let expr = builder.and(...parsedFilters, builder.eq('type', taxonomyBaseType));\n if (!!definitionQueryFilter) {\n expr = builder.and(parse(definitionQueryFilter), expr);\n }\n return emit(expr);\n}\n\n/**\n * Returns just the AST of the filters which are for the given attribute\n */\nexport function extractFiltersForThisLevel(\n node: ExpressionNode,\n attributeName?: string,\n nodeToRemove?: { operator: string; value: string }\n) {\n const comparisonNodes: ComparisonNode[] = [];\n walkLogicBranch(AND, node, (compNode) =>\n comparisonNodes.push(compNode as ComparisonNode)\n );\n let hasRemoved = false;\n\n const filteredComparisonNodes = comparisonNodes.filter((compNode) => {\n // shouldRemove is pulling the filter panel filter out of the bucket filter\n // hasRemoved is fixing a bug where if the panel filter equals the bucket filter they were both being removed and no label was shown\n const shouldRemove =\n hasRemoved || !nodeToRemove\n ? false\n : compNode?.operator === nodeToRemove?.operator &&\n (compNode?.right?.value! === nodeToRemove?.value ||\n (compNode?.operator === ILIKE &&\n compNode?.right?.value! === `*${nodeToRemove?.value}*`));\n if (shouldRemove) {\n hasRemoved = true;\n }\n\n return (\n (attributeName == null ||\n getAttributeNameFromNode(compNode) === attributeName) &&\n !shouldRemove\n );\n });\n return filteredComparisonNodes.length\n ? builder.and(...filteredComparisonNodes)\n : null;\n}\n","import React from 'react';\nimport { t } from '@lingui/macro';\nimport { useDispatch } from 'react-redux';\nimport styled, { useTheme } from 'styled-components';\n\nimport { ROLES, tokenHasOneOfRoles } from '../../auth/keycloakSelectors';\nimport { OMS_OBJECT_LINKS } from '../../constants';\nimport { useConfirmModal } from '../../modals/components/confirm-modal/hooks';\nimport { MODAL_LEGACY_TAXONOMY } from '../../modals/constants';\nimport { deleteTaxonomy } from '../../oms/legacy-taxonomies/actions';\nimport { showModal } from '../../ui/actions';\nimport IconButton from '../../ui/components/icon-button';\nimport { getLinkFromOmsObject } from '../../utils/records/url';\n\nconst Wrapper = styled.div`\n display: flex;\n justify-content: center;\n\n & svg {\n color: #979d9e !important;\n }\n & > div:hover svg {\n color: #50a1ab !important;\n }\n\n & > div > div > button > div {\n margin-top: -2px;\n }\n`;\n\nexport default function LegacyTaxonomyManageActionsMenuButtons({ view }) {\n const dispatch = useDispatch();\n const theme = useTheme();\n const openConfirmModal = useConfirmModal();\n\n const onDeleteClick = (e) => {\n e.stopPropagation();\n openConfirmModal({\n title: t`Are you sure you want to delete taxonomy view?`,\n text: t`Deleting a taxonomy view does not delete any documents, just the configuration of this view. The view can be recreated in the future.`,\n onConfirm: () => {\n dispatch(deleteTaxonomy(view.id));\n }\n });\n };\n\n const onEditClick = (e) => {\n e.stopPropagation();\n dispatch(showModal(MODAL_LEGACY_TAXONOMY, { view }));\n };\n\n return (\n \n {tokenHasOneOfRoles([ROLES.TENANT_ADMIN, ROLES.CUSTOMER_ADMIN]) &&\n !!getLinkFromOmsObject(view, OMS_OBJECT_LINKS.EDIT) && (\n \n \n \n )}\n {tokenHasOneOfRoles([ROLES.TENANT_ADMIN, ROLES.CUSTOMER_ADMIN]) &&\n !!getLinkFromOmsObject(view, OMS_OBJECT_LINKS.DELETE) && (\n
\n \n
\n )}\n
\n );\n}\n\nconst IconButtonWrapper = styled.div`\n width: 18px;\n height: 18px;\n padding-top: 3px;\n margin-right: 8px;\n`;\n","import React from 'react';\nimport { t, Trans } from '@lingui/macro';\nimport styled from 'styled-components';\n\nimport { history, TAXONOMY_ROUTE } from '../../app/canopy/routes';\nimport { ROLES, tokenHasOneOfRoles } from '../../auth/keycloakSelectors';\nimport {\n BASE_TYPE,\n ICON_COMPLETED,\n OMS_DATA_TYPES,\n OMS_OBJECT_LINKS\n} from '../../constants';\nimport { MODAL_LEGACY_TAXONOMY } from '../../modals/constants';\nimport RipcordDisplayValue from '../../ripcord-components/components/ripcord/RipcordDisplayValue';\nimport { getLinkFromOmsObject } from '../../utils/records/url';\nimport { generatePath } from '../../utils/routing';\nimport LegacyTaxonomyManageActionsMenuButtons from './LegacyTaxonomyManageActionsMenuButtons';\n\nconst getLegacyTaxonomyListItems = (taxonomies, currentId, theme) => {\n return taxonomies.map((taxonomy) => {\n const isSelected = currentId && currentId === taxonomy.id;\n const rightHoverItem = (\n \n );\n\n return {\n text: taxonomy.label,\n icon: isSelected ? ICON_COMPLETED : null,\n iconPosition: 'right',\n 'data-test-id': `menu-taxonomy-${taxonomy.id}`,\n rightHoverItem,\n action: () => {\n history.push(\n generatePath(TAXONOMY_ROUTE, {\n id: taxonomy.id,\n 0: ''\n })\n );\n }\n };\n });\n};\n\nfunction LegacyTaxonomyListWrapper({ children }) {\n return (\n {children}\n );\n}\n\nconst NewLegacyTaxonomyMenuItem = () => (\n \n \n +\n \n New taxonomy view\n \n);\n\nexport const getLegacyTaxonomyMenuActions = ({\n taxonomies = [],\n currentId,\n rootFolder,\n theme,\n showModalAction\n}) => {\n const canCreateTaxonomy =\n tokenHasOneOfRoles([ROLES.TENANT_ADMIN, ROLES.CUSTOMER_ADMIN]) &&\n !!getLinkFromOmsObject(rootFolder, OMS_OBJECT_LINKS.ADD_DESCENDANTS);\n if (taxonomies?.length) {\n taxonomies = getLegacyTaxonomyListItems(taxonomies, currentId, theme);\n taxonomies = taxonomies.sort((a, b) => a.text.localeCompare(b.text));\n }\n return [\n {\n isGroup: true,\n WrapperComponent: LegacyTaxonomyListWrapper,\n items: taxonomies\n },\n {\n isDivider: true,\n variant: 'small',\n isVisible: canCreateTaxonomy\n },\n {\n text: ,\n icon: '',\n iconPosition: 'none',\n action: () => showModalAction(MODAL_LEGACY_TAXONOMY),\n isVisible: canCreateTaxonomy,\n 'data-test-id': 'create-new-taxonomy-view-button'\n }\n ];\n};\n\n/**\n * parses the \"splat\" from react-router (just the raw path data after the params are handled)\n * into an array of arrays which hold the key and value part of the path.\n */\nexport const parseLegacyTaxonomyPath = (taxSplat) => {\n return taxSplat\n .split('/')\n .filter((segment) => segment.length)\n .map((segment) => decodeURIComponent(segment))\n .reduce((path, segmentPart, index) => {\n const segmentIndex = Math.floor(index / 2);\n path[segmentIndex] = path[segmentIndex]?.concat(segmentPart) ?? [\n segmentPart\n ];\n return path;\n }, []);\n};\n\n/**\n * Compiles that array of arrays into a path that can be used to navigate to a taxonomy in the UI\n */\nexport const compileLegacyTaxonomyPath = (taxPathArray) => {\n return taxPathArray\n ?.flat(1)\n ?.map((segment) => encodeURIComponent(segment))\n ?.join('/');\n};\n\n/**\n * Converts the taxonomy path object (array of arrays) into a fiters object that the search hooks can use\n */\nexport const convertLegacyTaxonomyPathToFiltersObject = (taxPathArray) => {\n return taxPathArray\n .filter(([, value]) => value !== 'Unspecified')\n .reduce((filtersObject, [name, value]) => {\n filtersObject[name] = {\n operator: '==',\n value\n };\n return filtersObject;\n }, {});\n};\n\nexport const getLegacyTaxonomyBreadcrumbs = (\n taxonomy,\n taxonomyPath,\n isLeafLevel,\n attributeName,\n allAttributesByName,\n typesByName\n) => {\n const currentAttributeLabel =\n allAttributesByName?.[attributeName]?.displayLabel;\n const crumbBase = {\n type: BASE_TYPE.TAXONOMY,\n id: taxonomy?.id,\n source: false\n };\n // set root taxonomy label crumb\n const rootTaxBreadrumb = {\n ...crumbBase,\n label: t`${taxonomy?.label}`\n };\n const crumbs = [rootTaxBreadrumb];\n // iterate over current taxonomyPath so each taxonomy level has an associated crumb\n taxonomyPath?.forEach((path, index) => {\n const pathName = path[0];\n const pathValue =\n pathName === 'type' ? typesByName?.[path[1]]?.displayLabel : path[1]; // taxonomy buckets with specific types return the name as the label, so we need to lookup the type displayLabel\n const pathLabel = allAttributesByName?.[pathName]?.displayLabel;\n const attributeDefinition = allAttributesByName?.[pathName];\n const pathDisplayValue = (\n \n );\n /**\n * Temporarily exclude dates and datetimes from RipcordDisplayValue\n * because the date format is not standard ISO and not parseable by\n * RipcordDisplayValue\n */\n crumbs.push({\n ...crumbBase,\n label:\n currentAttributeLabel &&\n currentAttributeLabel === pathName &&\n !isLeafLevel ? (\n t`${pathLabel}: All`\n ) : pathName === 'type' ||\n [OMS_DATA_TYPES.DATE, OMS_DATA_TYPES.DATETIME].includes(\n attributeDefinition?.attributeType\n ) ? (\n t`${pathLabel}: ${pathValue}`\n ) : (\n \n \n {pathLabel}:  \n {pathDisplayValue}\n \n \n ),\n path: index === 0 ? [] : taxonomyPath.slice(0, index)\n });\n });\n // specify the current taxonomy level for an associated crumb\n // where the path is the prior levels' crumbs\n const currentLevel = isLeafLevel\n ? crumbs.pop()\n : {\n ...crumbBase,\n label: t`${currentAttributeLabel}: All`\n };\n // set currentLevel currentPath to be one level back\n currentLevel.currentPath = taxonomyPath.slice(0, taxonomyPath.length - 1);\n return { ...currentLevel, path: crumbs };\n};\n\nconst MenuItemIconContainer = styled.span`\n font-weight: 300;\n padding-right: 8px;\n`;\n\nconst MenuItemIcon = styled.span`\n font-weight: 900;\n width: 9px;\n height: 8px;\n`;\n\nconst TaxonomyItemsWrapperContainer = styled.div`\n max-height: 50vh;\n overflow-y: auto;\n`;\n\nconst StyledLabelContainer = styled.span`\n display: flex;\n\n &,\n * {\n color: ${({ theme }) => theme.colors.primary.main};\n }\n`;\n","import { useCallback, useMemo, useRef } from 'react';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { useSelector } from '../store/hooks';\n\nimport type { RipcordLocation } from './utils';\n\nimport openInNewTabFunction from '../utils/openInNewTab';\nimport {\n addDefaultsAndStoredValues,\n locationToRipcordLocation,\n ripcordLocationToLocation\n} from './utils';\n\nfunction openInNewTabShim(location: Location, state?: any) {\n openInNewTabFunction({\n ...location,\n state\n });\n}\n\nexport default function useRipcordLocation() {\n const { push, replace, location, ...restOfHistory } = useHistory();\n const params = useParams() as Record & {\n /**\n * 0 shouldn't be used from here to grab a \"splat\" from the URL. React-router-dom has some\n * bugs which make it not handle URI decoding correctly and instead you'll need to write a\n * custom hook to pull the value directly from the URL if you need it.\n *\n * An example is implemented in the function useTaxonomySplatStringFromURL\n */\n 0: void;\n };\n\n /* On first load, pull from redux as the tenant may not have been\n set in session storage yet */\n const { dataRealm } = useSelector(\n (state) => state.api\n );\n\n const ripcordLocationObjRef = useRef>(\n locationToRipcordLocation(location as any)\n );\n\n const ripcordLocation: RipcordLocation = useMemo(() => {\n ripcordLocationObjRef.current = locationToRipcordLocation(location as any);\n return addDefaultsAndStoredValues(ripcordLocationObjRef.current, dataRealm);\n }, [dataRealm, location]);\n\n const send = useCallback(\n (\n pushOrReplace: (location: Location, state?: any) => void,\n newLocationObject:\n | RipcordLocation\n | ((location: RipcordLocation) => RipcordLocation)\n ) => {\n if (typeof newLocationObject === 'function') {\n ripcordLocationObjRef.current = newLocationObject(\n ripcordLocationObjRef.current\n );\n } else {\n ripcordLocationObjRef.current = newLocationObject;\n }\n\n const { state, ...restOfLocation } = ripcordLocationToLocation(\n ripcordLocationObjRef.current\n );\n pushOrReplace(restOfLocation, state);\n },\n []\n );\n\n const replaceQueryParams = useCallback(\n (\n newLocationObject:\n | Partial\n | ((location: RipcordLocation) => RipcordLocation)\n ) => send(replace, newLocationObject as RipcordLocation),\n [replace, send]\n );\n\n const pushQueryParams = useCallback(\n (\n newLocationObject:\n | Partial\n | ((location: RipcordLocation) => RipcordLocation)\n ) => send(push, newLocationObject as RipcordLocation),\n [push, send]\n );\n\n const openInNewTab = useCallback(\n (\n newLocationObject:\n | RipcordLocation\n | ((location: RipcordLocation) => RipcordLocation)\n ) => send(openInNewTabShim, newLocationObject),\n [send]\n );\n\n return {\n ...(restOfHistory as object),\n /**\n * Any params pulled from the path of the URL based on the matched route\n */\n params: params ?? {},\n /**\n * A RipcordLocation object with the query parameters fully parsed out and defaults applied\n */\n location: ripcordLocation,\n /**\n * Navigates the user to the new location object, adding to history\n */\n push: pushQueryParams,\n /**\n * Navigates the user to the new location object, replacing the current history entry\n */\n replace: replaceQueryParams,\n /**\n * Opens the new location object in a new tab, supports all the same options as push/replace, including location-state\n */\n openInNewTab\n } as const;\n}\n","import qs from 'qs';\n\nimport type { PossibleSearchModes } from '../ui/slices';\nimport type { MaybeExpressionNode } from '../utils/ast';\n\nimport { isOnRoute, SOURCE_ROUTE } from '../app/canopy/routes';\nimport {\n DISPLAY_MODE_CACHE_KEY,\n LIST_VIEWS\n} from '../ripcord-components/components/canopy/ListViews/constants';\nimport { SEARCHMODES } from '../ui/slices';\nimport {\n filtersObjectToString,\n filtersStringToObject,\n maybeEmit,\n maybeParse\n} from '../utils/ast';\n\nexport type StandardSortParam = Array<{\n /** the id column this sort refers to */\n id: string;\n /** true if descending */\n desc?: boolean;\n}>;\n\nexport type RipcordLocation = Omit & {\n state: LocationState;\n search: {\n /** used to determine what type of view to load lists of objects in */\n listView?: string;\n /** used to determine which rendition we should load */\n rendition?: string;\n /** array of objects for multi-sort */\n sort?: StandardSortParam;\n /** page size */\n size?: number;\n /** page number, 0-indexed in this form */\n page?: number;\n /** filters for tasks, just an object of strings to filter with */\n taskFilter?: {\n [key: string]: string;\n };\n userFilter?: {\n // filters for users; simple key/value pair for each field\n [key: string]: string;\n };\n /** filters for OMS objects, not typed because it's a doozie! */\n filters?: any;\n /** the source/library split we are search in at any moment */\n searchMode?: PossibleSearchModes;\n /** the searchMode toggle flag for advanced search */\n advSearchIn?: Omit;\n /** uuid of the container we should search the descendants of for scoped search */\n scoped?: string;\n /** string representing the tenant used for the data realm token for tenant switching or linking from scan/prep app */\n switchedTenant?: string;\n /** Loads a different version of an object by oms id. Only used on the records page. */\n versionId?: string;\n /** Search filters as a parsed set of MaybeExpressionNodes */\n sfilters?: MaybeExpressionNode;\n /** An ID that should be converted to a chronicle ID before being used, currently only used for audit search */\n allVersionsObjectId?: string;\n /** Needed on the audit search pages because of a crazy edge case where we want the default query to include a filter and the non-default to remove it, but we need to tell the default apart from the \"manually removed\" case */\n includeServiceAccounts?: boolean;\n };\n};\n\n/**\n * Handles converting a regular location object into a RipcordLocation object. That includes\n * parsing the search string into an object. No defaults or saved values should be applied in\n * this step, it should just be a pure conversion of the loctation object.\n */\nexport const locationToRipcordLocation = ({\n search,\n state,\n pathname,\n ...restOfLocation\n}: Location & { state?: any }): RipcordLocation => {\n const searchObject = qs.parse(search, { ignoreQueryPrefix: true }) ?? {};\n\n const ripcordSearchObject = {\n ...(searchObject as object),\n sort: sortStringToObject(searchObject.sort as string) ?? undefined,\n size: !!searchObject?.size\n ? parseInt(searchObject.size as string, 10)\n : undefined,\n page: !!searchObject?.page\n ? parseInt(searchObject.page as string, 10) - 1\n : undefined,\n taskFilter: !!searchObject?.taskFilter\n ? JSON.parse(searchObject?.taskFilter as string)\n : undefined,\n userFilter: !!searchObject?.userFilter\n ? JSON.parse(searchObject?.userFilter as string)\n : undefined,\n filters: !!searchObject?.filters\n ? filtersStringToObject(searchObject.filters as string)\n : undefined,\n sfilters: maybeParse(searchObject?.sfilters as string),\n includeServiceAccounts: searchObject?.includeServiceAccounts\n ? searchObject?.includeServiceAccounts === 'true'\n : undefined\n } as RipcordLocation['search'];\n\n return {\n ...restOfLocation,\n state,\n pathname,\n search: ripcordSearchObject\n } as const;\n};\n\n/**\n * Many of our query params have defaults that should apply when the param is not present, and\n * others have values that should be pulled from localstorage if not present. This function handles\n * adding those to the location object given and returning a new one.\n */\nexport const addDefaultsAndStoredValues = (\n { pathname, search, state = {}, ...restOfLocation }: RipcordLocation,\n dataRealm?: string\n): RipcordLocation => {\n const localstoragePageSize = localStorage.getItem('pagination.pageSize');\n\n const newSearchObject = {\n ...search,\n // prettier-ignore\n listView: !!search?.listView\n ? search.listView\n : (localStorage.getItem(DISPLAY_MODE_CACHE_KEY) ?? LIST_VIEWS.TABLE),\n searchMode: (!!search?.searchMode\n ? search.searchMode\n : isOnRoute(pathname, SOURCE_ROUTE)\n ? SEARCHMODES.SOURCE\n : SEARCHMODES.LIBRARY) as PossibleSearchModes,\n advSearchIn: (!!search?.advSearchIn\n ? search.advSearchIn\n : SEARCHMODES.LIBRARY) as Omit,\n sort: search?.sort ?? [],\n size: !!search?.size\n ? search.size\n : localstoragePageSize?.length\n ? parseInt(localstoragePageSize, 10)\n : 20,\n page: !!search?.page ? search.page : 0,\n taskFilter: !!search?.taskFilter ? search?.taskFilter : {},\n userFilter: !!search?.userFilter ? search?.userFilter : {},\n filters: !!search?.filters ? search.filters : {},\n // prettier-ignore\n switchedTenant: !!search?.switchedTenant\n ? search.switchedTenant\n : (sessionStorage.getItem('dataRealm') ?? dataRealm ?? undefined)\n } as const;\n\n return {\n ...restOfLocation,\n pathname,\n state,\n search: newSearchObject\n } as const;\n};\n\n/**\n * And of course to round things out, this converts a ripcordLocation object back to a regular\n * location. This should account for \"default\" values, so for example if a param like `size`\n * defaults to 20, then when the `size` is actually set to 20, it shouldn't set any query param.\n * This keeps the URL free of unnecessary params and much cleaner looking.\n */\nexport const ripcordLocationToLocation = ({\n search: ripcordSearchObject,\n ...restOfLocation\n}: Partial): Location & { state?: any } => {\n const searchObject = {\n ...ripcordSearchObject,\n sort:\n Object.keys((ripcordSearchObject?.sort as any) ?? {}).length > 0\n ? sortObjectToString(ripcordSearchObject!.sort)\n : undefined,\n size:\n ripcordSearchObject?.page == null || ripcordSearchObject?.size === 20\n ? undefined\n : ripcordSearchObject?.size,\n page:\n ripcordSearchObject?.page == null || ripcordSearchObject?.page === 0\n ? undefined\n : Number(ripcordSearchObject?.page) + 1,\n taskFilter:\n Object.keys((ripcordSearchObject?.taskFilter as any) ?? {}).length > 0\n ? JSON.stringify(ripcordSearchObject!.taskFilter)\n : undefined,\n userFilter:\n Object.keys((ripcordSearchObject?.userFilter as any) ?? {}).length > 0\n ? JSON.stringify(ripcordSearchObject!.userFilter)\n : undefined,\n filters:\n Object.keys((ripcordSearchObject?.filters as any) ?? {}).length > 0\n ? filtersObjectToString(ripcordSearchObject!.filters)\n : undefined,\n sfilters: maybeEmit(ripcordSearchObject?.sfilters),\n includeServiceAccounts:\n ripcordSearchObject?.includeServiceAccounts?.toString() ?? undefined\n };\n\n return {\n ...(restOfLocation as Required),\n search: qs.stringify(searchObject, {\n skipNulls: true\n })\n };\n};\n\n/**\n * Translate the array of sort objects into a string query parameter\n */\nexport const sortObjectToString = (\n sorts: NonNullable['sort']\n) => {\n return sorts?.map(({ id, desc }) => `${id}${desc ? ' desc' : ''}`).join(', ');\n};\n\n/**\n * Translate the string query parameter into an array of sort objects\n */\nexport const sortStringToObject = (\n sort: string\n): NonNullable['sort'] => {\n return (\n sort?.split(', ')?.map((sort) => {\n const [sortKey, dir] = sort.split(' ');\n return {\n id: sortKey,\n desc: dir === 'desc'\n };\n }) || []\n );\n};\n\n// Deprecated\nexport const queryStringToQueryObject = (queryString) => {\n return qs.parse(queryString, { ignoreQueryPrefix: true });\n};\n\n// Deprecated\nexport const queryObjectToQueryString = (queryObject) => {\n return qs.stringify(queryObject, { skipNulls: true });\n};\n\n// Deprecated\nexport const formRequestSortParams = (sort) => {\n return (\n sort?.map?.(({ id, desc }) => id + (desc ? ' desc' : ''))?.join?.(', ') ||\n undefined\n );\n};\n","import styled from 'styled-components';\nimport { ellipsis } from '../../../../theme/mixins';\n\nexport const LIST_VIEWS = {\n TABLE: 'table',\n GRID: 'grid',\n TREE: 'tree'\n} as const;\n\nexport const DISPLAY_MODE_CACHE_KEY = 'ripcord/listing/displayMode';\n\nexport const LabelText = styled.span`\n display: block;\n ${ellipsis};\n`;\n","import React, { forwardRef } from 'react';\n// this is one of the only places allowed to use ReactSVG!\n// eslint-disable-next-line deprecate/import\nimport ReactSVG from 'react-svg';\nimport styled, { useTheme } from 'styled-components';\n\nimport type { ComponentPropsWithoutRef, Ref } from 'react';\nimport type {\n PossibleColors as ColorType,\n PossibleIconNames as IconType\n} from '../../../../theme/tsTypes';\n\nconst StyledReactSVG = styled(ReactSVG)<{\n $color?: ColorType;\n $hoverColor?: ColorType;\n $activeColor?: ColorType;\n $fitWidth?: boolean;\n $size?: number | null;\n $fitHeight?: boolean;\n $rotate?: number;\n $flipHorizontal?: boolean;\n $flipVertical?: boolean;\n}>`\n div {\n display: flex;\n\n svg {\n color: ${({ $color }) => $color};\n :hover {\n color: ${({ $hoverColor, $color }) => $hoverColor ?? $color};\n }\n :active {\n color: ${({ $activeColor, $hoverColor, $color }) =>\n $activeColor ?? $hoverColor ?? $color};\n }\n ${({ $fitWidth, $size }) =>\n $fitWidth || $size\n ? `width: ${$fitWidth ? '100%' : `${$size}px`};`\n : ''}\n ${({ $fitHeight, $size }) =>\n $fitHeight || $size\n ? `height: ${$fitHeight ? '100%' : `${$size}px`};}`\n : ''}\n ${({ $rotate, $flipHorizontal, $flipVertical }) =>\n ($rotate || $flipHorizontal || $flipVertical) &&\n `\n transform: ${$rotate ? `rotate(${$rotate}deg)` : ``} ${\n $flipHorizontal ? `scaleX(-1)` : ``\n } ${$flipVertical ? `scaleY(-1)` : ``};\n `}\n }\n }\n`;\n\nexport type Props = {\n variant: IconType;\n className?: string;\n color?: ColorType;\n hoverColor?: ColorType;\n activeColor?: ColorType;\n rotate?: number;\n flipHorizontal?: boolean;\n flipVertical?: boolean;\n size?: number | null;\n fitWidth?: boolean;\n fitHeight?: boolean;\n} & Omit, 'src'>;\n\nconst Icon = forwardRef(\n (\n {\n variant,\n className,\n color,\n hoverColor,\n activeColor,\n rotate, // number or degrees to rotate\n flipHorizontal, // boolean\n flipVertical, // boolean\n size = 24,\n fitWidth,\n fitHeight,\n ...rest\n }: Props,\n ref: Ref\n ) => {\n const theme = useTheme();\n const iconName = theme?.assets?.icons[variant];\n\n if (!iconName) {\n return null;\n }\n\n return (\n \n );\n }\n);\n\nexport default Icon;\n","import React, { forwardRef, useState } from 'react';\nimport styled, { useTheme } from 'styled-components';\n\nimport type { ComponentPropsWithRef, Ref, SyntheticEvent } from 'react';\nimport type {\n PossibleColors as ColorType,\n PossibleIconNames as IconType\n} from '../../../../theme/tsTypes';\n\nimport Icon from '../Icon';\nimport RippyTippy from '../RippyTippy';\n\nconst iconButtonStyles = `\n border: none;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n outline-style: none;\n`;\n\nconst disabledStyles = `\n cursor: not-allowed;\n opacity: 0.5;\n`;\n\nconst hiddenStyles = `\n &&&&& {\n display: none;\n }\n`;\n\nconst Component = styled.button<{\n className?: string;\n disabled?: boolean;\n $hidden?: boolean;\n title?: string;\n $size: number;\n $iconMargin: number;\n $iconColor?: ColorType;\n $hoverColor?: ColorType;\n $activeColor?: ColorType;\n}>`\n ${iconButtonStyles};\n ${(props) => (props.disabled ? disabledStyles : '')}\n ${({ $hidden }) => ($hidden ? hiddenStyles : '')}\n\n background-color: transparent;\n color: ${({ $iconColor }) => $iconColor};\n\n height: ${({ $size, $iconMargin }) => $size + $iconMargin}px;\n width: ${({ $size, $iconMargin }) => $size + $iconMargin}px;\n\n ${(props) =>\n props.$iconColor &&\n `\n svg {\n color: ${props.$iconColor};\n }\n `}\n\n &:hover {\n svg {\n color: ${({ $hoverColor }) => $hoverColor};\n }\n }\n\n &:active {\n background-color: ${({ theme }) => theme.colors.primary.T010};\n svg {\n color: ${({ $activeColor }) => $activeColor};\n }\n }\n\n &:active:disabled {\n background-color: transparent;\n }\n`;\n\nexport type Props = {\n className?: string;\n variant: IconType;\n hoverVariant?: IconType;\n size?: number;\n disabled?: boolean | string;\n hidden?: boolean;\n name?: string;\n iconColor?: ColorType;\n iconColorHover?: ColorType;\n iconColorActive?: ColorType;\n iconFitWidth?: boolean;\n iconFitHeight?: boolean;\n iconMargin?: number;\n rotate?: number; // number or degrees to rotate\n flipHorizontal?: boolean;\n flipVertical?: boolean;\n onClick: (e: SyntheticEvent) => void;\n} & ComponentPropsWithRef;\nconst IconButton = forwardRef(\n (\n {\n className,\n\n variant,\n hoverVariant,\n size = 24,\n iconMargin = 8,\n\n disabled,\n hidden,\n title = '',\n\n iconColor,\n iconColorHover,\n iconColorActive,\n iconFitWidth = false,\n iconFitHeight = false,\n\n rotate,\n flipHorizontal,\n flipVertical,\n\n onClick,\n\n ...restProps\n }: Props,\n ref: Ref\n ) => {\n const [isHovered, setIsHovered] = useState(false);\n const theme = useTheme();\n\n return (\n setIsHovered(true)}\n onMouseLeave={() => setIsHovered(false)}\n name={title}\n {...restProps}>\n !!title}>\n \n \n \n );\n }\n);\n\nexport default IconButton;\n","import React from 'react';\n\nimport { isoToLocale } from '../../../utils/datetime-utils';\nimport { DATETIME_FORMATS } from '../../../config';\n\nexport const ReadOnlyDateRange = ({\n startISO,\n endISO,\n textFormat = DATETIME_FORMATS.DATETIME.SHORT,\n tooltipFormat = textFormat\n}) => {\n const startTextDateTime = isoToLocale(startISO, textFormat);\n const startTooltipDateTime = isoToLocale(startISO, tooltipFormat);\n\n const endTextDateTime = isoToLocale(endISO, textFormat);\n const endTooltipDateTime = isoToLocale(endISO, tooltipFormat);\n\n return (\n <>\n \n {startTextDateTime}\n \n {!!endISO && (\n <>\n - \n \n {endTextDateTime}\n \n \n )}\n \n );\n};\n\nexport default ReadOnlyDateRange;\n","import React from 'react';\nimport { t } from '@lingui/macro';\nimport styled, { css, useTheme } from 'styled-components';\n\nimport type { JSONSchema7 } from 'json-schema';\nimport type { MouseEvent } from 'react';\nimport type { PicklistOption } from '../../../oms/attributes/tsTypes';\nimport type {\n PossibleAttributeDataTypes,\n PossibleNumberDataTypes,\n PossibleTextDataTypes\n} from '../../../oms/tsTypes';\n\nimport { COLLECTION_ROUTE, RECORD_ROUTE } from '../../../app/canopy/routes';\nimport { DATETIME_FORMATS } from '../../../config';\nimport { OMS_CODE_DATA_TYPES, OMS_DATA_TYPES } from '../../../constants';\nimport { userNameOmsAttributes } from '../../../mts/users/utils';\nimport { ellipsis } from '../../../ui/components/mixins.styled';\nimport { ReadOnlyDate } from '../../../ui/components/read-only-date';\nimport { ReadOnlyDateRange } from '../../../ui/components/read-only-date-range';\nimport { isNullishFilterValue } from '../../../utils/isNullish';\nimport openInNewTab from '../../../utils/openInNewTab';\nimport { generatePath } from '../../../utils/routing';\nimport { JSONEditorMonacoOptions } from '../../constants';\nimport SuspenseThrobber from '../../loading/progress-indicator/suspenseThrobber';\nimport Icon from './IconButton';\nimport { RipcordPrincipalName } from './RipcordPrincipalName';\nimport Typography from './Typography';\n\nconst JSONEditor = React.lazy(\n () => import('../admin-console/CodeEditor/JSONEditor')\n);\nconst OMSFiltersInput = React.lazy(\n () => import('../admin-console/CodeEditor/OMSFiltersInput')\n);\n\nexport type Props = {\n className?: string;\n isFilter?: boolean;\n attributePath?: string;\n attributeType?: PossibleAttributeDataTypes;\n attributeName?: string;\n attributeSchema?: JSONSchema7;\n options?: PicklistOption[];\n helperText?: string;\n label?: string;\n value?: any;\n inputStagingValue?: any;\n required?: boolean;\n emptyDisplayValue?: string;\n onClick?: ((event: MouseEvent) => void) | null;\n hasChips?: boolean;\n shouldUseTableStyles?: boolean;\n noLeftPadding?: boolean;\n deleteRelationship?: () => void;\n};\n\n/*\n Label + value display component\n @param {string} label - Name / label of the field\n @param {string} value - Value probably from an OMS object\n* */\nexport default function RipcordDisplayValue({\n className,\n isFilter,\n attributePath,\n attributeType = OMS_DATA_TYPES.STRING,\n attributeName,\n attributeSchema,\n options,\n helperText,\n label,\n value,\n inputStagingValue,\n required,\n emptyDisplayValue = '--',\n onClick,\n hasChips,\n shouldUseTableStyles,\n deleteRelationship,\n ...restProps\n}: Props) {\n const theme = useTheme();\n // eslint-disable-next-line no-undef\n let displayValue: undefined | string | JSX.Element;\n const isTypeAttr = attributeName === 'type';\n\n switch (attributeType) {\n case OMS_DATA_TYPES.BOOLEAN: {\n displayValue = value ? t`Yes` : t`No`;\n break;\n }\n case OMS_DATA_TYPES.DATE: {\n if (isFilter) {\n const isoDateRange = isFilter && !!value ? value?.split(' ', 3) : null;\n const startISO = !isNullishFilterValue(isoDateRange?.[0], [\n 'null',\n 'undefined'\n ])\n ? isoDateRange?.[0]\n : null;\n const endISO = !isNullishFilterValue(isoDateRange?.[2], [\n 'null',\n 'undefined'\n ])\n ? isoDateRange?.[2]\n : null;\n displayValue = (\n \n );\n } else {\n displayValue = (\n \n );\n }\n break;\n }\n case OMS_DATA_TYPES.DATETIME: {\n if (isFilter) {\n const isoDateRange = isFilter && !!value ? value?.split(' ', 3) : null;\n const startISO = !isNullishFilterValue(isoDateRange?.[0], [\n 'null',\n 'undefined'\n ])\n ? isoDateRange?.[0]\n : null;\n const endISO = !isNullishFilterValue(isoDateRange?.[2], [\n 'null',\n 'undefined'\n ])\n ? isoDateRange?.[2]\n : null;\n displayValue = (\n \n );\n } else {\n displayValue = (\n \n );\n }\n break;\n }\n case OMS_DATA_TYPES.PICK_LIST: {\n displayValue = options?.find((option) => option.value === value)?.label;\n break;\n }\n case OMS_DATA_TYPES.QUERY_FILTER: {\n displayValue = (\n \n );\n break;\n }\n case OMS_DATA_TYPES.PROPERTY_BAG: {\n displayValue = (\n \n );\n\n break;\n }\n case OMS_DATA_TYPES.STRING:\n case OMS_DATA_TYPES.TEXT:\n case OMS_DATA_TYPES.UUID:\n default: {\n attributeType satisfies PossibleNumberDataTypes | PossibleTextDataTypes;\n if (userNameOmsAttributes.has(attributeName!)) {\n displayValue = ;\n } else {\n displayValue = value;\n }\n break;\n }\n }\n const isEditable = typeof onClick === 'function';\n const finalDisplayValue =\n typeof value === 'undefined' || value === null || value === ''\n ? emptyDisplayValue\n : displayValue;\n const hasLabel = !!label;\n const showingValue = !hasChips && finalDisplayValue !== '';\n const isPropertyBag = attributeType === OMS_DATA_TYPES.PROPERTY_BAG;\n\n return (\n \n \n \n {hasLabel && !shouldUseTableStyles && (\n \n {label}\n {!!required ? * : null}\n \n )}\n {showingValue && (\n {finalDisplayValue}\n )}\n {!!helperText && (\n \n {helperText}\n \n )}\n \n {((!!inputStagingValue &&\n (attributeName === 'sourceObjectId' ||\n attributeName === 'targetObjectId')) ||\n (isEditable && !isPropertyBag) ||\n (!!deleteRelationship && attributeName === 'relationshipId')) && (\n \n {!!inputStagingValue &&\n (attributeName === 'sourceObjectId' ||\n attributeName === 'targetObjectId') && (\n {\n e.preventDefault();\n openInNewTab({\n pathname:\n attributePath ===\n 'rc_collection_content_relationship.sourceObjectId'\n ? generatePath(COLLECTION_ROUTE, {\n id: inputStagingValue\n })\n : generatePath(RECORD_ROUTE, {\n recordId: inputStagingValue\n })\n });\n }}\n />\n )}\n {isEditable && !isPropertyBag && (\n \n )}\n {!!deleteRelationship && attributeName === 'relationshipId' && (\n \n )}\n \n )}\n \n \n );\n}\n\nconst ButtonContainer = styled.div`\n && {\n position: absolute;\n right: 5px;\n display: flex;\n gap: 8px;\n }\n visibility: hidden;\n`;\n\nconst DeleteIcon = styled(Icon)`\n && {\n color: ${({ theme }) => theme.colors.gray[500]};\n &:hover {\n color: ${({ theme }) => theme.colors.red[500]};\n background-color: unset;\n }\n }\n`;\nconst EditIcon = styled(Icon)`\n && {\n color: ${({ theme }) => theme.colors.gray[500]};\n &:hover {\n color: ${({ theme }) => theme.colors.gray[500]};\n background-color: unset;\n }\n }\n`;\n\nconst Container = styled.div<{\n $noLeftPadding?: boolean;\n $hasLabel?: boolean;\n $isEditable: boolean;\n $noHoverBackground?: boolean;\n}>`\n display: flex;\n flex-direction: row;\n align-items: center;\n ${(p) =>\n p.$noLeftPadding\n ? 'padding: 7px 0px;'\n : p.$hasLabel\n ? 'padding: 10px 0 10px 0;'\n : ''}\n justify-content: space-between;\n ${({ $isEditable, $noHoverBackground }) => {\n if ($isEditable) {\n return css`\n &:hover {\n background-color: ${({ theme }) =>\n $noHoverBackground\n ? 'unset'\n : theme.muiTheme.palette.primary['100']} \n cursor: pointer;\n button {\n visibility: visible;\n }\n }\n `;\n }\n }};\n &:hover {\n ${ButtonContainer} {\n visibility: visible;\n }\n }\n`;\n\nconst ContentWrapper = styled.div<{\n $hasLabel: boolean;\n $showingValue: boolean;\n $isTypeAttr: boolean;\n $showingCodeViewer: boolean;\n $helperText?: string;\n}>`\n width: 100%;\n ${(props) =>\n props.$showingCodeViewer\n ? ''\n : props.$isTypeAttr\n ? 'height: 46px;'\n : props.$showingValue && props.$hasLabel\n ? `height: ${!!props.$helperText ? 50 : 42}px;`\n : ''}\n display: flex;\n flex-direction: column;\n justify-content: center;\n`;\n\nexport const StyledLabelParagraph = styled.p<{ $isTypeAttr: boolean }>`\n ${ellipsis};\n color: ${({ theme }) => theme.colors.gray['400']};\n font-size: 12px;\n font-weight: 400;\n margin: 0;\n margin-bottom: ${(p) => (p.$isTypeAttr ? '4px' : 0)};\n`;\n\nconst StyledParagraph = styled.div`\n margin: 0;\n color: ${({ theme }) => theme.colors.gray['800']};\n ${ellipsis};\n`;\n\nexport const StyledSpan = styled.span`\n color: ${({ theme }) => theme.colors.common.error};\n`;\n\nconst StyledJSONEditor = styled(JSONEditor)`\n && {\n height: 150px;\n }\n`;\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport type { PossiblePrincipalTypes } from '../../../mts/principals/utils';\n\nimport { usePrincipalData } from '../../../mts/principals/hooks';\nimport {\n getDisplayStringForPrincipal,\n PRINCIPAL_TYPE\n} from '../../../mts/principals/utils';\nimport timber from '../../../timber/macro';\nimport TextLoadingShimmer from '../../../ui/components/text-loading-shimmer';\nimport Icon from './Icon';\n\nexport type Props = {\n principalId: string;\n /** If provided, the lookup will be skipped and the provided name will be used instead */\n preResolvedName?: string;\n /** Should be provided if the preResolvedName is provided to determine the icon to use in that case, defaults to a user icon */\n preResolvedPrincipalType?: 'user' | 'group' | 'userAlias';\n setErrorToShow?: (error: Error | null) => void;\n className?: string;\n showSmallerIcon?: boolean;\n hidePrincipalIcon?: boolean;\n title?: string;\n};\n\nexport const RipcordPrincipalName = ({\n principalId,\n preResolvedName,\n preResolvedPrincipalType,\n setErrorToShow,\n className,\n hidePrincipalIcon,\n showSmallerIcon,\n title\n}: Props) => {\n const {\n isLoading,\n error: resolvedError,\n data: resolvedData\n } = usePrincipalData(!!preResolvedName ? null : principalId);\n\n const resolvedName = !!preResolvedName\n ? preResolvedName\n : !!resolvedError\n ? principalId\n : getDisplayStringForPrincipal(resolvedData);\n\n const resolvedPrincipalIconName = hidePrincipalIcon\n ? null\n : !!preResolvedPrincipalType\n ? preResolvedPrincipalType\n : getIconForPrincipalType(resolvedData?.principalType);\n\n return !preResolvedName && isLoading ? (\n \n ) : (\n {\n timber.error(resolvedError);\n setErrorToShow?.(resolvedError);\n }\n : undefined\n }>\n {!!resolvedPrincipalIconName && (\n \n )}\n {resolvedName}\n \n );\n};\n\nexport const getIconForPrincipalType = (\n principalType: PossiblePrincipalTypes | undefined\n) => {\n switch (principalType) {\n case PRINCIPAL_TYPE.USER:\n return 'user';\n case PRINCIPAL_TYPE.GROUP:\n return 'group';\n case PRINCIPAL_TYPE.ALIAS:\n return 'userAlias';\n default:\n principalType satisfies undefined;\n }\n};\n\nconst StyledPrincipalName = styled.span<{\n $isClickable?: boolean;\n $noIcon?: boolean;\n}>`\n cursor: ${({ $isClickable }) => ($isClickable ? 'pointer' : 'default')};\n margin-left: ${({ $noIcon }) => ($noIcon ? 0 : 4)}px;\n`;\nconst StyledIcon = styled(Icon)<{\n $showSmallerIcon?: boolean;\n}>`\n &&&& {\n display: inline-block;\n line-height: inherit;\n vertical-align: middle;\n margin-right: ${({ $showSmallerIcon }) =>\n $showSmallerIcon ? '4px' : '7px'};\n ${({ $showSmallerIcon }) =>\n $showSmallerIcon ? 'height: 16px !important;' : ''}\n color: ${({ theme }) => theme.colors.gray['400']};\n width: auto;\n height: 1.5rem;\n }\n`;\n","import 'tippy.js/dist/tippy.css';\n\nimport React, { memo } from 'react';\nimport Tippy from '@tippyjs/react';\nimport styled, { css } from 'styled-components';\n\nimport type { ComponentProps, ReactNode } from 'react';\n\nconst variants = {\n /** standard, dark themed tooltip */\n standard: css`\n .tippy-content {\n background-color: ${({ theme }) => theme.colors.gray['700']};\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.24);\n border-radius: 4px;\n }\n `,\n /** red themed tooltip */\n error: css`\n .tippy-content {\n background-color: ${({ theme }) => theme.colors.red['500']};\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.24);\n border-radius: 4px;\n }\n `,\n /** light themed \"popover\" styled */\n lightPop: css`\n &&,\n .tippy-content {\n background-color: ${({ theme }) => theme.colors.shades.white};\n border-radius: 8px;\n border: 1px solid ${({ theme }) => theme.colors.black.T10};\n box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08),\n 0px 8px 12px rgba(0, 0, 0, 0.16);\n overflow: hidden;\n }\n `,\n /** Hello Mr McGuideface */\n guidey: css`\n background: ${({ theme }) => theme.colors.black.T10};\n border: 1px solid ${({ theme }) => theme.colors.black.T10};\n box-sizing: content-box;\n border-radius: 8px;\n box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.16),\n 0px -1px 0px 0px rgba(0, 0, 0, 0.12) inset;\n\n .tippy-content {\n border-radius: 7px;\n background-color: ${({ theme }) => theme.colors.primary['600']};\n }\n\n &[data-placement^='left'],\n &[data-placement^='right'] {\n .tippy-arrow {\n color: ${({ theme }) => theme.colors.primary['600']};\n transform-style: preserve-3d;\n top: 12px !important;\n\n &::before {\n color: ${({ theme }) => theme.colors.primary['600']};\n }\n\n &::after {\n content: '';\n position: absolute;\n border-top: 8px solid transparent;\n border-bottom: 8px solid transparent;\n border-right: 8px solid ${({ theme }) => theme.colors.black.T10};\n z-index: -10;\n transform: rotate(180deg);\n }\n }\n\n &[data-placement^='left-start'] {\n top: -12px;\n\n .tippy-arrow {\n top: 12px !important;\n &::after {\n top: 0px;\n left: 17px;\n transform: translateZ(-1px) rotate(180deg);\n }\n }\n }\n\n &[data-placement^='left-end'] {\n top: 12px;\n\n .tippy-arrow {\n top: -12px !important;\n &::after {\n top: 0px;\n left: 17px;\n transform: translateZ(-1px) rotate(180deg);\n }\n }\n }\n\n &[data-placement^='right-start'] {\n top: -12px;\n\n .tippy-arrow {\n top: 12px !important;\n &::after {\n top: 0px;\n left: -9px;\n transform: translateZ(-1px) rotate(0deg);\n }\n }\n }\n\n &[data-placement^='right-end'] {\n top: 12px;\n\n .tippy-arrow {\n top: -12px !important;\n &::after {\n top: 0px;\n left: -9px;\n transform: translateZ(-1px) rotate(0deg);\n }\n }\n }\n }\n\n &[data-placement^='bottom'],\n &[data-placement^='top'] {\n .tippy-arrow {\n color: ${({ theme }) => theme.colors.primary['600']};\n transform-style: preserve-3d;\n\n &::before {\n color: ${({ theme }) => theme.colors.primary['600']};\n }\n\n &::after {\n content: '';\n position: absolute;\n right: 4px;\n border-top: 8px solid transparent;\n border-bottom: 8px solid transparent;\n border-right: 8px solid ${({ theme }) => theme.colors.black.T10};\n z-index: -10;\n }\n }\n\n &[data-placement^='top-start'] .tippy-arrow {\n &::after {\n top: 13px;\n transform: translateZ(-1px) rotate(-90deg);\n }\n }\n\n &[data-placement^='top-end'] .tippy-arrow {\n &::after {\n top: 13px;\n transform: translateZ(-1px) rotate(-90deg);\n }\n }\n\n &[data-placement^='bottom-start'] .tippy-arrow {\n &::after {\n top: -13px;\n transform: translateZ(-1px) rotate(90deg);\n }\n }\n\n &[data-placement^='bottom-end'] .tippy-arrow {\n &::after {\n top: -13px;\n transform: translateZ(-1px) rotate(90deg);\n }\n }\n }\n `\n};\n\nexport type PossibleRippyTippyVariants = keyof typeof variants;\n\nexport type Props = {\n variant?: PossibleRippyTippyVariants;\n showArrow?: boolean;\n className?: string;\n applyClassNameToTippy?: boolean;\n /** The content of the tooltip. Possible values: string, Element, or (reference) => Element. */\n content?: ReactNode;\n children?: ReactNode;\n fixedWidth?: string;\n maxTooltipWidth?: string;\n borderRadius?: number;\n noPadding?: boolean;\n /** boolean return decides if tooltip will be displayed when triggered to show */\n onShow?: () => boolean;\n} & Omit, 'theme' | 'onShow'>;\n\n/**\n * Docs for the tippyjs/react library are here:\n * https://github.com/atomiks/tippyjs-react\n */\nexport default memo(function RippyTippy({\n variant = 'standard',\n showArrow = false,\n className,\n content,\n children,\n fixedWidth,\n maxTooltipWidth = fixedWidth ?? '256px',\n borderRadius,\n noPadding,\n onShow,\n ...rest\n}: Props) {\n const hideIfEmpty = () => content ?? false; // defaults \"onShow\" to return false when there is no content to prevent empty tooltips from being displayed\n return (\n \n {/* note: StyledTippy does not render as the parent of the children, so className is applied to the tooltip div here to make this styled componentable from other files */}\n {/* tippy needs an html element as a child, div wrapper around children prevents crashes */}\n {children &&
{children}
}\n \n );\n});\n\nconst StyledTippy = styled(Tippy)<{\n $maxTooltipWidth: string;\n $fixedWidth?: string;\n $variant: PossibleRippyTippyVariants;\n $showArrow?: boolean;\n $borderRadius?: number;\n $noPadding?: boolean;\n}>`\n .tippy-content {\n width: ${({ $fixedWidth }) => $fixedWidth ?? 'max-content'};\n max-width: ${({ $maxTooltipWidth }) => $maxTooltipWidth};\n overflow-wrap: break-word;\n font-family: Circular-Std, sans-serif;\n font-size: 10px;\n line-height: 16px;\n }\n\n ${(props) => (variants[props.$variant] ? variants[props.$variant] : null)}\n\n .tippy-content {\n ${({ $borderRadius }) =>\n $borderRadius ? `border-radius: ${$borderRadius}px;` : ``}\n ${({ $noPadding }) => ($noPadding ? `padding: 0;` : ``)}\n }\n\n ${({ $showArrow }) =>\n !$showArrow &&\n `\n .tippy-arrow { display: none; }\n `}\n`;\n","import React, { forwardRef } from 'react';\nimport styled, { css, useTheme } from 'styled-components';\n\nimport type { ReactNode } from 'react';\n\n// https://www.figma.com/file/Hplrjz7Ve0oYf6D87yMbhB/%F0%9F%92%A0-Canopy-Theme?node-id=672%3A28044\n\n/**\n * NOTE labelLarge (and potentially labelMedium) are liable to clip\n * the ascenders and descenders of letters when overflow is hidden\n * due to the proportion of the font-size to the line-height.\n * Design is aware of this issue. If you see clipping you should reach\n * out to design to see if paraLargeNormal (for labelLarge), and\n * paraMediumNormal (for labelMedium) are acceptable alternatives.\n */\nexport const variants = {\n h1: `\n font-weight: 500;\n font-size: 20px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n h2: `\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n h3: `\n font-weight: 500;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n paraLargeNormal: `\n font-weight: 450;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n paraLargeBold: `\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n paraMediumNormal: `\n font-weight: 450;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n paraMediumBold: `\n font-weight: 500;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n paraSmall: `\n font-weight: 450;\n font-size: 12px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n button: `\n font-weight: 500;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 1px;\n `,\n link: `\n font-weight: 450;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: 0px;\n `,\n labelLarge: `\n font-weight: 450;\n font-size: 16px;\n line-height: 16px;\n letter-spacing: 0px;\n `,\n labelMedium: `\n font-weight: 450;\n font-size: 14px;\n line-height: 16px;\n letter-spacing: 0px;\n `,\n labelSmall: `\n font-weight: 450;\n font-size: 12px;\n line-height: 16px;\n letter-spacing: 0px;\n `,\n labelMini: `\n font-weight: 500;\n font-size: 10px;\n line-height: 16px;\n letter-spacing: 0px;\n `\n} as const;\n\nexport type PossibleTypographyVariants = keyof typeof variants;\n\nconst FontBaseline = css`\n font-family: ${({ theme }) => theme.muiTheme.fontFamily};\n font-style: normal;\n`;\n\nconst truncated = `\n overflow: hidden;\n word-break: break-word;\n white-space: nowrap;\n text-overflow: ellipsis;\n visibility: visible;\n`;\n\nconst uppercase = `\n text-transform: uppercase;\n`;\n\nconst Component = styled.div<{\n children?: ReactNode;\n $variant: PossibleTypographyVariants;\n $truncate?: boolean;\n $uppercase?: boolean;\n $color?: string;\n $hoverColor?: string;\n}>`\n ${FontBaseline};\n ${(props) => (variants[props.$variant] ? variants[props.$variant] : null)}\n ${(props) => (props.$truncate ? truncated : null)}\n ${(props) => (props.$uppercase ? uppercase : null)}\n color: ${(props) => props.$color};\n :hover {\n color: ${(props) => props.$hoverColor};\n }\n`;\n\nexport type Props = {\n /** Variant of the text */\n variant?: PossibleTypographyVariants;\n /** HTML tag to be rendered for the component. Defaults to span */\n tag?: string;\n /** Text, which may include lingui `` nodes. */\n children?: ReactNode;\n /** Truncate text at the end using stylesheets */\n truncate?: boolean;\n /** Color of the text */\n color?: string;\n /** Color of the text on hover */\n hoverColor?: string;\n /** Uppercase the text */\n uppercase?: boolean;\n} & React.HTMLAttributes;\nconst Typography = forwardRef(\n (\n {\n tag = 'span',\n children,\n truncate,\n color,\n hoverColor,\n variant = 'paraMediumNormal',\n ...rest\n }: Props,\n ref\n ) => {\n const theme = useTheme();\n const _color = color ?? theme.muiTheme.palette.shades.black;\n const _hoverColor = hoverColor ?? _color;\n\n return (\n \n {children}\n \n );\n }\n);\n\nexport default Typography;\n","import type { ValueOf } from '../utils/tsUtilityTypes';\n\nexport const INPUT_MODES = {\n /** starts out as view mode, but transitions to edit mode on focus and back on blur */\n HYBRID: 'hybrid',\n /** forces it into a read-only view mode */\n VIEW: 'view',\n /** forces it into an edit-only input mode */\n EDIT: 'edit',\n /** configures the component for the filters panel, adding facets support and changing default empty display values */\n FILTER: 'filter',\n /** for use in the TableDrawer- allows edits and has components disable certain styling. Also prevents the drawer from infinitely looping more drawers */\n TABLE: 'table'\n} as const;\nexport type PossibleInputModes = ValueOf;\n\nexport const JSONEditorMonacoOptions = {\n lineNumbers: 'off',\n scrollbar: {\n vertical: 'auto',\n horizontal: 'auto'\n }\n} as const;\n","import React from 'react';\nimport styled, { css, keyframes } from 'styled-components';\n\nexport type ShimmerTextProps = {\n className?: string;\n numChars?: number;\n fillChar?: string;\n};\nexport const ShimmerText = ({\n className,\n numChars = 2,\n fillChar = '\\u00A0'\n}: ShimmerTextProps) => {\n return (\n \n {new Array(numChars).fill(fillChar).join('')}\n \n );\n};\n\nexport type ShimmerPlaceholderProps = {\n className?: string;\n type: 'iconText' | 'icon' | 'text' | 'input' | 'fill' | 'block';\n numRows?: number;\n};\nexport default function ShimmerPlaceholder({\n className,\n type,\n numRows = 8\n}: ShimmerPlaceholderProps) {\n switch (type) {\n case 'iconText':\n return (\n \n \n \n \n \n \n \n );\n case 'icon':\n return (\n \n );\n case 'text':\n return (\n
\n \n \n
\n );\n case 'input':\n return (\n \n {[...new Array(numRows)].map((_, i) => (\n \n ))}\n \n );\n case 'fill':\n return ;\n case 'block':\n default:\n return (\n \n );\n }\n}\n\nconst shimmer = keyframes`\n 0% {\n background-position: -1000px 0;\n }\n 100% {\n background-position: 1000px 0;\n }\n`;\n\nconst animatedShimmer = css`\n animation: ${shimmer} 2s infinite linear;\n background: ${({ theme }) =>\n `linear-gradient(45deg, ${theme.colors.gray[50]} 25%, ${theme.colors.primary[50]} 50%, ${theme.colors.gray[50]} 75%)`};\n background-size: 1000px 100%;\n`;\n\nconst StyledShimmerBlock = styled.div<{\n width: string;\n height: string;\n margin: string;\n float?: string;\n}>`\n ${animatedShimmer};\n width: ${({ width }) => width};\n height: ${({ height }) => height};\n margin: ${({ margin }) => margin};\n float: ${({ float = 'none' }) => float};\n`;\n\nconst FlexRowWrapper = styled.div`\n display: flex;\n width: 100%;\n align-items: center;\n`;\n\nconst FlexColWrapper = styled.div`\n display: flex;\n flex-direction: column;\n width: 100%;\n justify-content: space-evenly;\n`;\n\nconst StyledShimmerText = styled.span`\n ${animatedShimmer};\n padding-top: 2px;\n`;\n\nconst InputShimmerContainer = styled.div`\n display: flex;\n flex-direction: column;\n gap: 24px;\n`;\nconst InputShimmer = styled.div<{ width: string }>`\n ${animatedShimmer};\n display: flex;\n flex-direction: row;\n align-items: center;\n width: ${({ width }) => width};\n height: 16px;\n`;\n","import styled, { css, keyframes } from 'styled-components';\n\nconst loadingTickAnimation = keyframes`\n 0%,\n 100% {\n transform: scaleY(0.65);\n opacity: 0.4;\n }\n 50% {\n transform: scaleY(1);\n opacity: 1;\n }\n`;\nconst loadingDotAnimation = keyframes`\n 0%,\n 100% {\n opacity: 0.4;\n }\n 50% {\n opacity: 1;\n }\n`;\n\nconst Tick = styled.div<{\n $isDot: boolean;\n}>`\n background-color: ${({ theme }) => theme.muiTheme.palette.primary.main};\n ${({ $isDot }) =>\n $isDot\n ? css`\n height: 4px;\n width: 4px;\n border-radius: 50%;\n animation: ${loadingDotAnimation} 1s infinite ease-in-out;\n `\n : css`\n height: 40px;\n width: 8px;\n animation: ${loadingTickAnimation} 1s infinite ease-in-out;\n `}\n margin-left: 8px;\n\n &:first-child {\n margin-left: 0;\n }\n`;\n\nexport const LoadingThrobber = styled.div<{ relative?: boolean }>`\n ${({ relative }) =>\n !!relative\n ? `\n height: 100%;\n place-content: center;\n place-items: center;\n `\n : `\n margin: auto;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n `}\n z-index: 100;\n display: flex;\n`;\n\nexport const LeftTick = styled(Tick)`\n left: 21px;\n animation-delay: -0.6s;\n`;\n\nexport const MiddleTick = styled(Tick)`\n left: 46px;\n animation-delay: -0.3s;\n`;\n\nexport const RightTick = styled(Tick)`\n left: 71px;\n animation-delay: -0s;\n`;\n","import React from 'react';\nimport { t } from '@lingui/macro';\nimport {\n LeftTick,\n LoadingThrobber,\n MiddleTick,\n RightTick\n} from './index.styled';\n\nexport type Props = {\n relative?: boolean;\n className?: string;\n /** if true, 3 \"blinking\" dots will be used instead of the throbbing bars */\n useDots?: boolean;\n};\nexport default function ProgressIndicator({\n className,\n relative,\n useDots = false,\n ...restProps\n}: Props) {\n return (\n \n \n \n \n \n );\n}\n","import React, { Suspense, useEffect, useMemo, useRef } from 'react';\n\nimport ProgressIndicator from './index';\n\nexport type Props = {\n relative?: boolean;\n isLoading?: boolean;\n children: React.ReactNode;\n};\n/**\n * This component is used allow easy bundle splitting. If any children components are \"suspended\"\n * (meaning not ready to render, currently only used for React.lazy right now) then the fallback\n * component will be shown after a short timeout until the component loads.\n */\nexport default function SuspenseThrobber({\n relative,\n isLoading,\n children\n}: Props) {\n return (\n }>\n {/* @ts-ignore */}\n \n {children}\n \n \n );\n}\n\n/** This component is a hack for some current shortfalls of react suspense- throwing a promise while loading allows us to manually trigger the suspense fallback.\n * This allows us to not need a separate loading handler for isLoading so that there is less of a loader -> null -> loader ui flash\n */\nconst PossiblyLoadingChildren = ({\n isLoading,\n children\n}: {\n isLoading?: boolean;\n children: React.ReactNode;\n}) => {\n const ref = useRef();\n const promise = useMemo(() => {\n return new Promise((resolve) => {\n ref.current = resolve;\n });\n }, []);\n\n useEffect(() => {\n if (!isLoading) {\n ref?.current?.();\n }\n return () => {\n ref?.current?.();\n };\n }, [isLoading, ref]);\n\n if (isLoading) {\n throw promise;\n }\n\n return children;\n};\n","// this is the only ts file allowed to import useSelector\n/* eslint-disable @typescript-eslint/no-restricted-imports */\nimport { useSelector as useSelectorReactRedux } from 'react-redux';\n\nimport type { EqualityFn, NoInfer, TypedUseSelectorHook } from 'react-redux';\nimport type { AnyAppRootState } from './tsTypes';\n\nexport { useDispatch, useSelector } from 'react-redux';\n\n/**\n * This nightmare interface makes it so that the return type of the given function\n * will always be an object even if the selector passed in is nullish.\n *\n * It essentially sets all the properties of the returned object to \"possibly undefined\"\n * which makes it easier to write selectors for redux modules which aren't in every app\n * without providing default values.\n */\ninterface TypedUseSelectorHookWithDefaultObj {\n (\n selector: (state: TState) => TSelected,\n equalityFn?: EqualityFn>\n ): Extract extends never\n ? TSelected\n : Partial>;\n}\n\n/**\n * This is the selector we should use in most cases. It just adds inferred type definitions to\n * the return value of useSelector so you don't need to do anything to use the types!\n */\nexport const useTypedSelector: TypedUseSelectorHook =\n useSelectorReactRedux;\n\n/**\n * When destructuring the result of useTypedSelector with a \"potentially undefined\" redux module,\n * you can use this selector instead to make it a little easier to work with.\n * Example:\n *\n * const { someInnerProperty } = useTypedDestructuredSelector((state) => state.somePossiblyUndefinedModule?.someProperty);\n */\nexport const useTypedDestructuredSelector: TypedUseSelectorHookWithDefaultObj<\n AnyAppRootState\n> = (selector) => useSelectorReactRedux(selector) ?? ({} as any);\n","import { css } from 'styled-components';\n\nexport const ellipsis = {\n display: 'block',\n textOverflow: 'ellipsis',\n overflow: 'hidden'\n} as const;\n\nexport const resetButton = {\n background: 'none',\n border: 0,\n padding: 0,\n margin: 0\n} as const;\n\nexport const overflow = {\n overflow: 'hidden'\n} as const;\n\nexport const FloatingVerticalScrollbarStyles = css`\n ::-webkit-scrollbar {\n width: 24px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n border: 8px solid transparent;\n border-radius: 16px;\n min-height: 80px;\n background-clip: content-box;\n &:hover,\n &:active {\n background-color: ${({ theme }) => theme.colors.black.T30};\n }\n background-color: ${({ theme }) => theme.colors.black.T20};\n }\n\n ::-webkit-scrollbar-corner {\n background-color: transparent;\n }\n`;\n","import log from 'loglevel';\n\nimport type { LogLevelNames } from 'loglevel';\n\nimport { getUserUUID } from '../auth/keycloakSelectors';\nimport { enqueue } from './ringBuffer';\n\n/**\n * ------------------- WARNING! -------------------\n * Don't import this file directly. You should almost always import the macro unless\n * you really know what you're doing!\n */\n\n/**\n * by adjusting this log level, you can adjust what will be logged locally and what\n * will be sent to the server on a log event\n */\nlog.setLevel('debug');\n\n/**\n * loglevel has this concept of a methodFactory. it's done this way to ensure you're actually\n * calling the console function, so that things like the stack trace and a link to the source\n * code all still work. But we also want to get a hook that the log happened, as well as\n * potentially inject additional information into both the buffer and the console logged line.\n *\n * So my solution was to attack this in 2 parts.\n *\n * 1. I curried the logging functions in the method factory below. This makes it so you'd need\n * to do something like `timber.log('args', 'here')()` in order to actually\n * log something. This lets me use the first invocation to run internal work and bind the data\n * to the console function call, then the second call actually invokes the console function\n * (therefore maintaining the stack).\n *\n * 2. A babel macro is used to rewrite any time you call `timber.log()` to convert it to\n * `timber.log()()` without the developer having to do anything! It also injects some additional\n * information like line number and file name so we have them in the remote logging environment.\n */\nconst originalFactory = log.methodFactory;\nlog.methodFactory = function (\n methodName,\n logLevel,\n loggerName: 'timber' | 'remoteOnlyTimber' | 'localOnlyTimber'\n) {\n const rawMethod = originalFactory(methodName, logLevel, loggerName);\n\n return function (filename, lineNumber, ...args) {\n const logTimestamp = new Date();\n\n if (loggerName !== 'localOnlyTimber') {\n let user;\n try {\n user = getUserUUID();\n } catch (err) {\n // if we can't get the user, just log it as unknown\n // this should stop errors for logs that happen before auth is fully complete\n user = 'unknown';\n }\n /**\n * enqueue the log object to be sent to the server, injecting as much information at this\n * point as is reasonable. (we potentially don't have access to redux, or even keycloak at\n * this point, so we can't add any of that here)\n */\n enqueue({\n // https://github.com/MoffettData/lib-core-common/blob/33dc3eda47a87c6a4c13f8e61453df41d20a39f1/src/main/resources/logback-common.xml#L53-L74\n // These are \"standardized\" fields for logs that all other services at ripcord use\n severity: methodName.toUpperCase() as Uppercase,\n service: `${process.env.APP_NAME}-frontend`,\n message: args?.join(' '),\n user,\n '@timestamp': logTimestamp.toISOString(),\n caller: `${filename}:${lineNumber}`,\n version: process.env.RP_CHART_VERSION\n });\n }\n\n if (loggerName === 'remoteOnlyTimber') {\n return () => null;\n } else {\n /**\n * bind the data to the real console function call, but don't invoke it.\n * Instead return it, and let the caller invoke it themselves to maintain the call stack\n */\n return rawMethod.bind(\n undefined,\n // add a locale-specific timestamp to the log line to make it easier to tell when it happened in your local timezone\n `[${logTimestamp.toLocaleTimeString()}]`,\n ...args\n );\n }\n };\n};\n\n// Be sure to call setLevel method in order to apply plugin\nlog.setLevel(log.getLevel());\n\nexport default log.getLogger('timber');\n\n// export a second logger that will only log to the server, and not to the console\nexport const remoteOnlyTimber = log.getLogger('remoteOnlyTimber');\n\n// and export a 3rd logger that will only log to the console, and not to the server\nexport const localOnlyTimber = log.getLogger('localOnlyTimber');\n\n// @ts-expect-error\nlog.debug?.(undefined, undefined, 'Timber initialized!')?.();\n","import { getCommonHeaders } from '../api/internalApiUtils';\nimport { track } from '../utils/mixpanel';\nimport timber from './macro';\nimport { enqueue, flush } from './ringBuffer';\n\nlet numSendFailures = 0;\nlet trackedMixpanelFailure = false;\n\nexport async function shipLogs() {\n if (!trackedMixpanelFailure && numSendFailures > 5) {\n timber.error('Failed to ship logs too many times, giving up');\n track('Log Shipping Failed', {\n numFailures: numSendFailures\n });\n trackedMixpanelFailure = true;\n return;\n }\n\n let logs: ReturnType = [];\n try {\n logs = flush();\n if (logs.length) {\n timber.info(`Shipping ${logs.length} logs to Sawmill`);\n const body = JSON.stringify(logs);\n const url = '/core-sawmill/log';\n const request = new Request(url, {\n method: 'POST',\n headers: {\n ...getCommonHeaders(),\n 'Content-Type': 'application/json'\n },\n body\n });\n\n const response = await fetch(request, {\n credentials: 'same-origin',\n cache: 'no-store'\n });\n\n if (!response.ok) {\n throw new Error(\n `Invalid response from Sawmill while shipping logs. Expected 200 OK, got ${response.status} ${response.statusText}`\n );\n }\n }\n } catch (err) {\n numSendFailures++;\n enqueue(logs);\n\n timber.error('Failed to ship logs', err);\n }\n}\n\nexport function shipLogsOnUnhandledError() {\n window.addEventListener('error', (event) => {\n timber.error('Unhandled error', event.error);\n shipLogs();\n });\n\n window.addEventListener('unhandledrejection', (event) => {\n timber.error('Unhandled Promise Rejection', event.reason);\n shipLogs();\n });\n}\n","/**\n * This is the ring buffer implementation for the logger.\n * This is meant to be used as a standalone module so that all uses in the app will share the same\n * buffer, without having to worry about passing it around. This becomes important here because\n * the logger must work before app initialization is complete, but a saga must be able to read it,\n * so we were limited in where we could put the data and still have it accessible in all the\n * required places.\n */\nimport type { LogLevelNames } from 'loglevel';\n\n/** the max number of items that can be in the buffer before the oldest start dropping off */\nexport const RING_BUFFER_MAX_LINES = 500;\n\nexport type LogObjectShape = {\n severity: Uppercase;\n service: `${typeof process.env.APP_NAME}-frontend`;\n message: string;\n user: string;\n '@timestamp': string;\n /** should be the filepath:linenumber */\n caller: string;\n version?: string;\n};\n\n/**\n * the actual ring buffer, a standard array of objects. We enqueue items on the end, and shift them\n * off the front when it gets too large.\n */\nlet ringBuffer: LogObjectShape[] = [];\n\n/**\n * Enqueue one or more log message objects to the buffer\n */\nexport function enqueue(logLine: LogObjectShape | LogObjectShape[]) {\n const lines = Array.isArray(logLine) ? [...logLine] : [logLine];\n\n // first shift enough off lines to ensure it's under the max lines\n // otherwise we go into an infinite loop in the next step\n while (lines.length >= RING_BUFFER_MAX_LINES) {\n lines.shift();\n }\n\n // then shift off enough lines from the ringBuffer to make room for the new lines\n while (ringBuffer.length + lines.length >= RING_BUFFER_MAX_LINES) {\n ringBuffer.shift();\n }\n\n ringBuffer.push(...lines);\n}\n\n/**\n * return the entire buffer, and completely clear it out as well\n */\nexport function flush() {\n const buffer = [...ringBuffer];\n ringBuffer = [];\n return buffer;\n}\n","import { i18n } from '@lingui/core';\nimport {\n fromNavigator,\n fromStorage,\n multipleDetect\n} from '@lingui/detect-locale';\nimport { en, eo, fr, id, ja, ms, zh } from 'make-plural/plurals';\nimport { setLocaleData as registerMonacoLocale } from 'monaco-editor-nls';\nimport { registerLocale as registerDateLocale } from 'react-datepicker';\n\nimport type { ValueOf } from '../utils/tsUtilityTypes';\n\nimport timber from '../timber/macro';\n\n/** Map our supported locales to their correct translation po files */\nconst supportedLocales = {\n en: 'en-US',\n 'en-US': 'en-US',\n eo: 'eo',\n ja: 'ja',\n 'ja-JP': 'ja',\n fr: 'fr',\n 'fr-CA': 'fr',\n 'fr-FR': 'fr',\n 'zh-TW': 'zh-TW',\n ms: 'ms',\n 'ms-BN': 'ms',\n 'ms-MY': 'ms',\n 'ms-SG': 'ms',\n id: 'id',\n 'id-ID': 'id'\n} as const;\nexport type PossibleInputLocales = keyof typeof supportedLocales;\nexport type SupportedLocales = ValueOf;\n\nconst cronstrueLocales = {\n 'en-US': 'en',\n eo: 'en',\n ja: 'ja',\n fr: 'fr',\n 'zh-TW': 'zh_TW',\n ms: 'en',\n id: 'en'\n} as const satisfies Record;\n\nlet currentLocale: SupportedLocales;\nexport function getCurrentLocale() {\n return currentLocale;\n}\n\n// loads the plurals data for all locales up front, it tree shakes better that way\ni18n.loadLocaleData({\n en: { plurals: en },\n 'en-US': { plurals: en },\n eo: { plurals: eo },\n ja: { plurals: ja },\n 'ja-JP': { plurals: ja },\n fr: { plurals: fr },\n 'fr-CA': { plurals: fr },\n 'fr-FR': { plurals: fr },\n 'zh-TW': { plurals: zh },\n ms: { plurals: ms },\n 'ms-BN': { plurals: ms },\n 'ms-MY': { plurals: ms },\n 'ms-SG': { plurals: ms },\n id: { plurals: id },\n 'id-ID': { plurals: id }\n});\n\nconst getLocales = () =>\n multipleDetect(\n /** localStorage.setItem('lang', 'eo'); */\n fromStorage('lang'),\n /** chrome://settings/languages > Language > Esperanto */\n fromNavigator(),\n /** chrome:DevTools > Sensors > Location > Locale > eo */\n Intl.DateTimeFormat().resolvedOptions().locale,\n /** fallback to English */\n () => 'en-US'\n ) as unknown as Array;\n\nconst fallbackLocale = Object.keys(supportedLocales)[0] as 'en-US';\nconst configureLocale = async (localeOverride?: PossibleInputLocales) => {\n const detectedLocales = getLocales();\n const firstSupportedFromDetectedLocales = detectedLocales.find(\n (locale) => supportedLocales[locale]\n );\n let locale: PossibleInputLocales =\n localeOverride ?? firstSupportedFromDetectedLocales!;\n if (!supportedLocales[locale]) {\n timber.warn(\n `The locale of ${locale} is not yet supported by our application. Application will instead display in ${fallbackLocale}.`\n );\n locale = fallbackLocale;\n }\n\n const normalizedFinalLocale = supportedLocales[locale];\n\n currentLocale = normalizedFinalLocale;\n\n // Import and install all of the locale data for this locale\n await Promise.all([\n // Ripcord strings\n installAndSetupRipcordStrings(normalizedFinalLocale),\n // date-fns strings\n installAndSetupDateFnsStrings(normalizedFinalLocale),\n // monaco editor strings. Ignores any errors from loading unsupported locales (like eo, our test locale)\n installAndSetupMonacoStrings(normalizedFinalLocale),\n // cronstrue strings\n installCronstrueStrings(normalizedFinalLocale)\n ]);\n\n timber.debug(`Application displaying in ${locale}.`);\n};\n\nexport default configureLocale;\n\nasync function installAndSetupRipcordStrings(\n normalizedLocale: SupportedLocales\n) {\n try {\n const { messages } = await import(\n /* webpackInclude: /(en\\-US|eo|ja|fr|zh\\-TW|ms|id)\\.po/ */\n `./locales/${normalizedLocale}.po`\n );\n i18n.load(normalizedLocale, messages);\n } catch (err) {\n timber.error(\n `Failed to load ripcord strings for locale ${normalizedLocale}`,\n err\n );\n } finally {\n i18n.activate(normalizedLocale);\n }\n}\n\nasync function installAndSetupDateFnsStrings(\n normalizedLocale: SupportedLocales\n) {\n try {\n const datePickerLocale = await import(\n /* webpackInclude: /(en\\-US|eo|ja|fr|zh\\-TW|ms|id)/ */\n `../../node_modules/date-fns/locale/${normalizedLocale}/index.js`\n );\n registerDateLocale(normalizedLocale, datePickerLocale);\n } catch (err) {\n timber.error(\n `Failed to load date-fns strings for locale ${normalizedLocale}`,\n err\n );\n }\n}\n\nasync function installAndSetupMonacoStrings(\n normalizedLocale: SupportedLocales\n) {\n const normalizedMonacoLocaleCode = normalizedLocale\n .replace('zh-TW', 'zh-hant')\n .replace('eo', 'qps-ploc');\n\n try {\n const monacoLocale = await import(\n /* webpackInclude: /(qps\\-ploc|ja|fr|zh\\-hant|ms|id)\\.json/ */\n `../../node_modules/monaco-editor-nls/locale/${normalizedMonacoLocaleCode}.json`\n );\n registerMonacoLocale(monacoLocale);\n } catch (err) {\n timber.warn(\n `Failed to load monaco strings for locale ${normalizedMonacoLocaleCode}`,\n err\n );\n }\n}\n\nasync function installCronstrueStrings(normalizedLocale: SupportedLocales) {\n try {\n await import(\n /* webpackInclude: /(en|ja|fr|zh\\_TW)\\.js/ */\n `cronstrue/locales/${cronstrueLocales[normalizedLocale]}.js`\n );\n } catch (err) {\n timber.error(\n `Failed to load cronstrue strings for locale ${normalizedLocale}`,\n err\n );\n }\n}\n","import type { SupportedLocales } from './configure-locale';\n\ntype _Internal_Keymap = {\n binding: string | string[];\n label: string | null;\n ignoreAutorepeat?: boolean;\n};\nexport type Keymap = {\n /** A locale of 'en-US' must be included as the fallback locale for all keybindings */\n 'en-US': _Internal_Keymap;\n} & {\n // eslint-disable-next-line no-unused-vars\n [locale in SupportedLocales]?: _Internal_Keymap;\n};\n\n/**\n * Does a lookup of a keymap but makes sure to fallback to the default locale of `en-US` so we\n * never run into situations where the binding label is not displayed for a specific locale\n */\nexport function getBindingWithFallback(\n keymap: Keymap,\n locale: SupportedLocales\n) {\n // fallback to en-US if no locale-specific keybinding is defined\n const bindingAndLabel = keymap?.[locale] ?? keymap?.['en-US'] ?? {};\n return bindingAndLabel;\n}\n\n// task-processing scope\nexport const TOGGLE_TASK_PROCESSING_INFO_PANEL: Keymap = {\n // other locales can be set here if their keybindings are different, en-US is always used as a fallback\n 'en-US': {\n binding: 'KeyI', // bindings must be defined in the order Control+Shift+Key\n label: 'I' // label can be a react node as well if we want to use an icon or something else\n }\n};\nexport const FLAG_SUPPORT: Keymap = {\n 'en-US': {\n binding: 'KeyH',\n label: 'H'\n }\n};\nexport const UNFLAG_SUPPORT: Keymap = {\n 'en-US': {\n binding: 'Control+KeyH',\n label: 'CTRL+H'\n }\n};\nexport const PREV_TASK: Keymap = {\n 'en-US': {\n binding: 'ArrowUp',\n label: '↑'\n }\n};\nexport const NEXT_TASK: Keymap = {\n 'en-US': {\n binding: 'ArrowDown',\n label: '↓'\n }\n};\nexport const LEFT: Keymap = {\n 'en-US': {\n binding: 'ArrowLeft',\n label: '←'\n }\n};\nexport const RIGHT: Keymap = {\n 'en-US': {\n binding: 'ArrowRight',\n label: '→'\n }\n};\nexport const REROUTE: Keymap = {\n 'en-US': {\n binding: 'Control+Shift+KeyX',\n label: 'CTRL+SHIFT+X'\n }\n};\n\nexport const CROP_ACTIVE: Keymap = {\n 'en-US': {\n binding: 'KeyC',\n label: 'C'\n }\n};\nexport const STRAIGHTEN_ACTIVE: Keymap = {\n 'en-US': {\n binding: 'KeyS',\n label: 'S'\n }\n};\nexport const CROP_REJECT: Keymap = {\n 'en-US': {\n binding: 'KeyF',\n label: 'F'\n }\n};\nexport const STRAIGHTEN_REJECT: Keymap = {\n 'en-US': {\n binding: 'KeyV',\n label: 'V'\n }\n};\nexport const ROTATE_LEFT: Keymap = {\n 'en-US': {\n binding: 'KeyA',\n label: 'A'\n }\n};\nexport const ROTATE_RIGHT: Keymap = {\n 'en-US': {\n binding: 'KeyD',\n label: 'D'\n }\n};\nexport const ROTATE_180: Keymap = {\n 'en-US': {\n binding: ['KeyW'],\n label: 'W'\n }\n};\nexport const IS_BLANK: Keymap = {\n 'en-US': {\n binding: 'KeyB',\n label: 'B',\n ignoreAutorepeat: true\n }\n};\nexport const IS_NOT_BLANK: Keymap = {\n 'en-US': {\n binding: 'KeyN',\n label: 'N',\n ignoreAutorepeat: true\n }\n};\n\nexport const ESCAPE: Keymap = {\n 'en-US': {\n binding: 'Escape',\n label: 'ESC'\n }\n};\n\nexport const DELETE: Keymap = {\n 'en-US': {\n // macos doesn't have an easily usable delete key, so we also have backspace do the same thing\n binding: ['Delete', 'Backspace'],\n label: 'Delete'\n }\n};\n\nexport const SAVE_AND_UNSET_ACTIVE_CTRL_A: Keymap = {\n 'en-US': {\n binding: 'Control+KeyA',\n label: 'CTRL+A'\n }\n};\nexport const SAVE_AND_UNSET_ACTIVE_ENTER: Keymap = {\n 'en-US': {\n binding: ['Enter', 'NumpadEnter'],\n label: '↩'\n }\n};\n\n// box-processing scope\nexport const MOVE_TO_NEXT_PAGE: Keymap = {\n 'en-US': {\n binding: 'ArrowRight',\n label: '→'\n }\n};\n\nexport const MOVE_TO_PREVIOUS_PAGE: Keymap = {\n 'en-US': {\n binding: 'ArrowLeft',\n label: '←'\n }\n};\n\nexport const MOVE_TO_NEXT_DOC: Keymap = {\n 'en-US': {\n binding: 'ArrowDown',\n label: '↓'\n }\n};\n\nexport const MOVE_TO_PREVIOUS_DOC: Keymap = {\n 'en-US': {\n binding: 'ArrowUp',\n label: '↑'\n }\n};\n\nexport const TOGGLE_BOX_PROCESSING_INFO_PANEL: Keymap = {\n 'en-US': {\n binding: 'KeyI',\n label: 'I'\n }\n};\n\nexport const TOGGLE_TOOLBAR: Keymap = {\n 'en-US': {\n binding: 'KeyT',\n label: 'T'\n }\n};\n\nexport const EXPAND_PAGE_IMAGE: Keymap = {\n 'en-US': {\n binding: 'KeyE',\n label: 'E'\n }\n};\n\nexport const TOGGLE_INFO_PANEL_TAB: Keymap = {\n 'en-US': {\n binding: 'Tab',\n label: '⇥'\n }\n};\n\nexport const COMMAND_AUTOCOMPLETE: Keymap = {\n 'en-US': {\n binding: ['Tab', 'Space'],\n label: ''\n }\n};\n\nexport const SELECT_ALL: Keymap = {\n 'en-US': {\n binding: 'Control+KeyA',\n label: 'CTRL+A'\n }\n};\n\nexport const SELECT_ALL_UNCLASSIFIED: Keymap = {\n 'en-US': {\n binding: 'Control+KeyU',\n label: 'CTRL+U'\n }\n};\n\nexport const SELECT_NONE: Keymap = {\n 'en-US': {\n binding: 'Control+KeyN',\n label: 'CTRL+N'\n }\n};\n\nexport const UP_ARROW_KEY: Keymap = {\n 'en-US': { binding: 'ArrowUp', label: null, ignoreAutorepeat: true }\n};\nexport const DOWN_ARROW_KEY: Keymap = {\n 'en-US': { binding: 'ArrowDown', label: null, ignoreAutorepeat: true }\n};\n\nexport const NUMERIC_KEYS: Keymap[] = [\n {\n 'en-US': {\n binding: ['Digit1', 'Numpad1'],\n label: '1',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit2', 'Numpad2'],\n label: '2',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit3', 'Numpad3'],\n label: '3',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit4', 'Numpad4'],\n label: '4',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit5', 'Numpad5'],\n label: '5',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit6', 'Numpad6'],\n label: '6',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit7', 'Numpad7'],\n label: '7',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit8', 'Numpad8'],\n label: '8',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit9', 'Numpad9'],\n label: '9',\n ignoreAutorepeat: true\n }\n },\n {\n 'en-US': {\n binding: ['Digit0', 'Numpad0'],\n label: '0',\n ignoreAutorepeat: true\n }\n }\n];\n","import { createAction } from '@reduxjs/toolkit';\n\nimport type {\n PossibleModalNames,\n PossibleModalProps\n} from '../../modals/components/modal-root';\n\nexport const setNotification = createAction(\n 'UI/NOTIFICATION_SET',\n (\n text: string,\n secondaryActionId?: string,\n secondaryActionText?: string,\n notificationType?: string\n ) => ({\n payload: { text, secondaryActionId, secondaryActionText, notificationType }\n })\n);\nexport const closeNotification = createAction('UI/CLOSE_NOTIFICATION');\nexport const triggerSecondary = createAction('UI/TRIGGER_SECONDARY');\n\nexport const showFullScreenModal = createAction(\n 'UI/UI_SHOW_FULL_SCREEN_MODAL',\n (component: any | null, props?: object) => ({\n payload: { component, props }\n })\n);\nexport const hideFullScreenModal = createAction('UI/UI_HIDE_FULL_SCREEN_MODAL');\n\nexport const toggleMenu = createAction('UI/TOGGLE_MENU');\n\nexport const changeMenuOpenState = createAction(\n 'UI/CHANGE_MENU_OPEN_STATE',\n (open) => ({ payload: open })\n);\n\nexport const setHasMinimizedState = createAction(\n 'UI/SET_HAS_MINIMIZED_MENU',\n (hasMinimized) => ({\n payload: hasMinimized\n })\n);\n\nexport const showModal = createAction(\n 'UI/UI_SHOW_MODAL_SHOW',\n (type: PossibleModalNames, props?: PossibleModalProps) => {\n const propsWithFocus = props?.focusOn\n ? props\n : { ...props, focusOn: document.activeElement };\n return { payload: { type, props: propsWithFocus } } as const;\n }\n);\nexport const hideModal = createAction('UI/UI_HIDE_MODAL_HIDE');\n\nexport const changeViewport = createAction(\n 'UI/UI_CHANGE_VIEWPORT',\n (screenSize: string) => ({\n payload: screenSize\n })\n);\n\nexport const setMenuAutoCollapseState = createAction(\n 'UI/SET_MENU_AUTO_COLLAPSE_STATE',\n (payload) => ({\n payload\n })\n);\n\nexport const setDocumentViewerZoomScale = createAction(\n 'UI/DOCUMENT_VIEWER_SET_ZOOM_SCALE',\n (payload, silent = false) => ({\n payload,\n meta: { silent }\n })\n);\n","import Icon from '@material-ui/core/IconButton';\nimport styled from 'styled-components';\n\nconst getButtonStyles = (props) => {\n return props.light\n ? props.theme.muiTheme.iconButtonLight\n : props.theme.muiTheme.iconButton;\n};\n\nconst getIconColor = (props) => {\n const buttonColors = getButtonStyles(props);\n if (props.$isActive) {\n return buttonColors.colorHover;\n }\n if (props.disabled) {\n return buttonColors.colorDisabled;\n }\n\n return buttonColors.color;\n};\n\nexport const IconStyled = styled(Icon)`\n && {\n padding: 11px 12px;\n background: ${(props) => getButtonStyles(props).backgroundColor};\n color: ${getIconColor};\n cursor: ${(props) => (props.disabled ? 'default' : 'pointer')};\n pointer-events: auto !important; /* enables showing title when button disabled */\n\n &:hover {\n background: ${(props) => getButtonStyles(props).backgroundColorHover};\n color: ${(props) =>\n props.disabled\n ? getButtonStyles(props).colorDisabled\n : getButtonStyles(props).colorHover};\n }\n\n .icon-ripple {\n color: ${(props) => getButtonStyles(props).rippleColor};\n }\n }\n`;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport ReactSVG from 'react-svg';\n\nimport { IconStyled } from './index.styled';\n\nconst IconButton = ({\n alt,\n iconSrc,\n isDisabled,\n onClick,\n href,\n // groupId is pulled out to avoid invalid prop warnings. It was never used here and is most likely accidentally included.\n groupId,\n isActive,\n ...otherProps\n}) => {\n return (\n \n \n \n );\n};\n\nIconButton.propTypes = {\n alt: PropTypes.string,\n iconSrc: PropTypes.string,\n href: PropTypes.string,\n isActive: PropTypes.bool,\n isDisabled: PropTypes.any,\n onClick: PropTypes.func\n};\n\nIconButton.defaultProps = {\n isDisabled: false,\n isActive: false,\n iconSrc: ''\n};\n\nexport default IconButton;\n","import { css } from 'styled-components';\n\nexport const ellipsis = `\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n`;\n\nexport const limitLines = (size = 14, linesNum = 2) => `\n display: -webkit-box;\n align-items: center;\n -webkit-line-clamp: ${linesNum};\n -webkit-box-orient: vertical;\n -webkit-box-align: unset;\n line-height: ${size}px;\n overflow: hidden;\n`;\n\nexport const styledTextFieldAsterisk = css`\n &&.MuiFormControl-root {\n & .MuiFormLabel-asterisk.MuiInputLabel-asterisk {\n color: ${({ theme }) => theme.colors.red['500']};\n }\n }\n`;\n\nexport const styledFormLabelAsterisk = css`\n & span.MuiFormLabel-asterisk {\n color: ${({ theme }) => theme.colors.red['500']};\n }\n`;\n","import React from 'react';\n\nimport { DATETIME_FORMATS } from '../../../config';\nimport { isoToLocale, isoToRelative } from '../../../utils/datetime-utils';\n\nexport const ReadOnlyDate = ({\n isoString,\n textFormat = DATETIME_FORMATS.DATETIME.SHORT,\n tooltipFormat = textFormat,\n withTooltip = true\n}) => {\n const textDateTime =\n textFormat === DATETIME_FORMATS.RELATIVE\n ? isoToRelative(isoString)\n : isoToLocale(isoString, textFormat);\n const tooltipDateTime =\n tooltipFormat === DATETIME_FORMATS.RELATIVE\n ? isoToRelative(isoString)\n : isoToLocale(isoString, tooltipFormat);\n\n return (\n \n {textDateTime}\n \n );\n};\n\nexport default ReadOnlyDate;\n","import React from 'react';\nimport { ShimmerText } from '../../ripcord-components/loading/ShimmerPlaceholder';\n\nexport type Props = {\n className?: string;\n numChars?: number;\n fillChar?: string;\n};\n\nexport default function TextLoadingShimmer({\n className,\n numChars = 6,\n fillChar\n}: Props) {\n return (\n \n );\n}\n","import { createSlice } from '@reduxjs/toolkit';\n\nimport type { ValueOf } from '../utils/tsUtilityTypes';\n\nexport const ORIENTATIONS = {\n PORTRAIT: 'portrait',\n LANDSCAPE: 'landscape',\n SQUARE: 'square'\n};\nexport type PossibleOrientations = ValueOf;\n\nexport const SEARCHMODES = {\n SOURCE: 'source',\n LIBRARY: 'library',\n ADVANCED: 'advanced'\n} as const;\nexport type PossibleSearchModes = ValueOf;\nexport type PossibleSearchModesNoAdvanced = Exclude<\n ValueOf,\n (typeof SEARCHMODES)['ADVANCED']\n>;\n\nexport const TRAY_MODES = {\n MINIMIZED: 'MINIMIZED',\n MODAL: 'MODAL',\n TRAY: 'TRAY',\n CLOSED: 'CLOSED'\n} as const;\nexport type PossibleTrayModes = ValueOf;\n\nexport const PANELS = {\n ABSTRACT: 'ABSTRACT',\n AI: 'AI',\n FILTERS: 'FILTERS',\n INFO: 'INFO',\n TREE: 'TREE',\n RENDITIONS: 'RENDITIONS',\n RELATIONSHIPS: 'RELATIONSHIPS',\n VERSIONS: 'VERSIONS',\n NEW_VERSION: 'NEW_VERSIONS',\n WORKSPACE: 'WORKSPACE'\n} as const;\nexport type PossiblePanels = ValueOf;\n\nexport type State = {\n trayState: PossibleTrayModes;\n gridViewOrientation: PossibleOrientations;\n gridViewScale: number;\n\n rightPanelOpen: boolean;\n rightPanelWidth: number;\n activePanel: PossiblePanels | null;\n\n searchString: string | null;\n inSearchSession: boolean;\n startSearchSession: boolean;\n};\n\nconst localStorageRightPanelOpen = localStorage.getItem('rightPanelOpen');\nconst localStorageActivePanel = localStorage.getItem('activePanel');\n\nconst initialState: State = {\n trayState: TRAY_MODES.CLOSED,\n gridViewOrientation: 'square',\n gridViewScale: 1,\n\n rightPanelOpen: localStorageRightPanelOpen === 'true',\n rightPanelWidth: 0,\n activePanel:\n localStorageRightPanelOpen === 'true' && localStorageActivePanel != null\n ? PANELS[localStorageActivePanel]\n : null,\n\n searchString: null,\n inSearchSession: false,\n startSearchSession: false\n};\n\nexport const {\n reducer,\n actions: {\n setTrayState,\n setGridViewOrientation,\n setGridViewScale,\n setRightPanelOpen,\n setRightPanelWidth,\n toggleRightPanel,\n setActivePanel,\n setSearchString,\n setInSearchSession,\n setStartSearchSession\n }\n} = createSlice({\n name: 'ripcord/ui/appstate',\n initialState,\n reducers: {\n setTrayState(\n state: State,\n { payload }: { payload: PossibleTrayModes }\n ): State {\n return {\n ...state,\n trayState: payload\n };\n },\n setGridViewOrientation(\n state: State,\n { payload }: { payload: PossibleOrientations }\n ): State {\n return {\n ...state,\n gridViewOrientation: payload\n };\n },\n setGridViewScale(state: State, { payload }: { payload: number }): State {\n return {\n ...state,\n gridViewScale: payload\n };\n },\n setRightPanelOpen(state: State, { payload }: { payload: boolean }): State {\n return {\n ...state,\n rightPanelOpen: payload\n };\n },\n setRightPanelWidth(state: State, { payload }: { payload: number }): State {\n return {\n ...state,\n rightPanelWidth: payload\n };\n },\n toggleRightPanel(state: State): State {\n return {\n ...state,\n rightPanelOpen: !state.rightPanelOpen\n };\n },\n setActivePanel(\n state: State,\n { payload }: { payload: PossiblePanels | null }\n ): State {\n return {\n ...state,\n activePanel: payload\n };\n },\n setSearchString(\n state: State,\n { payload }: { payload: string | null }\n ): State {\n return {\n ...state,\n searchString: payload,\n inSearchSession: false,\n startSearchSession: false\n };\n },\n setInSearchSession(state: State, { payload }: { payload: boolean }): State {\n return {\n ...state,\n inSearchSession: payload\n };\n },\n setStartSearchSession(\n state: State,\n { payload }: { payload: boolean }\n ): State {\n return {\n ...state,\n startSearchSession: payload\n };\n }\n }\n});\n","import {\n AND,\n AND_VERBOSE,\n EQ,\n GE,\n GE_VERBOSE,\n getSelector,\n getSingleValue,\n getValue,\n GT,\n GT_VERBOSE,\n IN,\n isComparisonNode,\n isLogicNode,\n isValueNode,\n LE,\n LE_VERBOSE,\n LT,\n LT_VERBOSE,\n NEQ,\n OR,\n OR_VERBOSE,\n OUT\n} from '@rsql/ast';\nimport { emit } from '@rsql/emitter';\nimport { parse } from '@rsql/parser';\n\nimport type {\n ComparisonNode,\n ComparisonOperator,\n ExpressionNode,\n LogicNode\n} from '@rsql/ast';\nimport type { OMSObject } from '../oms/tsTypes';\n\nimport { RipcordASTError } from '../errors';\nimport builder, {\n ILIKE,\n LIKE,\n SEQ,\n SNE,\n UNILIKE,\n UNLIKE\n} from './rsql-builder';\n\nexport { parse } from '@rsql/parser';\nexport { default as builder } from './rsql-builder';\nexport { emit } from '@rsql/emitter';\n\nexport type MaybeExpressionNode = ExpressionNode | null | undefined;\n\n/** a safer version of emit that allows null/undefined expressions to be passed and will emit undefined in that case */\nexport function maybeEmit(builder: ExpressionNode | undefined | null) {\n try {\n return emit(builder!);\n } catch (e) {\n return undefined;\n }\n}\n\n/**\n * a safer version of parse that allows null/undefined expressions to be passed and will return null in that case\n */\nexport function maybeParse(expression: string | undefined | null) {\n return expression ? parse(expression) : null;\n}\n\nexport const OMS_OPERATORS = [\n EQ,\n NEQ,\n LE,\n GE,\n LT,\n GT,\n LE_VERBOSE,\n GE_VERBOSE,\n LT_VERBOSE,\n GT_VERBOSE,\n IN,\n OUT,\n ILIKE,\n UNILIKE,\n LIKE,\n UNLIKE,\n SEQ,\n SNE\n] as const;\nexport type PossibleOMSOperators = (typeof OMS_OPERATORS)[number];\n\nexport function getOperator(node: ComparisonNode): ComparisonOperator {\n return node.operator;\n}\nexport function isLogicalOrNode(node: MaybeExpressionNode): node is LogicNode {\n return isLogicNode(node, OR) || isLogicNode(node, OR_VERBOSE);\n}\nexport function isLogicalAndNode(node: MaybeExpressionNode): node is LogicNode {\n return isLogicNode(node, AND) || isLogicNode(node, AND_VERBOSE);\n}\n\n/**\n * gets a single attribute name from a parsed filter expression node.\n * If the node is a logic node, it will return the attribute from the left side of the node.\n */\nexport function getAttributeNameFromNode(node: ExpressionNode): string {\n if (isLogicNode(node)) {\n return getAttributeNameFromNode(node.left);\n } else if (isComparisonNode(node)) {\n return getSelector(node);\n } else {\n throw new RipcordASTError({ message: 'Invalid filter expression', node });\n }\n}\n\n/**\n * Returns a tuple of the lower and upper bounds of an OMS filters string. If the range only has one\n * comparson, the other one will be null.\n * In the returned tuple, left side is always the lower bound, right side is always the upper bound.\n * returns the stringified version of the values!\n */\nexport function getRangeFilterBounds(\n node: MaybeExpressionNode\n): [string | null, string | null] {\n let comparisonNodes: ExpressionNode[] = [];\n\n if (node != null) {\n comparisonNodes = filterLogicBranch(\n AND,\n node,\n isComparisonNode\n ) as ExpressionNode[];\n }\n\n const rangeBounds: [string | null, string | null] = [null, null];\n for (const comparisonNode of comparisonNodes) {\n switch (comparisonNode.operator) {\n case GE:\n case GE_VERBOSE:\n case GT:\n case GT_VERBOSE:\n rangeBounds[0] = getSingleValue(comparisonNode);\n break;\n case LE:\n case LE_VERBOSE:\n case LT:\n case LT_VERBOSE:\n rangeBounds[1] = getSingleValue(comparisonNode);\n break;\n default:\n throw new RipcordASTError({\n message: 'Invalid filter expression, unsupported operator used',\n node: comparisonNode\n });\n }\n }\n\n return rangeBounds;\n}\n\n/**\n * Walks the branch of AND or OR logic nodes in a filter expression AST, calling the given visitor\n * function for every comparison node it finds.\n *\n * @param node The node of the filter expression AST.\n * @param visitor The function to call for each comparison node in the AST.\n */\nexport function walkLogicBranch(\n operator: typeof OR | typeof AND,\n node: MaybeExpressionNode,\n visitor: (node: MaybeExpressionNode) => unknown\n): void {\n if (operator === OR ? isLogicalOrNode(node) : isLogicalAndNode(node)) {\n walkLogicBranch(operator, (node as LogicNode).left, visitor);\n walkLogicBranch(operator, (node as LogicNode).right, visitor);\n } else {\n visitor(node);\n }\n}\n\n/**\n * Acts like a filter but for a specific branch of logic nodes in a filter expression AST.\n */\nexport function filterLogicBranch(\n operator: typeof OR | typeof AND,\n node: MaybeExpressionNode,\n filter: (node: MaybeExpressionNode) => boolean\n): MaybeExpressionNode[] {\n const filteredNodes: MaybeExpressionNode[] = [];\n walkLogicBranch(operator, node, (node) => {\n if (filter(node)) {\n filteredNodes.push(node);\n }\n });\n return filteredNodes;\n}\n\n/**\n * Acts like a .find returning the first node that matches the filter in a specific branch of logic\n * nodes in a filter expression AST.\n */\nexport function findLogicBranch(\n operator: typeof OR | typeof AND,\n node: MaybeExpressionNode,\n filter: (node: MaybeExpressionNode) => boolean\n): MaybeExpressionNode | null {\n // yeah this could be more efficient, but it's not worth it for the sizes this will run on\n return filterLogicBranch(operator, node, filter)?.[0] ?? null;\n}\n\n/**\n * Returns if the given node is an \"unspecified\" expression. Because strings use a more complex\n * expression to represent the idea of an \"unspecified\", we need this function to check for them.\n */\nexport function isUnspecifiedExpression(\n node: ExpressionNode\n): node is LogicNode {\n return (\n // for normal attribute==null expressions\n (isComparisonNode(node, EQ) && getSingleValue(node) === 'null') ||\n // for string attributes which look like (attribute==\"\"||attribute==null)\n (isLogicalOrNode(node) &&\n isComparisonNode(node.left, EQ) &&\n isComparisonNode(node.right, EQ) &&\n // check (attribute==\"\"||attribute==null)\n ((getSingleValue(node.left) === '' &&\n getSingleValue(node.right) === 'null') ||\n // check (attribute==null||attribute==\"\")\n (getSingleValue(node.left) === 'null' &&\n getSingleValue(node.right) === '')))\n );\n}\n\n/**\n * This function takes in a variable number of string filters, parses them, and\n * returns a single filter that is the AND of all of the parsed filters. If any\n * of the filters are invalid, they are ignored. If none of the filters are\n * valid, then the function returns the empty string.\n * Note: filters that have multiple values (see: ViewCollectionPage) should use emit syntax and place them as queryParams: { advancedFilters: emit(...) }\n */\nexport function andTogetherStringFilters(\n ...filters: Array\n): string {\n const parsedFilters = filters.flatMap((filter) => {\n try {\n if (filter == null) {\n return [];\n } else {\n return [parse(filter)];\n }\n } catch (e) {\n return [];\n }\n });\n if (parsedFilters.length) {\n return emit(builder.and(...parsedFilters));\n } else {\n return '';\n }\n}\n\n/**\n * Used to apply a filter to a single oms object client-side and get a boolean result on if it\n * matches the filter or not.\n */\nexport const compareAstToOmsObject = (ast: string, omsObject: OMSObject) => {\n const comparisonNodes = recursiveExtractComparisonNodes(parse(ast));\n const result = comparisonNodes.every((node) => {\n const value = getValue(node);\n const selector = getSelector(node);\n switch (node.operator) {\n case IN:\n return (value as string[]).some((item) =>\n compareOmsObjectToValue(selector, item, omsObject)\n );\n case OUT:\n return !(value as string[]).some((item) =>\n compareOmsObjectToValue(selector, item, omsObject)\n );\n case ILIKE:\n return ilikeCompareOmsObjectToValue(selector, value, omsObject);\n case LIKE:\n return likeCompareOmsObjectToValue(selector, value, omsObject);\n case NEQ:\n return !compareOmsObjectToValue(selector, value, omsObject);\n case EQ:\n default:\n return compareOmsObjectToValue(selector, value, omsObject);\n }\n });\n return result;\n};\n\nexport const filtersStringToObject = (filtersString: string) => {\n if (filtersString) {\n // parse the filters string and walk the tree to collect all of the filters\n const ast = parse(filtersString);\n const comparisonNodes = recursiveExtractComparisonNodes(ast);\n\n // then re-combine it into our frontend format (an object of filters keyed by the attribute name)\n return comparisonNodes.reduce(\n (filtersObject: { filters: string }, comparisonNode: ComparisonNode) => {\n const complexFilter = filtersObject?.[getSelector(comparisonNode)];\n if (!complexFilter) {\n filtersObject[getSelector(comparisonNode)] = {\n operator: comparisonNode.operator,\n value: getValueBasedOnOperator(comparisonNode)\n };\n } else {\n /**\n * The only complex filter we are handling right now is date ranges\n * This will likely need to be refactored when we want to start handling\n * other filters that span multiple comparions.\n * We assume that valid date ranges will come with the start of the range\n * comparison node first and the end of the range comparison node next, since\n * that is how we inserted them.\n */\n const isDateRange =\n complexFilter?.operator === GT && comparisonNode?.operator === LT;\n if (isDateRange) {\n filtersObject[getSelector(comparisonNode)] = {\n operator: 'DATERANGE',\n value: `${complexFilter?.value} - ${getValue(comparisonNode)}`\n };\n }\n }\n return filtersObject;\n },\n {}\n );\n }\n};\n\nexport const filtersObjectToString = (\n filtersObject: Record = {}\n) => {\n if (Object.keys(filtersObject).length === 0) {\n return undefined;\n } else {\n const expression = Object.entries(filtersObject)\n .map(\n ([attributeName, { operator, value }]: [\n string,\n { operator: string; value: any }\n ]) => buildValueBasedOnOperator(attributeName, operator, value)\n )\n .reduce((ast: ExpressionNode | null, node: ComparisonNode) => {\n const isNonEmptyArray = Array.isArray(node) && !!node?.length;\n if (ast === null) {\n return isNonEmptyArray\n ? builder.and(...node)\n : !Array.isArray(node)\n ? node\n : ast;\n } else {\n return isNonEmptyArray\n ? builder.and(...node, ast)\n : !Array.isArray(node)\n ? builder.and(node, ast)\n : ast;\n }\n }, null);\n return !!expression ? emit(expression) : undefined;\n }\n};\n\nexport const addFilter = (\n filtersObject = {},\n attributeName: string,\n operator: string,\n value: string\n) => {\n return {\n ...filtersObject,\n [attributeName]: {\n operator,\n value\n }\n };\n};\n\nexport const removeFilter = (\n filtersObject: any = {},\n attributeName: string\n) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const { [attributeName]: filterToRemove, ...restOfFilters } = filtersObject;\n return restOfFilters;\n};\n\nexport const modifyFilterProperty = (\n filtersObject = {},\n attributeName: string,\n propertyName: string,\n value: string\n) => {\n if (filtersObject[attributeName]) {\n filtersObject[attributeName][propertyName] = value;\n }\n return filtersObject;\n};\n\nexport const removeArrayOfFilters = (\n filtersObject: { filters: string },\n filtersToRemove: string[]\n) => {\n if (!filtersObject?.filters || filtersToRemove?.length === 0) {\n return filtersObject;\n }\n\n const filtersStringAsObject = filtersStringToObject(filtersObject.filters);\n const currentFilters = Object.keys(filtersStringAsObject);\n\n for (const filter of currentFilters) {\n if (filtersToRemove?.includes(filter.split('.')[0])) {\n delete filtersStringAsObject[filter];\n }\n }\n\n return {\n ...filtersObject,\n filters: filtersObjectToString(filtersStringAsObject)\n };\n};\n\nfunction recursiveExtractComparisonNodes(ast: ExpressionNode) {\n if (isLogicNode(ast)) {\n return [\n ...recursiveExtractComparisonNodes(ast.left),\n ...recursiveExtractComparisonNodes(ast.right)\n ];\n } else if (isComparisonNode(ast)) {\n switch (getValue(ast)) {\n case 'true':\n return [overwriteASTValue(ast, true)];\n case 'false':\n return [overwriteASTValue(ast, false)];\n default:\n return [ast];\n }\n }\n}\n\n/**\n * getValueBasedOnOperator and buildValueBasedOnOperator must do the same thing but opposite in\n * each function.\n *\n * If you change something in one of them, you need to \"undo\" that change in the other!\n */\n\n// We can build this out for custom operators not supported by @rsql/builder out of the box and that require special formatting\nconst getValueBasedOnOperator = (comparisonNode: ComparisonNode) => {\n switch (comparisonNode.operator) {\n case IN:\n case OUT:\n return getValue(comparisonNode);\n case ILIKE:\n return (getValue(comparisonNode) as string)?.split('*')[1];\n default:\n return getValue(comparisonNode);\n }\n};\n\n// We can build this out for custom operators not supported by @rsql/builder out of the box and that require special formatting\nconst buildValueBasedOnOperator = (\n attributeName: string,\n operator: string,\n rawValue: any\n) => {\n const value = [IN, OUT].includes(operator as any)\n ? rawValue.map((val) => `${val}` ?? val)\n : `${rawValue}`;\n\n switch (operator) {\n case ILIKE:\n return builder.icontains(attributeName, value);\n case 'DATERANGE': {\n const isoDateRange = !!value ? value?.split(' ', 3) : null;\n const startDate = isoDateRange?.[0];\n const endDate = isoDateRange?.[2];\n const rangeStartExpression =\n !!startDate && startDate !== 'null'\n ? builder.gt(attributeName, startDate)\n : null;\n const rangeEndExpression =\n !!endDate && endDate !== 'null'\n ? builder.lt(attributeName, endDate)\n : null;\n return [rangeStartExpression, rangeEndExpression].filter((x) => !!x);\n }\n default:\n return builder.comparison(attributeName, operator, value);\n }\n};\n\nconst compareOmsObjectToValue = (\n selector: string,\n value: any,\n omsObject: OMSObject\n) => {\n return (\n omsObject?.[selector] === value ??\n omsObject?.attributes?.[selector] === value\n );\n};\n\nconst likeCompareOmsObjectToValue = (\n selector: string,\n value: any,\n omsObject: OMSObject\n) => {\n return (\n omsObject?.[selector]?.includes(value) ??\n (omsObject?.attributes?.[selector] as object[])?.includes(value)\n );\n};\n\nconst ilikeCompareOmsObjectToValue = (\n selector: string,\n value: any,\n omsObject: OMSObject\n) => {\n const lcValue = value.toLowerCase();\n return (\n omsObject?.[selector]?.toLowerCase()?.includes(lcValue) ??\n (omsObject?.attributes?.[selector] as string)\n ?.toLowerCase()\n ?.includes(lcValue)\n );\n};\n\n/**\n * Needed because the builder doesn't allow us to set `true` or `false` as the value of a comparison node without converting it to a string\n */\nfunction overwriteASTValue(ast: ComparisonNode, newValue: any) {\n return {\n ...ast,\n left: {\n ...ast.left,\n value: isValueNode(ast.left) ? newValue : (ast.left as any).value\n },\n right: {\n ...ast.right,\n value: isValueNode(ast.right) ? newValue : (ast.right as any).value\n }\n };\n}\n","import { i18n } from '@lingui/core';\nimport { DateTime, Interval } from 'luxon';\n/** temporary package until luxon sorts out its humanize function\n * https://github.com/moment/luxon/issues/1134 */\nimport humanizeDuration from 'humanize-duration';\n\nimport { DATETIME_FORMATS, type PossibleExactDateTimeFormats } from '../config';\n\nexport const isoToLocale = (\n isoString: string,\n format: PossibleExactDateTimeFormats = DATETIME_FORMATS.DATETIME.SHORT\n) => {\n /** Pull our locale from lingui */\n const { locale } = i18n;\n\n /**\n * Luxon automatically translates our datetime into the browser\n * locale and browser timezone from Intl.DateTimeFormat().resolvedOptions().\n */\n const originalDatetime = DateTime.fromISO(isoString);\n\n /**\n * We override the browser locale with the lingui locale because\n * we are only supporting an explicit list of locales. This will affect the\n * formatting of the date and time. However we do not override the timezone\n * so we will still be using the Intl timezone and times will be shown in\n * the user's local time.\n */\n const localeDatetime = originalDatetime.setLocale(locale);\n\n /**\n * We create a string representation based on the format specified.\n * We are currently using the Luxon preset formats\n * https://moment.github.io/luxon/#/formatting?id=presets\n * which are wrappers around Intl configurations.\n * We are not using token-based formatting such as MM/DD/YY\n * which requires a separate function\n */\n const localeDatetimeString = localeDatetime.toLocaleString(format);\n\n return localeDatetimeString;\n};\n\nexport const isoToLocaleMonth = (isoString: string) => {\n const { locale } = i18n;\n const originalDatetime = DateTime.fromISO(isoString);\n const localeDatetime = originalDatetime.setLocale(locale);\n const localeDatetimeString = localeDatetime.toLocaleString({ month: 'long' });\n return localeDatetimeString;\n};\n\nexport const isoToLocaleYearMonth = (isoString: string) => {\n const { locale } = i18n;\n const originalDatetime = DateTime.fromISO(isoString);\n const localeDatetime = originalDatetime.setLocale(locale);\n const localeDatetimeString = localeDatetime.toLocaleString({\n year: 'numeric',\n month: 'long'\n });\n return localeDatetimeString;\n};\n\nexport const isoToRelative = (isoString: string) => {\n /** Pull our locale from lingui */\n const { locale } = i18n;\n\n /**\n * Luxon automatically translates our datetime into the browser\n * locale and browser timezone from Intl.DateTimeFormat().resolvedOptions().\n */\n const originalDatetime = DateTime.fromISO(isoString);\n\n /**\n * We override the browser locale with the lingui locale because\n * we are only supporting an explicit list of locales. This will affect the\n * formatting of the date and time. However we do not override the timezone\n * so that when Luxon compares the datetime with the local time it will return\n * the proper time difference.\n */\n const localeDatetime = originalDatetime.setLocale(locale);\n\n /**\n * We create a string representation of the relative datetime difference\n * between the given datetime and now. This works for both times before and\n * after now.\n */\n const localeDatetimeRelativeString = localeDatetime.toRelative();\n\n return localeDatetimeRelativeString;\n};\n\nexport const isoToDuration = (startIso: string, endIso: string) => {\n const { locale } = i18n;\n const startDate = DateTime.fromISO(startIso);\n const endDate = DateTime.fromISO(endIso);\n const duration = Interval.fromDateTimes(\n startDate,\n endDate\n ).toDuration() as unknown as { values: { milliseconds: number } };\n const milliseconds = duration?.values?.milliseconds ?? 0;\n /** This uses a separate package because Luxon's humanize is bad for now */\n const humanDuration = humanizeDuration(milliseconds, {\n language: locale,\n fallbacks: ['en'],\n maxDecimalPoints: 2,\n units: ['y', 'mo', 'w', 'd', 'h', 'm', 's']\n });\n return humanDuration;\n};\n\nexport const isoToDateObject = (isoString: string, dateOnly = false) => {\n return dateOnly\n ? DateTime.fromISO(isoString).endOf('day').toJSDate()\n : DateTime.fromISO(isoString).toJSDate();\n};\n\nexport const dateObjectToISO = (localeDatetime: Date, dateOnly = false) => {\n const original = DateTime.fromJSDate(localeDatetime);\n return dateOnly ? original.toISODate() : original.toISO();\n};\n\nexport const isToday = (isoString: string) => {\n const original = DateTime.fromISO(isoString);\n return original.hasSame(DateTime.local(), 'day');\n};\nexport const isYesterday = (isoString: string) => {\n const original = DateTime.fromISO(isoString);\n return original.hasSame(DateTime.local().minus({ days: 1 }), 'day');\n};\nexport const isThisMonth = (isoString: string) => {\n const original = DateTime.fromISO(isoString);\n return original.hasSame(DateTime.local(), 'month');\n};\nexport const isThisYear = (isoString: string) => {\n const original = DateTime.fromISO(isoString);\n return original.hasSame(DateTime.local(), 'year');\n};\n","import {\n useCallback,\n useEffect,\n useMemo,\n useReducer,\n useRef,\n useState\n} from 'react';\nimport { useLingui } from '@lingui/react';\nimport { useHistory, useLocation } from 'react-router-dom';\n\nimport type { RefObject } from 'react';\nimport type { SupportedLocales } from '../translations/configure-locale';\nimport type { Keymap } from '../translations/key-bindings';\n\nimport { getBindingWithFallback } from '../translations/key-bindings';\n\nexport function useLocationState(key) {\n const history = useHistory();\n const location = useLocation();\n\n const setVal = useCallback(\n (nextVal) =>\n history.replace(location.pathname, {\n ...location.state,\n [key]: nextVal\n }),\n [history, key, location.pathname, location.state]\n );\n\n return [location.state?.[key], setVal] as const;\n}\n\nexport function useToggle(defaultValue?: any) {\n const [val, setVal] = useState(defaultValue);\n const toggleVal = useCallback(() => setVal((prevState) => !prevState), []);\n\n return [val, setVal, toggleVal] as const;\n}\n\nexport function useForceRender() {\n const [, setRenderState] = useState(false);\n return useCallback(() => setRenderState((prev) => !prev), []);\n}\n\n/** Stolen from https://usehooks.com/usePrevious/ */\nexport function usePrevious(value: Value): Value | undefined {\n // The ref object is a generic container whose current property is mutable ...\n // ... and can hold any value, similar to an instance property on a class\n const ref = useRef();\n\n // Store current value in ref\n useEffect(() => {\n ref.current = value;\n }, [value]); // Only re-run if value changes\n\n // Return previous value (happens before update in useEffect above)\n return ref.current;\n}\n\n/*\nuseAdvancedLoading: custom hook to evaluate functionality based on a more granular status than just a boolean such as 'isLoading'\n * @param {boolean} isInProgress: status of an action (ie isLoading, isCreating, isDeleting, etc)\n * @param {object} error: error that corresponds to the isInProgress status\n * @param {object} data: relevant data\n *\n * @return {boolean} neverInProgress: true when this has never been in progress\n * @return {boolean} inProgressFirstPaint: true when in progress for the first time\n * @return {boolean} submittedSuccessfully: true when you are finished an action successfully (ie saveSuccessful, deleteSuccessful, etc)\n */\nexport function useAdvancedLoading(\n isInProgress: boolean,\n error: Error | null = null\n) {\n const isPrevInProgress = usePrevious(isInProgress);\n const neverInProgressRef = useRef(true);\n const inProgressFirstPaintRef = useRef(false);\n\n useEffect(() => {\n if (isInProgress) {\n neverInProgressRef.current = false;\n }\n }, [isInProgress]);\n\n useEffect(() => {\n if (!isPrevInProgress && isInProgress) {\n inProgressFirstPaintRef.current = true;\n }\n }, [isPrevInProgress, isInProgress]);\n const submittedSuccessfully = useMemo(\n () => !!isPrevInProgress && !isInProgress && error === null,\n [isPrevInProgress, isInProgress, error]\n );\n return {\n neverInProgress: neverInProgressRef?.current,\n inProgressFirstPaint: inProgressFirstPaintRef?.current,\n submittedSuccessfully\n } as const;\n}\n\nexport function useKeybinding(\n enabled,\n keymap: Keymap,\n onPress: (e: any) => void,\n capture = false,\n ref: RefObject | null = null\n) {\n const {\n i18n: { locale }\n } = useLingui() as { i18n: { locale: SupportedLocales } };\n const {\n binding,\n label,\n ignoreAutorepeat = false\n } = getBindingWithFallback(keymap, locale);\n\n useEffect(() => {\n const currentRef = ref?.current;\n const handleKeyDown = (e) => {\n /**\n * When ignoreAutorepeat is turned on, the keybind\n * will only register once per keydown. Keyboard autorepeat\n * is ignored.\n */\n if (ignoreAutorepeat && e?.repeat) {\n return;\n }\n // ignore if user is typing in input field (unless they provide a ref, in which case accept everything)\n if (\n currentRef == null &&\n (e?.target?.nodeName === 'INPUT' || e?.target?.nodeName === 'TEXTAREA')\n ) {\n return;\n }\n const key = `${e.ctrlKey ? 'Control+' : ''}${e.shiftKey ? 'Shift+' : ''}${\n e.code\n }`;\n if (Array.isArray(binding) ? binding.includes(key) : binding === key) {\n // only prevent default if we match this keybinding\n e.preventDefault();\n onPress?.(e);\n }\n };\n\n if (enabled) {\n (currentRef ?? window).addEventListener('keydown', handleKeyDown, {\n capture\n });\n\n return () => {\n (currentRef ?? window).removeEventListener('keydown', handleKeyDown);\n };\n }\n }, [binding, capture, enabled, ignoreAutorepeat, onPress, ref]);\n\n return enabled ? label : '';\n}\n\n/**\n * A custom hook that helps handle form state.\n * Usage:\n * const [formState, initForm] = useFormState();\n *\n * Call initForm when the initial values are ready and it will setup objects to handle each one.\n * Then formState contains an object with the value and onChange handlers for that input.\n *\n * each form component has multiple handler functions. If the component returns bare state, use\n * the `onChange` handler. if it returns an event, use the `onChangeEvent` handler.\n */\nexport function useFormState() {\n const [isFormDirty, setIsFormDirty] = useState(false);\n\n const handleDirty = (value, newValue) => {\n if (!!value !== !!newValue) {\n setIsFormDirty(true);\n } else if (Array.isArray(value) && Array.isArray(newValue)) {\n if (value.length !== newValue.length) {\n setIsFormDirty(true);\n } else {\n for (let i = 0; i < value.length; i++) {\n if (\n value[i]?.value !== newValue[i]?.value ||\n value[i]?.label !== newValue[i]?.label\n ) {\n setIsFormDirty(true);\n break;\n }\n }\n }\n } else {\n setIsFormDirty(true);\n }\n };\n\n const genStateObj = (key: string, value: ValueType) => ({\n value,\n onChange: (newValue: ValueType | null | undefined) => {\n // this fixes CAC-2228 where setIsFormDirty was triggering true after clicking into the definition tab for picklist attributes.\n // this prevents the initial render from triggering true, but is not an ideal/long-term fix\n // isFormDirty is a cheap unsaved changes check- a better solution would be to compare initial vs current form values for changes\n // instead of just checking for any change. this does not reset to false if the changes are changed back to initial values\n handleDirty(value, newValue);\n return dispatch({\n type: 'ON_CHANGE',\n payload: {\n key,\n value: newValue\n }\n });\n },\n onChangeEvent: (e) => {\n setIsFormDirty(true);\n return dispatch({\n type: 'ON_CHANGE',\n payload: {\n key,\n value: e.target.value as ValueType\n }\n });\n }\n });\n const [formState, dispatch] = useReducer((state, action) => {\n switch (action.type) {\n case 'ON_CHANGE': {\n return {\n ...state,\n [action.payload.key]: genStateObj(\n action.payload.key,\n action.payload.value\n )\n };\n }\n case 'INIT': {\n setIsFormDirty(false);\n return Object.fromEntries(\n Object.entries(action.payload).map(([key, value]) => [\n key,\n genStateObj(key, value)\n ])\n );\n }\n }\n }, {}) as [\n {\n [K in keyof MappedData]: {\n // eslint-disable-next-line no-use-before-define\n value: MappedData[K] | undefined;\n // eslint-disable-next-line no-use-before-define\n onChange: (newValue: MappedData[K] | undefined) => void;\n onChangeEvent: (e: any) => void;\n };\n },\n (action: any) => void\n ];\n\n const initForm = useCallback(\n (initObject: Partial) =>\n dispatch({\n type: 'INIT',\n payload: initObject\n }),\n []\n );\n\n return [formState, initForm, isFormDirty] as const;\n}\n\nexport function useCrudForm(\n mapDataToForm: () => MappedData\n) {\n const [formState, init, isFormDirty] = useFormState();\n\n const resetForm = useCallback(\n () => init(mapDataToForm()),\n [init, mapDataToForm]\n );\n\n useEffect(() => {\n resetForm();\n }, [resetForm]);\n\n return {\n formState,\n resetForm,\n isFormDirty\n } as const;\n}\n","/**\n * A utility for evaluating the JS nullish coalescing operator (??) as a conditional.\n * Built to be chained with further checks.\n */\nexport function isNullish(\n value: unknown,\n additionalChecks: T[] = []\n): value is null | undefined | T {\n return [null, undefined, ...additionalChecks].some((val) => val === value);\n}\n/**\n * A utility for evaluating nullish values for filters, where empty string is also\n * nullish.\n * Built to be chained with further checks.\n */\nexport const isNullishFilterValue = (\n filterValue: any,\n additionalChecks: any[] = []\n) => {\n return isNullish(filterValue, ['', ...additionalChecks]);\n};\n","import { useEffect } from 'react';\nimport { getUserUUID, getMixpanelInfo } from '../auth/keycloakSelectors';\nimport { useAccountData } from '../account/hooks';\nimport mixpanel from 'mixpanel-browser';\nimport timber from '../timber/macro';\nimport { getCurrentLocale } from '../translations/configure-locale';\n\nexport function useInitMixpanel() {\n const { isLoading, account } = useAccountData();\n\n useEffect(() => {\n if (!isLoading && account?.id) {\n timber.debug('Setting up mixpanel session');\n\n try {\n const { superPropertyPayload, mixpanelPayload } = getMixpanelInfo({\n tenantId: account?.id\n });\n\n // This is where we set the Super Properties on the Mixpanel instance,\n // which associates this user with the events tracked in this session.\n mixpanel.register(superPropertyPayload);\n\n mixpanel.identify(getUserUUID());\n mixpanel.people.set_once('New Session - First', new Date());\n mixpanel.people.set('New Session - Last', new Date());\n mixpanel.people.increment('New Session - Count', 1);\n mixpanel.people.set(\n 'Is Docufai User',\n superPropertyPayload['Is Docufai User']\n );\n const locale = getCurrentLocale(); // this couldn't be added in getMixpanelInfo because it caused storybook builds to fail due to importing the locale config file\n\n // Next, the usual tracking.\n track('New Session', { ...mixpanelPayload, Language: locale });\n } catch (e) {\n timber.error('Error setting up mixpanel session: ', e);\n }\n }\n }, [account?.id, isLoading]);\n}\n\nexport function track(event: string, payload?: object) {\n try {\n const eventPayload = {\n ...payload,\n $distinct_id: getUserUUID()\n };\n if (!!sessionStorage.getItem('logDontTrack')) {\n timber.info('Mixpanel Event: ', event, eventPayload);\n } else {\n mixpanel.track(event, eventPayload);\n }\n } catch (e) {\n timber.error('Error tracking mixpanel event: ', e);\n }\n}\n\n/**\n * Calling this function from the browser console will store a session variable to log all\n * tracking instead of sending it to Mixpanel for easy development.\n *\n * It will persist through a refresh, but if you fully close the tab and open a new one it should have a new session and go back to normal tracking.\n */\nglobal.logDontTrack = function () {\n timber.warn(\n 'Mixpanel disabled for this browser session, logging events to console instead.'\n );\n sessionStorage.setItem('logDontTrack', 'true');\n};\n\nexport { mixpanel as mixpanelObj };\n","import { useEffect, type ReactNode } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport timber from '../timber/macro';\nimport { RipcordError } from '../errors';\n\nexport type PossiblePostMessagePayloads =\n | {\n type: 'readyForHydration';\n }\n | {\n type: 'hydrate';\n state: unknown;\n };\n\nexport default function openInNewTab({\n pathname,\n search,\n hash,\n state\n}: {\n pathname: string;\n search?: string;\n hash?: string;\n state?: unknown;\n}) {\n return new Promise((resolve, reject) => {\n const timeout = setTimeout(() => {\n window.removeEventListener('message', handler);\n reject(\n new RipcordError({\n message: 'timed out trying to send data to the new tab'\n })\n );\n }, 15000);\n\n const handler = (event: MessageEvent) => {\n if (\n event.source === newTabWindow &&\n event.data.type === 'readyForHydration'\n ) {\n newTabWindow?.postMessage(\n {\n type: 'hydrate',\n state\n },\n window.origin\n );\n window.removeEventListener('message', handler);\n clearTimeout(timeout);\n resolve();\n }\n };\n\n window.addEventListener('message', handler);\n\n const newTabWindow = window.open(\n `${pathname}${search ?? ''}${hash ?? ''}`,\n '_blank'\n );\n });\n}\n\nexport type Props = {\n children: ReactNode;\n};\nexport function HydrateRouterStateProvider({ children }: Props) {\n const history = useHistory();\n\n useEffect(() => {\n const handlePostMessage = (\n event: MessageEvent\n ) => {\n if (\n event.source === window.opener &&\n event.data?.type === 'hydrate' &&\n event.data?.state\n ) {\n timber.debug(\n 'Hydrating the react-router-dom state with data from postmessage...'\n );\n history.replace(\n history.location,\n event.data?.state ?? history.location.state ?? {}\n );\n }\n };\n\n if (window.opener) {\n window.addEventListener('message', handlePostMessage);\n\n // announce to the parent (if we have one) that we are ready to receive the data\n window.opener.postMessage(\n {\n type: 'readyForHydration'\n },\n window.origin\n );\n }\n return () => {\n window.removeEventListener('message', handlePostMessage);\n };\n }, [history]);\n\n return children;\n}\n","import { find } from 'lodash';\n\nimport type {\n CATEGORIES,\n PossibleKnownObjectLinks,\n PossibleKnownRenditionTypes,\n PossibleRenditionLinks\n} from '../../constants';\nimport type {\n OMSCompositeRenditionAttributes,\n OMSObject,\n OMSRendition\n} from '../../oms/tsTypes';\n\nimport {\n LOCAL_DEV_URL,\n RENDITION_LINKS,\n SPECIAL_RENDITION_MIME_TYPES\n} from '../../constants';\n\n/**\n * Grabs the MIME type from the OMS object\n * @param {object} omsObject object from OMS\n * @param {string} renditionType see src/constants/RENDITION_TYPES\n * @returns string MIME type if found, falsey otherwise\n */\nexport const getRenditionMimeType = (\n omsObject: Pick, 'renditions'>,\n renditionType?: PossibleKnownRenditionTypes,\n onlyReturnSpecifiedRendition?: boolean\n) => {\n const rendition = getRenditionObject(\n omsObject,\n renditionType,\n onlyReturnSpecifiedRendition\n );\n return rendition?.mimeType;\n};\n\n/**\n * Grabs the href from the _links object in an OMS object\n * Dives into a specific rendition if one is specified\n * @param {object} omsObject object from OMS\n * @param {string} linkType see src/constants/RENDITION_LINKS\n * @param {string} renditionType see src/constants/RENDITION_TYPES\n * @returns string href if link found, falsey otherwise\n */\nexport function getLinkFromOmsObject(\n omsObject: Pick | null | undefined,\n linkType: PossibleKnownObjectLinks | null | undefined\n) {\n if (!omsObject || !linkType) {\n return null;\n }\n\n return omsObject?._links?.[linkType]?.href;\n}\n\nexport function getLinkFromRenditionObject(\n rendition: OMSRendition | null,\n linkType: PossibleRenditionLinks\n) {\n if (\n window.location.hostname === LOCAL_DEV_URL &&\n [RENDITION_LINKS.DOWNLOAD, RENDITION_LINKS.PRINT].includes(linkType)\n ) {\n return rendition?.contentId\n ? `${window.location.origin}/content-storage-service/api/v1/contents/${rendition?.contentId}`\n : null;\n } else {\n return rendition?._links?.[linkType]?.href;\n }\n}\n\n/**\n * A function to get an href from a _link on any object\n * should automatically replace the url with the local one if runnning on localhost\n */\nexport function getLinkFromAnythingWorksLocally(\n object: { _links: Record },\n linkType: string\n) {\n const href = object?._links?.[linkType]?.href;\n if (window.location.hostname === LOCAL_DEV_URL && !!href) {\n const url = new URL(href);\n url.hostname = window.location.hostname;\n url.port = window.location.port;\n url.protocol = window.location.protocol;\n return url.toString();\n } else {\n return href;\n }\n}\n\n/**\n * Gets a rendition off an omsObject\n * @param {object} omsObject object from OMS\n * @param {string} renditionType see src/constants/RENDITION_TYPES\n * @returns {object} rendition object or null\n */\nexport const getRenditionObject = (\n omsObject:\n | Pick, 'renditions'>\n | null\n | undefined,\n renditionType?: PossibleKnownRenditionTypes,\n onlyReturnSpecifiedRendition = false\n) => {\n if (!omsObject?.renditions?.length) {\n return null;\n } else {\n const lcRenditionType = renditionType?.toLowerCase();\n const { renditions } = omsObject;\n\n let specifiedRendition = find(\n renditions,\n (rendition) => lcRenditionType === rendition?.renditionType?.toLowerCase()\n );\n\n const primaryRendition = find(\n renditions,\n (rendition) => rendition.primaryFlag === true\n );\n\n /**\n * We need this for backwards compatibility\n * Some flowable tasks will request specifically the primaryFlag rendition\n */\n if (lcRenditionType === 'primaryflag') {\n specifiedRendition = primaryRendition;\n }\n\n if (renditionType && !specifiedRendition && onlyReturnSpecifiedRendition) {\n return null;\n }\n\n return specifiedRendition ?? primaryRendition ?? renditions[0];\n }\n};\n\nexport const splitCompositeRenditions = (\n omsObject: OMSObject,\n compositeRenditionType: PossibleKnownRenditionTypes,\n onlyReturnSpecifiedRendition = false\n) => {\n const compositeRendition: OMSRendition | null =\n getRenditionObject(\n omsObject,\n compositeRenditionType,\n onlyReturnSpecifiedRendition\n );\n\n return {\n imageRendition: getRenditionObject(\n omsObject,\n // find the first rendition that is not a DTL, as it must be an image\n compositeRendition?.attributes?.renditions?.find(\n (renditionName) =>\n getRenditionMimeType(omsObject, renditionName, true) !==\n SPECIAL_RENDITION_MIME_TYPES.DTL\n ),\n true\n ),\n dtlRendition: getRenditionObject(\n omsObject,\n // find the first rendition that IS a DTL\n compositeRendition?.attributes?.renditions?.find(\n (renditionName) =>\n getRenditionMimeType(omsObject, renditionName, true) ===\n SPECIAL_RENDITION_MIME_TYPES.DTL\n ),\n true\n )\n };\n};\n","/* eslint-disable @typescript-eslint/no-restricted-imports */\nimport {\n generatePath as generatePathRRD,\n Redirect as RedirectRRD,\n Route as RouteRRD,\n Switch as SwitchRRD\n} from 'react-router-dom';\n\nimport type { ComponentType } from 'react';\nimport type {\n generatePath as generatePathType,\n RedirectProps,\n RouteProps,\n SwitchProps\n} from '../generatedTsTypes/React-Router-Dom';\n\nimport { ERR_404_ROUTE as AC_ERR_404_ROUTE } from '../app/admin-console/routes';\nimport { ERR_404_ROUTE as CANOPY_ERR_404_ROUTE } from '../app/canopy/routes';\n\n// Whenever we are creating a link, we should use the `generatePath` function and one of the route\n// constants to build the link programmatically. See https://v5.reactrouter.com/web/api/generatePath\n// export it here to fix the type so it's not any\nexport const generatePath = generatePathRRD as typeof generatePathType;\n\nexport const Redirect = RedirectRRD as ComponentType;\nexport const Route = RouteRRD as ComponentType;\nexport const Switch = SwitchRRD as ComponentType;\n\n/**\n * This has to be a function that exports the variables to avoid circular dependencies. Otherwise it tries to use the route before they're fully defined\n */\nexport const getUniversal404Route = () =>\n process.env.APP_NAME === 'canopy' ? CANOPY_ERR_404_ROUTE : AC_ERR_404_ROUTE;\n","// eslint-disable-next-line deprecate/import\nimport builder from '@rsql/builder';\n\nimport type { ComparisonNode, ExpressionNode, LogicNode } from '@rsql/ast';\n\n/*\n This file is used to combine the default operators available from @rsql/builder\n and our custom operators (such as ILIKE)\n */\nexport const ILIKE = '=ilike=';\nexport const UNILIKE = '=unilike=';\nexport const LIKE = '=like=';\nexport const UNLIKE = '=unlike=';\nexport const SEQ = '=seq=';\nexport const SNE = '=sne=';\nexport const SIN = '=sin=';\nexport const SOUT = '=sout=';\n\nexport default {\n ...builder,\n /**\n * A \"safer\" version of or that will ignore any nodes which are undefined.\n * If there is only one node left, it'll just be passed through unchanged.\n * If no nodes are left, this will return undefined itself.\n **/\n maybeOr(...nodes: Array) {\n const filteredNodes = nodes.filter(\n (node) => node != null\n ) as ExpressionNode[];\n\n if (filteredNodes.length === 0) {\n return undefined;\n } else {\n return builder.or(...filteredNodes);\n }\n },\n /**\n * A \"safer\" version of and that will ignore any nodes which are undefined.\n * If there is only one node left, it'll just be passed through unchanged.\n * If no nodes are left, this will return undefined itself.\n **/\n maybeAnd(...nodes: Array) {\n const filteredNodes = nodes.filter(\n (node) => node != null\n ) as ExpressionNode[];\n\n if (filteredNodes.length === 0) {\n return undefined;\n } else {\n return builder.and(...filteredNodes);\n }\n },\n /** a \"frontend only\" operator that adds wildcards around the value before building it */\n icontains(selector: string, value: string) {\n const formattedValue = `*${value}*`;\n return builder.comparison(selector, ILIKE, formattedValue);\n },\n ilike(selector: string, value: string) {\n return builder.comparison(selector, ILIKE, value);\n },\n unilike(selector: string, value: string) {\n return builder.comparison(selector, UNILIKE, value);\n },\n like(selector: string, value: string) {\n return builder.comparison(selector, LIKE, value);\n },\n unlike(selector: string, value: string) {\n return builder.comparison(selector, UNLIKE, value);\n },\n seq(selector: 'type', value: string) {\n return builder.comparison(selector, SEQ, value);\n },\n sne(selector: 'type', value: string) {\n return builder.comparison(selector, SNE, value);\n },\n sin(selector: 'type', values: Array) {\n return builder.comparison(selector, SIN, values);\n },\n sout(selector: 'type', values: Array) {\n return builder.comparison(selector, SOUT, values);\n }\n};\n","var map = {\n\t\"./en.js\": [\n\t\t27790,\n\t\t92458,\n\t\t27790\n\t],\n\t\"./fr.js\": [\n\t\t70841,\n\t\t92458,\n\t\t70841\n\t],\n\t\"./ja.js\": [\n\t\t28365,\n\t\t92458,\n\t\t28365\n\t],\n\t\"./zh_TW.js\": [\n\t\t73001,\n\t\t92458,\n\t\t73001\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(() => {\n\t\treturn __webpack_require__.t(id, 7 | 16);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 84690;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./_lib/buildFormatLongFn/index.js\": [\n\t\t20289,\n\t\t7,\n\t\t20289\n\t],\n\t\"./_lib/buildLocalizeFn/index.js\": [\n\t\t16245,\n\t\t7,\n\t\t16245\n\t],\n\t\"./_lib/buildMatchFn/index.js\": [\n\t\t43421,\n\t\t7,\n\t\t43421\n\t],\n\t\"./_lib/buildMatchPatternFn/index.js\": [\n\t\t78926,\n\t\t7,\n\t\t78926\n\t],\n\t\"./af/_lib/formatDistance/index.js\": [\n\t\t41146,\n\t\t7,\n\t\t41146\n\t],\n\t\"./af/_lib/formatLong/index.js\": [\n\t\t60358,\n\t\t7,\n\t\t60358\n\t],\n\t\"./af/_lib/formatRelative/index.js\": [\n\t\t31310,\n\t\t7,\n\t\t31310\n\t],\n\t\"./af/_lib/localize/index.js\": [\n\t\t82714,\n\t\t7,\n\t\t82714\n\t],\n\t\"./af/_lib/match/index.js\": [\n\t\t33185,\n\t\t7,\n\t\t33185\n\t],\n\t\"./af/index.js\": [\n\t\t74156,\n\t\t7,\n\t\t74156\n\t],\n\t\"./ar-DZ/_lib/formatDistance/index.js\": [\n\t\t10258,\n\t\t7,\n\t\t10258\n\t],\n\t\"./ar-DZ/_lib/formatLong/index.js\": [\n\t\t38384,\n\t\t7,\n\t\t38384\n\t],\n\t\"./ar-DZ/_lib/formatRelative/index.js\": [\n\t\t12923,\n\t\t7,\n\t\t12923\n\t],\n\t\"./ar-DZ/_lib/localize/index.js\": [\n\t\t50996,\n\t\t7,\n\t\t50996\n\t],\n\t\"./ar-DZ/_lib/match/index.js\": [\n\t\t53463,\n\t\t7,\n\t\t53463\n\t],\n\t\"./ar-DZ/index.js\": [\n\t\t79307,\n\t\t7,\n\t\t79307\n\t],\n\t\"./ar-EG/_lib/formatDistance/index.js\": [\n\t\t70405,\n\t\t7,\n\t\t70405\n\t],\n\t\"./ar-EG/_lib/formatLong/index.js\": [\n\t\t59137,\n\t\t7,\n\t\t59137\n\t],\n\t\"./ar-EG/_lib/formatRelative/index.js\": [\n\t\t19798,\n\t\t7,\n\t\t19798\n\t],\n\t\"./ar-EG/_lib/localize/index.js\": [\n\t\t20303,\n\t\t7,\n\t\t20303\n\t],\n\t\"./ar-EG/_lib/match/index.js\": [\n\t\t2527,\n\t\t7,\n\t\t2527\n\t],\n\t\"./ar-EG/index.js\": [\n\t\t56379,\n\t\t7,\n\t\t56379\n\t],\n\t\"./ar-MA/_lib/formatDistance/index.js\": [\n\t\t56716,\n\t\t7,\n\t\t56716\n\t],\n\t\"./ar-MA/_lib/formatLong/index.js\": [\n\t\t92086,\n\t\t7,\n\t\t92086\n\t],\n\t\"./ar-MA/_lib/formatRelative/index.js\": [\n\t\t79302,\n\t\t7,\n\t\t79302\n\t],\n\t\"./ar-MA/_lib/localize/index.js\": [\n\t\t89105,\n\t\t7,\n\t\t89105\n\t],\n\t\"./ar-MA/_lib/match/index.js\": [\n\t\t18092,\n\t\t7,\n\t\t18092\n\t],\n\t\"./ar-MA/index.js\": [\n\t\t22739,\n\t\t7,\n\t\t22739\n\t],\n\t\"./ar-SA/_lib/formatDistance/index.js\": [\n\t\t56224,\n\t\t7,\n\t\t56224\n\t],\n\t\"./ar-SA/_lib/formatLong/index.js\": [\n\t\t22041,\n\t\t7,\n\t\t22041\n\t],\n\t\"./ar-SA/_lib/formatRelative/index.js\": [\n\t\t90046,\n\t\t7,\n\t\t90046\n\t],\n\t\"./ar-SA/_lib/localize/index.js\": [\n\t\t16274,\n\t\t7,\n\t\t16274\n\t],\n\t\"./ar-SA/_lib/match/index.js\": [\n\t\t7161,\n\t\t7,\n\t\t7161\n\t],\n\t\"./ar-SA/index.js\": [\n\t\t51730,\n\t\t7,\n\t\t51730\n\t],\n\t\"./ar-TN/_lib/formatDistance/index.js\": [\n\t\t98818,\n\t\t7,\n\t\t98818\n\t],\n\t\"./ar-TN/_lib/formatLong/index.js\": [\n\t\t19048,\n\t\t7,\n\t\t19048\n\t],\n\t\"./ar-TN/_lib/formatRelative/index.js\": [\n\t\t30005,\n\t\t7,\n\t\t30005\n\t],\n\t\"./ar-TN/_lib/localize/index.js\": [\n\t\t7649,\n\t\t7,\n\t\t7649\n\t],\n\t\"./ar-TN/_lib/match/index.js\": [\n\t\t34357,\n\t\t7,\n\t\t34357\n\t],\n\t\"./ar-TN/index.js\": [\n\t\t37650,\n\t\t7,\n\t\t37650\n\t],\n\t\"./ar/_lib/formatDistance/index.js\": [\n\t\t29226,\n\t\t7,\n\t\t29226\n\t],\n\t\"./ar/_lib/formatLong/index.js\": [\n\t\t45604,\n\t\t7,\n\t\t45604\n\t],\n\t\"./ar/_lib/formatRelative/index.js\": [\n\t\t77237,\n\t\t7,\n\t\t77237\n\t],\n\t\"./ar/_lib/localize/index.js\": [\n\t\t72890,\n\t\t7,\n\t\t72890\n\t],\n\t\"./ar/_lib/match/index.js\": [\n\t\t53372,\n\t\t7,\n\t\t53372\n\t],\n\t\"./ar/index.js\": [\n\t\t18137,\n\t\t7,\n\t\t18137\n\t],\n\t\"./az/_lib/formatDistance/index.js\": [\n\t\t67580,\n\t\t7,\n\t\t67580\n\t],\n\t\"./az/_lib/formatLong/index.js\": [\n\t\t3381,\n\t\t7,\n\t\t3381\n\t],\n\t\"./az/_lib/formatRelative/index.js\": [\n\t\t5895,\n\t\t7,\n\t\t5895\n\t],\n\t\"./az/_lib/localize/index.js\": [\n\t\t79557,\n\t\t7,\n\t\t79557\n\t],\n\t\"./az/_lib/match/index.js\": [\n\t\t74390,\n\t\t7,\n\t\t74390\n\t],\n\t\"./az/index.js\": [\n\t\t77356,\n\t\t7,\n\t\t77356\n\t],\n\t\"./be-tarask/_lib/formatDistance/index.js\": [\n\t\t45515,\n\t\t7,\n\t\t45515\n\t],\n\t\"./be-tarask/_lib/formatLong/index.js\": [\n\t\t49505,\n\t\t7,\n\t\t49505\n\t],\n\t\"./be-tarask/_lib/formatRelative/index.js\": [\n\t\t37233,\n\t\t7,\n\t\t55827,\n\t\t37233\n\t],\n\t\"./be-tarask/_lib/localize/index.js\": [\n\t\t22623,\n\t\t7,\n\t\t22623\n\t],\n\t\"./be-tarask/_lib/match/index.js\": [\n\t\t96427,\n\t\t7,\n\t\t96427\n\t],\n\t\"./be-tarask/index.js\": [\n\t\t53336,\n\t\t7,\n\t\t55827,\n\t\t53336\n\t],\n\t\"./be/_lib/formatDistance/index.js\": [\n\t\t66236,\n\t\t7,\n\t\t66236\n\t],\n\t\"./be/_lib/formatLong/index.js\": [\n\t\t87682,\n\t\t7,\n\t\t87682\n\t],\n\t\"./be/_lib/formatRelative/index.js\": [\n\t\t28206,\n\t\t7,\n\t\t55827,\n\t\t28206\n\t],\n\t\"./be/_lib/localize/index.js\": [\n\t\t13533,\n\t\t7,\n\t\t13533\n\t],\n\t\"./be/_lib/match/index.js\": [\n\t\t71682,\n\t\t7,\n\t\t71682\n\t],\n\t\"./be/index.js\": [\n\t\t9624,\n\t\t7,\n\t\t55827,\n\t\t9624\n\t],\n\t\"./bg/_lib/formatDistance/index.js\": [\n\t\t79681,\n\t\t7,\n\t\t79681\n\t],\n\t\"./bg/_lib/formatLong/index.js\": [\n\t\t45930,\n\t\t7,\n\t\t45930\n\t],\n\t\"./bg/_lib/formatRelative/index.js\": [\n\t\t21185,\n\t\t7,\n\t\t21185\n\t],\n\t\"./bg/_lib/localize/index.js\": [\n\t\t91641,\n\t\t7,\n\t\t91641\n\t],\n\t\"./bg/_lib/match/index.js\": [\n\t\t45152,\n\t\t7,\n\t\t45152\n\t],\n\t\"./bg/index.js\": [\n\t\t94719,\n\t\t7,\n\t\t94719\n\t],\n\t\"./bn/_lib/formatDistance/index.js\": [\n\t\t67835,\n\t\t7,\n\t\t67835\n\t],\n\t\"./bn/_lib/formatLong/index.js\": [\n\t\t32076,\n\t\t7,\n\t\t32076\n\t],\n\t\"./bn/_lib/formatRelative/index.js\": [\n\t\t36520,\n\t\t7,\n\t\t36520\n\t],\n\t\"./bn/_lib/localize/index.js\": [\n\t\t12674,\n\t\t9,\n\t\t12674\n\t],\n\t\"./bn/_lib/match/index.js\": [\n\t\t35920,\n\t\t7,\n\t\t35920\n\t],\n\t\"./bn/index.js\": [\n\t\t82182,\n\t\t7,\n\t\t82182\n\t],\n\t\"./bs/_lib/formatDistance/index.js\": [\n\t\t95963,\n\t\t7,\n\t\t95963\n\t],\n\t\"./bs/_lib/formatLong/index.js\": [\n\t\t25711,\n\t\t7,\n\t\t25711\n\t],\n\t\"./bs/_lib/formatRelative/index.js\": [\n\t\t44374,\n\t\t7,\n\t\t44374\n\t],\n\t\"./bs/_lib/localize/index.js\": [\n\t\t28113,\n\t\t7,\n\t\t28113\n\t],\n\t\"./bs/_lib/match/index.js\": [\n\t\t69866,\n\t\t7,\n\t\t69866\n\t],\n\t\"./bs/index.js\": [\n\t\t32181,\n\t\t7,\n\t\t32181\n\t],\n\t\"./ca/_lib/formatDistance/index.js\": [\n\t\t49280,\n\t\t7,\n\t\t49280\n\t],\n\t\"./ca/_lib/formatLong/index.js\": [\n\t\t16686,\n\t\t7,\n\t\t16686\n\t],\n\t\"./ca/_lib/formatRelative/index.js\": [\n\t\t54470,\n\t\t7,\n\t\t54470\n\t],\n\t\"./ca/_lib/localize/index.js\": [\n\t\t50683,\n\t\t7,\n\t\t50683\n\t],\n\t\"./ca/_lib/match/index.js\": [\n\t\t73146,\n\t\t7,\n\t\t73146\n\t],\n\t\"./ca/index.js\": [\n\t\t44732,\n\t\t7,\n\t\t44732\n\t],\n\t\"./cs/_lib/formatDistance/index.js\": [\n\t\t79434,\n\t\t7,\n\t\t79434\n\t],\n\t\"./cs/_lib/formatLong/index.js\": [\n\t\t18336,\n\t\t7,\n\t\t18336\n\t],\n\t\"./cs/_lib/formatRelative/index.js\": [\n\t\t3003,\n\t\t7,\n\t\t3003\n\t],\n\t\"./cs/_lib/localize/index.js\": [\n\t\t48793,\n\t\t7,\n\t\t48793\n\t],\n\t\"./cs/_lib/match/index.js\": [\n\t\t63626,\n\t\t7,\n\t\t63626\n\t],\n\t\"./cs/index.js\": [\n\t\t76105,\n\t\t7,\n\t\t76105\n\t],\n\t\"./cy/_lib/formatDistance/index.js\": [\n\t\t90305,\n\t\t7,\n\t\t90305\n\t],\n\t\"./cy/_lib/formatLong/index.js\": [\n\t\t32132,\n\t\t7,\n\t\t32132\n\t],\n\t\"./cy/_lib/formatRelative/index.js\": [\n\t\t68527,\n\t\t7,\n\t\t68527\n\t],\n\t\"./cy/_lib/localize/index.js\": [\n\t\t17863,\n\t\t7,\n\t\t17863\n\t],\n\t\"./cy/_lib/match/index.js\": [\n\t\t53494,\n\t\t7,\n\t\t53494\n\t],\n\t\"./cy/index.js\": [\n\t\t96227,\n\t\t7,\n\t\t96227\n\t],\n\t\"./da/_lib/formatDistance/index.js\": [\n\t\t96569,\n\t\t7,\n\t\t96569\n\t],\n\t\"./da/_lib/formatLong/index.js\": [\n\t\t20658,\n\t\t7,\n\t\t20658\n\t],\n\t\"./da/_lib/formatRelative/index.js\": [\n\t\t31002,\n\t\t7,\n\t\t31002\n\t],\n\t\"./da/_lib/localize/index.js\": [\n\t\t55578,\n\t\t7,\n\t\t55578\n\t],\n\t\"./da/_lib/match/index.js\": [\n\t\t3393,\n\t\t7,\n\t\t3393\n\t],\n\t\"./da/index.js\": [\n\t\t80925,\n\t\t7,\n\t\t80925\n\t],\n\t\"./de-AT/_lib/localize/index.js\": [\n\t\t56443,\n\t\t7,\n\t\t56443\n\t],\n\t\"./de-AT/index.js\": [\n\t\t73210,\n\t\t7,\n\t\t73210\n\t],\n\t\"./de/_lib/formatDistance/index.js\": [\n\t\t82376,\n\t\t7,\n\t\t82376\n\t],\n\t\"./de/_lib/formatLong/index.js\": [\n\t\t6749,\n\t\t7,\n\t\t6749\n\t],\n\t\"./de/_lib/formatRelative/index.js\": [\n\t\t91805,\n\t\t7,\n\t\t91805\n\t],\n\t\"./de/_lib/localize/index.js\": [\n\t\t56105,\n\t\t7,\n\t\t56105\n\t],\n\t\"./de/_lib/match/index.js\": [\n\t\t83996,\n\t\t7,\n\t\t83996\n\t],\n\t\"./de/index.js\": [\n\t\t76119,\n\t\t7,\n\t\t76119\n\t],\n\t\"./el/_lib/formatDistance/index.js\": [\n\t\t96170,\n\t\t7,\n\t\t96170\n\t],\n\t\"./el/_lib/formatLong/index.js\": [\n\t\t22761,\n\t\t7,\n\t\t22761\n\t],\n\t\"./el/_lib/formatRelative/index.js\": [\n\t\t5093,\n\t\t7,\n\t\t5093\n\t],\n\t\"./el/_lib/localize/index.js\": [\n\t\t79919,\n\t\t7,\n\t\t79919\n\t],\n\t\"./el/_lib/match/index.js\": [\n\t\t20320,\n\t\t7,\n\t\t20320\n\t],\n\t\"./el/index.js\": [\n\t\t71511,\n\t\t7,\n\t\t71511\n\t],\n\t\"./en-AU/_lib/formatLong/index.js\": [\n\t\t47483,\n\t\t7,\n\t\t47483\n\t],\n\t\"./en-AU/index.js\": [\n\t\t51971,\n\t\t7,\n\t\t51971\n\t],\n\t\"./en-CA/_lib/formatDistance/index.js\": [\n\t\t16925,\n\t\t7,\n\t\t16925\n\t],\n\t\"./en-CA/_lib/formatLong/index.js\": [\n\t\t17156,\n\t\t7,\n\t\t17156\n\t],\n\t\"./en-CA/index.js\": [\n\t\t23654,\n\t\t7,\n\t\t23654\n\t],\n\t\"./en-GB/_lib/formatLong/index.js\": [\n\t\t90125,\n\t\t7,\n\t\t90125\n\t],\n\t\"./en-GB/index.js\": [\n\t\t22709,\n\t\t7,\n\t\t22709\n\t],\n\t\"./en-IE/index.js\": [\n\t\t84511,\n\t\t7,\n\t\t84511\n\t],\n\t\"./en-IN/_lib/formatLong/index.js\": [\n\t\t44649,\n\t\t7,\n\t\t44649\n\t],\n\t\"./en-IN/index.js\": [\n\t\t56635,\n\t\t7,\n\t\t56635\n\t],\n\t\"./en-NZ/_lib/formatLong/index.js\": [\n\t\t88738,\n\t\t7,\n\t\t88738\n\t],\n\t\"./en-NZ/index.js\": [\n\t\t3557,\n\t\t7,\n\t\t3557\n\t],\n\t\"./en-US/_lib/formatDistance/index.js\": [\n\t\t71924,\n\t\t7,\n\t\t71924\n\t],\n\t\"./en-US/_lib/formatLong/index.js\": [\n\t\t76469,\n\t\t7,\n\t\t95062\n\t],\n\t\"./en-US/_lib/formatRelative/index.js\": [\n\t\t5102,\n\t\t7,\n\t\t5102\n\t],\n\t\"./en-US/_lib/localize/index.js\": [\n\t\t87839,\n\t\t7,\n\t\t87839\n\t],\n\t\"./en-US/_lib/match/index.js\": [\n\t\t9796,\n\t\t7,\n\t\t9796\n\t],\n\t\"./en-US/index.js\": [\n\t\t82512,\n\t\t7,\n\t\t82512\n\t],\n\t\"./en-ZA/_lib/formatLong/index.js\": [\n\t\t12820,\n\t\t7,\n\t\t12820\n\t],\n\t\"./en-ZA/index.js\": [\n\t\t55585,\n\t\t7,\n\t\t55585\n\t],\n\t\"./eo/_lib/formatDistance/index.js\": [\n\t\t60509,\n\t\t7,\n\t\t60509\n\t],\n\t\"./eo/_lib/formatLong/index.js\": [\n\t\t61709,\n\t\t7,\n\t\t61709\n\t],\n\t\"./eo/_lib/formatRelative/index.js\": [\n\t\t76297,\n\t\t7,\n\t\t76297\n\t],\n\t\"./eo/_lib/localize/index.js\": [\n\t\t83419,\n\t\t7,\n\t\t83419\n\t],\n\t\"./eo/_lib/match/index.js\": [\n\t\t66460,\n\t\t7,\n\t\t66460\n\t],\n\t\"./eo/index.js\": [\n\t\t46050,\n\t\t7,\n\t\t46050\n\t],\n\t\"./es/_lib/formatDistance/index.js\": [\n\t\t17308,\n\t\t7,\n\t\t17308\n\t],\n\t\"./es/_lib/formatLong/index.js\": [\n\t\t19983,\n\t\t7,\n\t\t19983\n\t],\n\t\"./es/_lib/formatRelative/index.js\": [\n\t\t54011,\n\t\t7,\n\t\t54011\n\t],\n\t\"./es/_lib/localize/index.js\": [\n\t\t389,\n\t\t7,\n\t\t389\n\t],\n\t\"./es/_lib/match/index.js\": [\n\t\t71365,\n\t\t7,\n\t\t71365\n\t],\n\t\"./es/index.js\": [\n\t\t19962,\n\t\t7,\n\t\t19962\n\t],\n\t\"./et/_lib/formatDistance/index.js\": [\n\t\t37961,\n\t\t7,\n\t\t37961\n\t],\n\t\"./et/_lib/formatLong/index.js\": [\n\t\t50363,\n\t\t7,\n\t\t50363\n\t],\n\t\"./et/_lib/formatRelative/index.js\": [\n\t\t87335,\n\t\t7,\n\t\t87335\n\t],\n\t\"./et/_lib/localize/index.js\": [\n\t\t50794,\n\t\t7,\n\t\t50794\n\t],\n\t\"./et/_lib/match/index.js\": [\n\t\t60084,\n\t\t7,\n\t\t60084\n\t],\n\t\"./et/index.js\": [\n\t\t58170,\n\t\t7,\n\t\t58170\n\t],\n\t\"./eu/_lib/formatDistance/index.js\": [\n\t\t85454,\n\t\t7,\n\t\t85454\n\t],\n\t\"./eu/_lib/formatLong/index.js\": [\n\t\t56183,\n\t\t7,\n\t\t56183\n\t],\n\t\"./eu/_lib/formatRelative/index.js\": [\n\t\t94237,\n\t\t7,\n\t\t94237\n\t],\n\t\"./eu/_lib/localize/index.js\": [\n\t\t5966,\n\t\t7,\n\t\t5966\n\t],\n\t\"./eu/_lib/match/index.js\": [\n\t\t64402,\n\t\t7,\n\t\t64402\n\t],\n\t\"./eu/index.js\": [\n\t\t9042,\n\t\t7,\n\t\t9042\n\t],\n\t\"./fa-IR/_lib/formatDistance/index.js\": [\n\t\t87201,\n\t\t7,\n\t\t87201\n\t],\n\t\"./fa-IR/_lib/formatLong/index.js\": [\n\t\t81884,\n\t\t7,\n\t\t81884\n\t],\n\t\"./fa-IR/_lib/formatRelative/index.js\": [\n\t\t91912,\n\t\t7,\n\t\t91912\n\t],\n\t\"./fa-IR/_lib/localize/index.js\": [\n\t\t97188,\n\t\t7,\n\t\t97188\n\t],\n\t\"./fa-IR/_lib/match/index.js\": [\n\t\t43043,\n\t\t7,\n\t\t43043\n\t],\n\t\"./fa-IR/index.js\": [\n\t\t13537,\n\t\t7,\n\t\t13537\n\t],\n\t\"./fi/_lib/formatDistance/index.js\": [\n\t\t67380,\n\t\t7,\n\t\t67380\n\t],\n\t\"./fi/_lib/formatLong/index.js\": [\n\t\t99532,\n\t\t7,\n\t\t99532\n\t],\n\t\"./fi/_lib/formatRelative/index.js\": [\n\t\t15561,\n\t\t7,\n\t\t15561\n\t],\n\t\"./fi/_lib/localize/index.js\": [\n\t\t64354,\n\t\t7,\n\t\t61622\n\t],\n\t\"./fi/_lib/match/index.js\": [\n\t\t27530,\n\t\t7,\n\t\t27530\n\t],\n\t\"./fi/index.js\": [\n\t\t95999,\n\t\t7,\n\t\t95999\n\t],\n\t\"./fr-CA/_lib/formatLong/index.js\": [\n\t\t53860,\n\t\t7,\n\t\t53860\n\t],\n\t\"./fr-CA/index.js\": [\n\t\t82580,\n\t\t7,\n\t\t82580\n\t],\n\t\"./fr-CH/_lib/formatLong/index.js\": [\n\t\t96065,\n\t\t7,\n\t\t96065\n\t],\n\t\"./fr-CH/_lib/formatRelative/index.js\": [\n\t\t16372,\n\t\t7,\n\t\t16372\n\t],\n\t\"./fr-CH/index.js\": [\n\t\t89718,\n\t\t7,\n\t\t89718\n\t],\n\t\"./fr/_lib/formatDistance/index.js\": [\n\t\t66522,\n\t\t7,\n\t\t66522\n\t],\n\t\"./fr/_lib/formatLong/index.js\": [\n\t\t34325,\n\t\t7,\n\t\t34325\n\t],\n\t\"./fr/_lib/formatRelative/index.js\": [\n\t\t22162,\n\t\t7,\n\t\t22162\n\t],\n\t\"./fr/_lib/localize/index.js\": [\n\t\t38803,\n\t\t7,\n\t\t38803\n\t],\n\t\"./fr/_lib/match/index.js\": [\n\t\t58213,\n\t\t7,\n\t\t58213\n\t],\n\t\"./fr/index.js\": [\n\t\t63126,\n\t\t7,\n\t\t63126\n\t],\n\t\"./fy/_lib/formatDistance/index.js\": [\n\t\t36945,\n\t\t7,\n\t\t36945\n\t],\n\t\"./fy/_lib/formatLong/index.js\": [\n\t\t84905,\n\t\t7,\n\t\t84905\n\t],\n\t\"./fy/_lib/formatRelative/index.js\": [\n\t\t50776,\n\t\t7,\n\t\t50776\n\t],\n\t\"./fy/_lib/localize/index.js\": [\n\t\t82930,\n\t\t7,\n\t\t82930\n\t],\n\t\"./fy/_lib/match/index.js\": [\n\t\t98756,\n\t\t7,\n\t\t98756\n\t],\n\t\"./fy/index.js\": [\n\t\t8848,\n\t\t7,\n\t\t8848\n\t],\n\t\"./gd/_lib/formatDistance/index.js\": [\n\t\t52646,\n\t\t7,\n\t\t52646\n\t],\n\t\"./gd/_lib/formatLong/index.js\": [\n\t\t88030,\n\t\t7,\n\t\t88030\n\t],\n\t\"./gd/_lib/formatRelative/index.js\": [\n\t\t11398,\n\t\t7,\n\t\t11398\n\t],\n\t\"./gd/_lib/localize/index.js\": [\n\t\t77390,\n\t\t7,\n\t\t77390\n\t],\n\t\"./gd/_lib/match/index.js\": [\n\t\t34044,\n\t\t7,\n\t\t34044\n\t],\n\t\"./gd/index.js\": [\n\t\t93698,\n\t\t7,\n\t\t93698\n\t],\n\t\"./gl/_lib/formatDistance/index.js\": [\n\t\t22523,\n\t\t7,\n\t\t22523\n\t],\n\t\"./gl/_lib/formatLong/index.js\": [\n\t\t75618,\n\t\t7,\n\t\t75618\n\t],\n\t\"./gl/_lib/formatRelative/index.js\": [\n\t\t2698,\n\t\t7,\n\t\t2698\n\t],\n\t\"./gl/_lib/localize/index.js\": [\n\t\t68154,\n\t\t7,\n\t\t68154\n\t],\n\t\"./gl/_lib/match/index.js\": [\n\t\t27475,\n\t\t7,\n\t\t27475\n\t],\n\t\"./gl/index.js\": [\n\t\t68846,\n\t\t7,\n\t\t68846\n\t],\n\t\"./gu/_lib/formatDistance/index.js\": [\n\t\t22933,\n\t\t7,\n\t\t22933\n\t],\n\t\"./gu/_lib/formatLong/index.js\": [\n\t\t82513,\n\t\t7,\n\t\t82513\n\t],\n\t\"./gu/_lib/formatRelative/index.js\": [\n\t\t46840,\n\t\t7,\n\t\t46840\n\t],\n\t\"./gu/_lib/localize/index.js\": [\n\t\t98528,\n\t\t7,\n\t\t98528\n\t],\n\t\"./gu/_lib/match/index.js\": [\n\t\t18201,\n\t\t7,\n\t\t73691\n\t],\n\t\"./gu/index.js\": [\n\t\t56209,\n\t\t7,\n\t\t56209\n\t],\n\t\"./he/_lib/formatDistance/index.js\": [\n\t\t75736,\n\t\t7,\n\t\t75736\n\t],\n\t\"./he/_lib/formatLong/index.js\": [\n\t\t45218,\n\t\t7,\n\t\t45218\n\t],\n\t\"./he/_lib/formatRelative/index.js\": [\n\t\t64125,\n\t\t7,\n\t\t64125\n\t],\n\t\"./he/_lib/localize/index.js\": [\n\t\t20379,\n\t\t7,\n\t\t20379\n\t],\n\t\"./he/_lib/match/index.js\": [\n\t\t15430,\n\t\t7,\n\t\t15430\n\t],\n\t\"./he/index.js\": [\n\t\t16309,\n\t\t7,\n\t\t16309\n\t],\n\t\"./hi/_lib/formatDistance/index.js\": [\n\t\t51734,\n\t\t7,\n\t\t51734\n\t],\n\t\"./hi/_lib/formatLong/index.js\": [\n\t\t78241,\n\t\t7,\n\t\t78241\n\t],\n\t\"./hi/_lib/formatRelative/index.js\": [\n\t\t56683,\n\t\t7,\n\t\t56683\n\t],\n\t\"./hi/_lib/localize/index.js\": [\n\t\t65282,\n\t\t9,\n\t\t65282\n\t],\n\t\"./hi/_lib/match/index.js\": [\n\t\t50248,\n\t\t7,\n\t\t50248\n\t],\n\t\"./hi/index.js\": [\n\t\t37056,\n\t\t7,\n\t\t37056\n\t],\n\t\"./hr/_lib/formatDistance/index.js\": [\n\t\t7792,\n\t\t7,\n\t\t57507\n\t],\n\t\"./hr/_lib/formatLong/index.js\": [\n\t\t77910,\n\t\t7,\n\t\t77910\n\t],\n\t\"./hr/_lib/formatRelative/index.js\": [\n\t\t45339,\n\t\t7,\n\t\t45339\n\t],\n\t\"./hr/_lib/localize/index.js\": [\n\t\t77677,\n\t\t7,\n\t\t77677\n\t],\n\t\"./hr/_lib/match/index.js\": [\n\t\t16436,\n\t\t7,\n\t\t16436\n\t],\n\t\"./hr/index.js\": [\n\t\t97276,\n\t\t7,\n\t\t97276\n\t],\n\t\"./ht/_lib/formatDistance/index.js\": [\n\t\t61245,\n\t\t7,\n\t\t61245\n\t],\n\t\"./ht/_lib/formatLong/index.js\": [\n\t\t67737,\n\t\t7,\n\t\t67737\n\t],\n\t\"./ht/_lib/formatRelative/index.js\": [\n\t\t9752,\n\t\t7,\n\t\t39803\n\t],\n\t\"./ht/_lib/localize/index.js\": [\n\t\t19400,\n\t\t7,\n\t\t19400\n\t],\n\t\"./ht/_lib/match/index.js\": [\n\t\t97695,\n\t\t7,\n\t\t97695\n\t],\n\t\"./ht/index.js\": [\n\t\t55389,\n\t\t7,\n\t\t55389\n\t],\n\t\"./hu/_lib/formatDistance/index.js\": [\n\t\t91898,\n\t\t7,\n\t\t91898\n\t],\n\t\"./hu/_lib/formatLong/index.js\": [\n\t\t19266,\n\t\t7,\n\t\t19266\n\t],\n\t\"./hu/_lib/formatRelative/index.js\": [\n\t\t41544,\n\t\t7,\n\t\t41544\n\t],\n\t\"./hu/_lib/localize/index.js\": [\n\t\t69353,\n\t\t7,\n\t\t69353\n\t],\n\t\"./hu/_lib/match/index.js\": [\n\t\t85370,\n\t\t7,\n\t\t85370\n\t],\n\t\"./hu/index.js\": [\n\t\t79675,\n\t\t7,\n\t\t79675\n\t],\n\t\"./hy/_lib/formatDistance/index.js\": [\n\t\t41839,\n\t\t7,\n\t\t41839\n\t],\n\t\"./hy/_lib/formatLong/index.js\": [\n\t\t45625,\n\t\t7,\n\t\t45625\n\t],\n\t\"./hy/_lib/formatRelative/index.js\": [\n\t\t80528,\n\t\t7,\n\t\t80528\n\t],\n\t\"./hy/_lib/localize/index.js\": [\n\t\t74391,\n\t\t7,\n\t\t74391\n\t],\n\t\"./hy/_lib/match/index.js\": [\n\t\t1824,\n\t\t7,\n\t\t1824\n\t],\n\t\"./hy/index.js\": [\n\t\t74403,\n\t\t7,\n\t\t74403\n\t],\n\t\"./id/_lib/formatDistance/index.js\": [\n\t\t95223,\n\t\t7,\n\t\t95223\n\t],\n\t\"./id/_lib/formatLong/index.js\": [\n\t\t27166,\n\t\t7,\n\t\t27166\n\t],\n\t\"./id/_lib/formatRelative/index.js\": [\n\t\t65673,\n\t\t7,\n\t\t65673\n\t],\n\t\"./id/_lib/localize/index.js\": [\n\t\t98045,\n\t\t7,\n\t\t98045\n\t],\n\t\"./id/_lib/match/index.js\": [\n\t\t10798,\n\t\t7,\n\t\t10798\n\t],\n\t\"./id/index.js\": [\n\t\t51872,\n\t\t7,\n\t\t51872\n\t],\n\t\"./is/_lib/formatDistance/index.js\": [\n\t\t67527,\n\t\t7,\n\t\t67527\n\t],\n\t\"./is/_lib/formatLong/index.js\": [\n\t\t73003,\n\t\t7,\n\t\t73003\n\t],\n\t\"./is/_lib/formatRelative/index.js\": [\n\t\t75440,\n\t\t7,\n\t\t75440\n\t],\n\t\"./is/_lib/localize/index.js\": [\n\t\t53162,\n\t\t7,\n\t\t53162\n\t],\n\t\"./is/_lib/match/index.js\": [\n\t\t75101,\n\t\t7,\n\t\t75101\n\t],\n\t\"./is/index.js\": [\n\t\t28677,\n\t\t7,\n\t\t28677\n\t],\n\t\"./it-CH/_lib/formatLong/index.js\": [\n\t\t98347,\n\t\t7,\n\t\t98347\n\t],\n\t\"./it-CH/index.js\": [\n\t\t12264,\n\t\t7,\n\t\t12264\n\t],\n\t\"./it/_lib/formatDistance/index.js\": [\n\t\t12642,\n\t\t7,\n\t\t12642\n\t],\n\t\"./it/_lib/formatLong/index.js\": [\n\t\t96714,\n\t\t7,\n\t\t96714\n\t],\n\t\"./it/_lib/formatRelative/index.js\": [\n\t\t74501,\n\t\t7,\n\t\t74501\n\t],\n\t\"./it/_lib/localize/index.js\": [\n\t\t82713,\n\t\t7,\n\t\t82713\n\t],\n\t\"./it/_lib/match/index.js\": [\n\t\t37281,\n\t\t7,\n\t\t37281\n\t],\n\t\"./it/index.js\": [\n\t\t59629,\n\t\t7,\n\t\t59629\n\t],\n\t\"./ja-Hira/_lib/formatDistance/index.js\": [\n\t\t65047,\n\t\t7,\n\t\t65047\n\t],\n\t\"./ja-Hira/_lib/formatLong/index.js\": [\n\t\t44818,\n\t\t7,\n\t\t44818\n\t],\n\t\"./ja-Hira/_lib/formatRelative/index.js\": [\n\t\t20942,\n\t\t7,\n\t\t20942\n\t],\n\t\"./ja-Hira/_lib/localize/index.js\": [\n\t\t97031,\n\t\t7,\n\t\t97031\n\t],\n\t\"./ja-Hira/_lib/match/index.js\": [\n\t\t71636,\n\t\t7,\n\t\t71636\n\t],\n\t\"./ja-Hira/index.js\": [\n\t\t81590,\n\t\t7,\n\t\t81590\n\t],\n\t\"./ja/_lib/formatDistance/index.js\": [\n\t\t15525,\n\t\t7,\n\t\t15525\n\t],\n\t\"./ja/_lib/formatLong/index.js\": [\n\t\t45161,\n\t\t7,\n\t\t45161\n\t],\n\t\"./ja/_lib/formatRelative/index.js\": [\n\t\t85071,\n\t\t7,\n\t\t85071\n\t],\n\t\"./ja/_lib/localize/index.js\": [\n\t\t85598,\n\t\t7,\n\t\t85598\n\t],\n\t\"./ja/_lib/match/index.js\": [\n\t\t93509,\n\t\t7,\n\t\t93509\n\t],\n\t\"./ja/index.js\": [\n\t\t42180,\n\t\t7,\n\t\t42180\n\t],\n\t\"./ka/_lib/formatDistance/index.js\": [\n\t\t87414,\n\t\t7,\n\t\t87414\n\t],\n\t\"./ka/_lib/formatLong/index.js\": [\n\t\t27355,\n\t\t7,\n\t\t27355\n\t],\n\t\"./ka/_lib/formatRelative/index.js\": [\n\t\t91402,\n\t\t7,\n\t\t91402\n\t],\n\t\"./ka/_lib/localize/index.js\": [\n\t\t5552,\n\t\t7,\n\t\t5552\n\t],\n\t\"./ka/_lib/match/index.js\": [\n\t\t33706,\n\t\t7,\n\t\t75108\n\t],\n\t\"./ka/index.js\": [\n\t\t36501,\n\t\t7,\n\t\t36501\n\t],\n\t\"./kk/_lib/formatDistance/index.js\": [\n\t\t52071,\n\t\t7,\n\t\t52071\n\t],\n\t\"./kk/_lib/formatLong/index.js\": [\n\t\t99466,\n\t\t7,\n\t\t99466\n\t],\n\t\"./kk/_lib/formatRelative/index.js\": [\n\t\t52400,\n\t\t7,\n\t\t52400\n\t],\n\t\"./kk/_lib/localize/index.js\": [\n\t\t31814,\n\t\t7,\n\t\t31814\n\t],\n\t\"./kk/_lib/match/index.js\": [\n\t\t5574,\n\t\t7,\n\t\t5574\n\t],\n\t\"./kk/index.js\": [\n\t\t34996,\n\t\t7,\n\t\t34996\n\t],\n\t\"./km/_lib/formatDistance/index.js\": [\n\t\t97263,\n\t\t7,\n\t\t97263\n\t],\n\t\"./km/_lib/formatLong/index.js\": [\n\t\t66355,\n\t\t7,\n\t\t66355\n\t],\n\t\"./km/_lib/formatRelative/index.js\": [\n\t\t34833,\n\t\t7,\n\t\t34833\n\t],\n\t\"./km/_lib/localize/index.js\": [\n\t\t99273,\n\t\t7,\n\t\t99273\n\t],\n\t\"./km/_lib/match/index.js\": [\n\t\t7916,\n\t\t7,\n\t\t7916\n\t],\n\t\"./km/index.js\": [\n\t\t38684,\n\t\t7,\n\t\t38684\n\t],\n\t\"./kn/_lib/formatDistance/index.js\": [\n\t\t56071,\n\t\t7,\n\t\t56071\n\t],\n\t\"./kn/_lib/formatLong/index.js\": [\n\t\t78505,\n\t\t7,\n\t\t78505\n\t],\n\t\"./kn/_lib/formatRelative/index.js\": [\n\t\t8440,\n\t\t7,\n\t\t8440\n\t],\n\t\"./kn/_lib/localize/index.js\": [\n\t\t23283,\n\t\t7,\n\t\t23283\n\t],\n\t\"./kn/_lib/match/index.js\": [\n\t\t27211,\n\t\t7,\n\t\t27211\n\t],\n\t\"./kn/index.js\": [\n\t\t43434,\n\t\t7,\n\t\t43434\n\t],\n\t\"./ko/_lib/formatDistance/index.js\": [\n\t\t36136,\n\t\t7,\n\t\t36136\n\t],\n\t\"./ko/_lib/formatLong/index.js\": [\n\t\t91257,\n\t\t7,\n\t\t91257\n\t],\n\t\"./ko/_lib/formatRelative/index.js\": [\n\t\t52593,\n\t\t7,\n\t\t52593\n\t],\n\t\"./ko/_lib/localize/index.js\": [\n\t\t93558,\n\t\t7,\n\t\t93558\n\t],\n\t\"./ko/_lib/match/index.js\": [\n\t\t97948,\n\t\t7,\n\t\t97948\n\t],\n\t\"./ko/index.js\": [\n\t\t2666,\n\t\t7,\n\t\t2666\n\t],\n\t\"./lb/_lib/formatDistance/index.js\": [\n\t\t40714,\n\t\t7,\n\t\t40714\n\t],\n\t\"./lb/_lib/formatLong/index.js\": [\n\t\t73815,\n\t\t7,\n\t\t73815\n\t],\n\t\"./lb/_lib/formatRelative/index.js\": [\n\t\t1395,\n\t\t7,\n\t\t1395\n\t],\n\t\"./lb/_lib/localize/index.js\": [\n\t\t45973,\n\t\t7,\n\t\t45973\n\t],\n\t\"./lb/_lib/match/index.js\": [\n\t\t34308,\n\t\t7,\n\t\t34308\n\t],\n\t\"./lb/index.js\": [\n\t\t84048,\n\t\t7,\n\t\t84048\n\t],\n\t\"./lt/_lib/formatDistance/index.js\": [\n\t\t42067,\n\t\t7,\n\t\t42067\n\t],\n\t\"./lt/_lib/formatLong/index.js\": [\n\t\t83573,\n\t\t7,\n\t\t83573\n\t],\n\t\"./lt/_lib/formatRelative/index.js\": [\n\t\t63963,\n\t\t7,\n\t\t63963\n\t],\n\t\"./lt/_lib/localize/index.js\": [\n\t\t16687,\n\t\t7,\n\t\t16687\n\t],\n\t\"./lt/_lib/match/index.js\": [\n\t\t79884,\n\t\t7,\n\t\t79884\n\t],\n\t\"./lt/index.js\": [\n\t\t2536,\n\t\t7,\n\t\t2536\n\t],\n\t\"./lv/_lib/formatDistance/index.js\": [\n\t\t41340,\n\t\t7,\n\t\t41340\n\t],\n\t\"./lv/_lib/formatLong/index.js\": [\n\t\t47090,\n\t\t7,\n\t\t47090\n\t],\n\t\"./lv/_lib/formatRelative/index.js\": [\n\t\t54550,\n\t\t7,\n\t\t54550\n\t],\n\t\"./lv/_lib/localize/index.js\": [\n\t\t44306,\n\t\t7,\n\t\t44306\n\t],\n\t\"./lv/_lib/match/index.js\": [\n\t\t94305,\n\t\t7,\n\t\t94305\n\t],\n\t\"./lv/index.js\": [\n\t\t3610,\n\t\t7,\n\t\t3610\n\t],\n\t\"./mk/_lib/formatDistance/index.js\": [\n\t\t83350,\n\t\t7,\n\t\t83350\n\t],\n\t\"./mk/_lib/formatLong/index.js\": [\n\t\t30299,\n\t\t7,\n\t\t30299\n\t],\n\t\"./mk/_lib/formatRelative/index.js\": [\n\t\t21154,\n\t\t7,\n\t\t21154\n\t],\n\t\"./mk/_lib/localize/index.js\": [\n\t\t49324,\n\t\t7,\n\t\t49324\n\t],\n\t\"./mk/_lib/match/index.js\": [\n\t\t45603,\n\t\t7,\n\t\t45603\n\t],\n\t\"./mk/index.js\": [\n\t\t1057,\n\t\t7,\n\t\t1057\n\t],\n\t\"./mn/_lib/formatDistance/index.js\": [\n\t\t64216,\n\t\t7,\n\t\t64216\n\t],\n\t\"./mn/_lib/formatLong/index.js\": [\n\t\t10562,\n\t\t7,\n\t\t10562\n\t],\n\t\"./mn/_lib/formatRelative/index.js\": [\n\t\t69683,\n\t\t7,\n\t\t69683\n\t],\n\t\"./mn/_lib/localize/index.js\": [\n\t\t48637,\n\t\t7,\n\t\t94476\n\t],\n\t\"./mn/_lib/match/index.js\": [\n\t\t64094,\n\t\t7,\n\t\t64094\n\t],\n\t\"./mn/index.js\": [\n\t\t14893,\n\t\t7,\n\t\t14893\n\t],\n\t\"./ms/_lib/formatDistance/index.js\": [\n\t\t79522,\n\t\t7,\n\t\t79522\n\t],\n\t\"./ms/_lib/formatLong/index.js\": [\n\t\t14333,\n\t\t7,\n\t\t14333\n\t],\n\t\"./ms/_lib/formatRelative/index.js\": [\n\t\t51140,\n\t\t7,\n\t\t51140\n\t],\n\t\"./ms/_lib/localize/index.js\": [\n\t\t97118,\n\t\t7,\n\t\t97118\n\t],\n\t\"./ms/_lib/match/index.js\": [\n\t\t14396,\n\t\t7,\n\t\t14396\n\t],\n\t\"./ms/index.js\": [\n\t\t83148,\n\t\t7,\n\t\t83148\n\t],\n\t\"./mt/_lib/formatDistance/index.js\": [\n\t\t92252,\n\t\t7,\n\t\t92252\n\t],\n\t\"./mt/_lib/formatLong/index.js\": [\n\t\t64778,\n\t\t7,\n\t\t64778\n\t],\n\t\"./mt/_lib/formatRelative/index.js\": [\n\t\t69682,\n\t\t7,\n\t\t69682\n\t],\n\t\"./mt/_lib/localize/index.js\": [\n\t\t57669,\n\t\t7,\n\t\t57669\n\t],\n\t\"./mt/_lib/match/index.js\": [\n\t\t7438,\n\t\t7,\n\t\t7438\n\t],\n\t\"./mt/index.js\": [\n\t\t22598,\n\t\t7,\n\t\t22598\n\t],\n\t\"./nb/_lib/formatDistance/index.js\": [\n\t\t5979,\n\t\t7,\n\t\t5979\n\t],\n\t\"./nb/_lib/formatLong/index.js\": [\n\t\t54727,\n\t\t7,\n\t\t54727\n\t],\n\t\"./nb/_lib/formatRelative/index.js\": [\n\t\t91423,\n\t\t7,\n\t\t91423\n\t],\n\t\"./nb/_lib/localize/index.js\": [\n\t\t99726,\n\t\t7,\n\t\t99726\n\t],\n\t\"./nb/_lib/match/index.js\": [\n\t\t38558,\n\t\t7,\n\t\t38558\n\t],\n\t\"./nb/index.js\": [\n\t\t46815,\n\t\t7,\n\t\t46815\n\t],\n\t\"./nl-BE/_lib/formatDistance/index.js\": [\n\t\t70218,\n\t\t7,\n\t\t70218\n\t],\n\t\"./nl-BE/_lib/formatLong/index.js\": [\n\t\t14661,\n\t\t7,\n\t\t14661\n\t],\n\t\"./nl-BE/_lib/formatRelative/index.js\": [\n\t\t51573,\n\t\t7,\n\t\t51573\n\t],\n\t\"./nl-BE/_lib/localize/index.js\": [\n\t\t20174,\n\t\t7,\n\t\t20174\n\t],\n\t\"./nl-BE/_lib/match/index.js\": [\n\t\t87601,\n\t\t7,\n\t\t87601\n\t],\n\t\"./nl-BE/index.js\": [\n\t\t25778,\n\t\t7,\n\t\t25778\n\t],\n\t\"./nl/_lib/formatDistance/index.js\": [\n\t\t98562,\n\t\t7,\n\t\t98562\n\t],\n\t\"./nl/_lib/formatLong/index.js\": [\n\t\t30221,\n\t\t7,\n\t\t30221\n\t],\n\t\"./nl/_lib/formatRelative/index.js\": [\n\t\t96665,\n\t\t7,\n\t\t96665\n\t],\n\t\"./nl/_lib/localize/index.js\": [\n\t\t90384,\n\t\t7,\n\t\t90384\n\t],\n\t\"./nl/_lib/match/index.js\": [\n\t\t15009,\n\t\t7,\n\t\t15009\n\t],\n\t\"./nl/index.js\": [\n\t\t70390,\n\t\t7,\n\t\t70390\n\t],\n\t\"./nn/_lib/formatDistance/index.js\": [\n\t\t49714,\n\t\t7,\n\t\t49714\n\t],\n\t\"./nn/_lib/formatLong/index.js\": [\n\t\t29983,\n\t\t7,\n\t\t29983\n\t],\n\t\"./nn/_lib/formatRelative/index.js\": [\n\t\t35458,\n\t\t7,\n\t\t35458\n\t],\n\t\"./nn/_lib/localize/index.js\": [\n\t\t87563,\n\t\t7,\n\t\t87563\n\t],\n\t\"./nn/_lib/match/index.js\": [\n\t\t12324,\n\t\t7,\n\t\t12324\n\t],\n\t\"./nn/index.js\": [\n\t\t72495,\n\t\t7,\n\t\t72495\n\t],\n\t\"./oc/_lib/formatDistance/index.js\": [\n\t\t77553,\n\t\t7,\n\t\t77553\n\t],\n\t\"./oc/_lib/formatLong/index.js\": [\n\t\t79329,\n\t\t7,\n\t\t79329\n\t],\n\t\"./oc/_lib/formatRelative/index.js\": [\n\t\t10556,\n\t\t7,\n\t\t10556\n\t],\n\t\"./oc/_lib/localize/index.js\": [\n\t\t86354,\n\t\t7,\n\t\t86354\n\t],\n\t\"./oc/_lib/match/index.js\": [\n\t\t23180,\n\t\t7,\n\t\t23180\n\t],\n\t\"./oc/index.js\": [\n\t\t3824,\n\t\t7,\n\t\t3824\n\t],\n\t\"./pl/_lib/formatDistance/index.js\": [\n\t\t7325,\n\t\t7,\n\t\t7325\n\t],\n\t\"./pl/_lib/formatLong/index.js\": [\n\t\t50807,\n\t\t7,\n\t\t50807\n\t],\n\t\"./pl/_lib/formatRelative/index.js\": [\n\t\t66002,\n\t\t7,\n\t\t66002\n\t],\n\t\"./pl/_lib/localize/index.js\": [\n\t\t12885,\n\t\t7,\n\t\t12885\n\t],\n\t\"./pl/_lib/match/index.js\": [\n\t\t84817,\n\t\t7,\n\t\t84817\n\t],\n\t\"./pl/index.js\": [\n\t\t63618,\n\t\t7,\n\t\t63618\n\t],\n\t\"./pt-BR/_lib/formatDistance/index.js\": [\n\t\t38877,\n\t\t7,\n\t\t38877\n\t],\n\t\"./pt-BR/_lib/formatLong/index.js\": [\n\t\t23903,\n\t\t7,\n\t\t23903\n\t],\n\t\"./pt-BR/_lib/formatRelative/index.js\": [\n\t\t41897,\n\t\t7,\n\t\t41897\n\t],\n\t\"./pt-BR/_lib/localize/index.js\": [\n\t\t78076,\n\t\t7,\n\t\t78076\n\t],\n\t\"./pt-BR/_lib/match/index.js\": [\n\t\t13550,\n\t\t7,\n\t\t13550\n\t],\n\t\"./pt-BR/index.js\": [\n\t\t81333,\n\t\t7,\n\t\t81333\n\t],\n\t\"./pt/_lib/formatDistance/index.js\": [\n\t\t1092,\n\t\t7,\n\t\t48637\n\t],\n\t\"./pt/_lib/formatLong/index.js\": [\n\t\t10063,\n\t\t7,\n\t\t10063\n\t],\n\t\"./pt/_lib/formatRelative/index.js\": [\n\t\t29479,\n\t\t7,\n\t\t29479\n\t],\n\t\"./pt/_lib/localize/index.js\": [\n\t\t81235,\n\t\t7,\n\t\t81235\n\t],\n\t\"./pt/_lib/match/index.js\": [\n\t\t51549,\n\t\t7,\n\t\t51549\n\t],\n\t\"./pt/index.js\": [\n\t\t63086,\n\t\t7,\n\t\t63086\n\t],\n\t\"./ro/_lib/formatDistance/index.js\": [\n\t\t6666,\n\t\t7,\n\t\t6666\n\t],\n\t\"./ro/_lib/formatLong/index.js\": [\n\t\t60333,\n\t\t7,\n\t\t60333\n\t],\n\t\"./ro/_lib/formatRelative/index.js\": [\n\t\t67125,\n\t\t7,\n\t\t67125\n\t],\n\t\"./ro/_lib/localize/index.js\": [\n\t\t39408,\n\t\t7,\n\t\t39408\n\t],\n\t\"./ro/_lib/match/index.js\": [\n\t\t9480,\n\t\t7,\n\t\t9480\n\t],\n\t\"./ro/index.js\": [\n\t\t66088,\n\t\t7,\n\t\t66088\n\t],\n\t\"./ru/_lib/formatDistance/index.js\": [\n\t\t88770,\n\t\t7,\n\t\t88770\n\t],\n\t\"./ru/_lib/formatLong/index.js\": [\n\t\t83233,\n\t\t7,\n\t\t83233\n\t],\n\t\"./ru/_lib/formatRelative/index.js\": [\n\t\t53566,\n\t\t7,\n\t\t53566\n\t],\n\t\"./ru/_lib/localize/index.js\": [\n\t\t81348,\n\t\t7,\n\t\t81348\n\t],\n\t\"./ru/_lib/match/index.js\": [\n\t\t45195,\n\t\t7,\n\t\t45195\n\t],\n\t\"./ru/index.js\": [\n\t\t66754,\n\t\t7,\n\t\t66754\n\t],\n\t\"./sk/_lib/formatDistance/index.js\": [\n\t\t46732,\n\t\t7,\n\t\t46732\n\t],\n\t\"./sk/_lib/formatLong/index.js\": [\n\t\t21831,\n\t\t7,\n\t\t21831\n\t],\n\t\"./sk/_lib/formatRelative/index.js\": [\n\t\t50560,\n\t\t7,\n\t\t50560\n\t],\n\t\"./sk/_lib/localize/index.js\": [\n\t\t31044,\n\t\t7,\n\t\t31044\n\t],\n\t\"./sk/_lib/match/index.js\": [\n\t\t58923,\n\t\t7,\n\t\t58923\n\t],\n\t\"./sk/index.js\": [\n\t\t78259,\n\t\t7,\n\t\t78259\n\t],\n\t\"./sl/_lib/formatDistance/index.js\": [\n\t\t76930,\n\t\t7,\n\t\t76930\n\t],\n\t\"./sl/_lib/formatLong/index.js\": [\n\t\t9273,\n\t\t7,\n\t\t9273\n\t],\n\t\"./sl/_lib/formatRelative/index.js\": [\n\t\t83070,\n\t\t7,\n\t\t83070\n\t],\n\t\"./sl/_lib/localize/index.js\": [\n\t\t42958,\n\t\t7,\n\t\t42958\n\t],\n\t\"./sl/_lib/match/index.js\": [\n\t\t83296,\n\t\t7,\n\t\t83296\n\t],\n\t\"./sl/index.js\": [\n\t\t1139,\n\t\t7,\n\t\t1139\n\t],\n\t\"./sq/_lib/formatDistance/index.js\": [\n\t\t36794,\n\t\t7,\n\t\t36794\n\t],\n\t\"./sq/_lib/formatLong/index.js\": [\n\t\t62624,\n\t\t7,\n\t\t62624\n\t],\n\t\"./sq/_lib/formatRelative/index.js\": [\n\t\t19232,\n\t\t7,\n\t\t19232\n\t],\n\t\"./sq/_lib/localize/index.js\": [\n\t\t76880,\n\t\t7,\n\t\t76880\n\t],\n\t\"./sq/_lib/match/index.js\": [\n\t\t57930,\n\t\t7,\n\t\t57930\n\t],\n\t\"./sq/index.js\": [\n\t\t43852,\n\t\t7,\n\t\t43852\n\t],\n\t\"./sr-Latn/_lib/formatDistance/index.js\": [\n\t\t26261,\n\t\t7,\n\t\t26261\n\t],\n\t\"./sr-Latn/_lib/formatLong/index.js\": [\n\t\t40214,\n\t\t7,\n\t\t40214\n\t],\n\t\"./sr-Latn/_lib/formatRelative/index.js\": [\n\t\t619,\n\t\t7,\n\t\t619\n\t],\n\t\"./sr-Latn/_lib/localize/index.js\": [\n\t\t25494,\n\t\t7,\n\t\t25494\n\t],\n\t\"./sr-Latn/_lib/match/index.js\": [\n\t\t70091,\n\t\t7,\n\t\t70091\n\t],\n\t\"./sr-Latn/index.js\": [\n\t\t62394,\n\t\t7,\n\t\t62394\n\t],\n\t\"./sr/_lib/formatDistance/index.js\": [\n\t\t94963,\n\t\t7,\n\t\t94963\n\t],\n\t\"./sr/_lib/formatLong/index.js\": [\n\t\t9572,\n\t\t7,\n\t\t9572\n\t],\n\t\"./sr/_lib/formatRelative/index.js\": [\n\t\t32195,\n\t\t7,\n\t\t32195\n\t],\n\t\"./sr/_lib/localize/index.js\": [\n\t\t63747,\n\t\t7,\n\t\t63747\n\t],\n\t\"./sr/_lib/match/index.js\": [\n\t\t59555,\n\t\t7,\n\t\t59555\n\t],\n\t\"./sr/index.js\": [\n\t\t32397,\n\t\t7,\n\t\t32397\n\t],\n\t\"./sv/_lib/formatDistance/index.js\": [\n\t\t93283,\n\t\t7,\n\t\t93283\n\t],\n\t\"./sv/_lib/formatLong/index.js\": [\n\t\t45853,\n\t\t7,\n\t\t45853\n\t],\n\t\"./sv/_lib/formatRelative/index.js\": [\n\t\t46304,\n\t\t7,\n\t\t46304\n\t],\n\t\"./sv/_lib/localize/index.js\": [\n\t\t62185,\n\t\t7,\n\t\t62185\n\t],\n\t\"./sv/_lib/match/index.js\": [\n\t\t31379,\n\t\t7,\n\t\t31379\n\t],\n\t\"./sv/index.js\": [\n\t\t29779,\n\t\t7,\n\t\t29779\n\t],\n\t\"./ta/_lib/formatDistance/index.js\": [\n\t\t74639,\n\t\t7,\n\t\t74639\n\t],\n\t\"./ta/_lib/formatLong/index.js\": [\n\t\t83101,\n\t\t7,\n\t\t83101\n\t],\n\t\"./ta/_lib/formatRelative/index.js\": [\n\t\t14179,\n\t\t7,\n\t\t14179\n\t],\n\t\"./ta/_lib/localize/index.js\": [\n\t\t88574,\n\t\t7,\n\t\t88574\n\t],\n\t\"./ta/_lib/match/index.js\": [\n\t\t6042,\n\t\t7,\n\t\t6042\n\t],\n\t\"./ta/index.js\": [\n\t\t32718,\n\t\t7,\n\t\t32718\n\t],\n\t\"./te/_lib/formatDistance/index.js\": [\n\t\t15919,\n\t\t7,\n\t\t15919\n\t],\n\t\"./te/_lib/formatLong/index.js\": [\n\t\t23003,\n\t\t7,\n\t\t23003\n\t],\n\t\"./te/_lib/formatRelative/index.js\": [\n\t\t15927,\n\t\t7,\n\t\t15927\n\t],\n\t\"./te/_lib/localize/index.js\": [\n\t\t28739,\n\t\t7,\n\t\t28739\n\t],\n\t\"./te/_lib/match/index.js\": [\n\t\t46028,\n\t\t7,\n\t\t46028\n\t],\n\t\"./te/index.js\": [\n\t\t52275,\n\t\t7,\n\t\t52275\n\t],\n\t\"./th/_lib/formatDistance/index.js\": [\n\t\t73448,\n\t\t7,\n\t\t73448\n\t],\n\t\"./th/_lib/formatLong/index.js\": [\n\t\t29011,\n\t\t7,\n\t\t29011\n\t],\n\t\"./th/_lib/formatRelative/index.js\": [\n\t\t46945,\n\t\t7,\n\t\t46945\n\t],\n\t\"./th/_lib/localize/index.js\": [\n\t\t44017,\n\t\t7,\n\t\t44017\n\t],\n\t\"./th/_lib/match/index.js\": [\n\t\t65534,\n\t\t7,\n\t\t65534\n\t],\n\t\"./th/index.js\": [\n\t\t98492,\n\t\t7,\n\t\t98492\n\t],\n\t\"./tr/_lib/formatDistance/index.js\": [\n\t\t91742,\n\t\t7,\n\t\t91742\n\t],\n\t\"./tr/_lib/formatLong/index.js\": [\n\t\t66075,\n\t\t7,\n\t\t66075\n\t],\n\t\"./tr/_lib/formatRelative/index.js\": [\n\t\t38897,\n\t\t7,\n\t\t38897\n\t],\n\t\"./tr/_lib/localize/index.js\": [\n\t\t81281,\n\t\t7,\n\t\t81281\n\t],\n\t\"./tr/_lib/match/index.js\": [\n\t\t20941,\n\t\t7,\n\t\t20941\n\t],\n\t\"./tr/index.js\": [\n\t\t41062,\n\t\t7,\n\t\t41062\n\t],\n\t\"./ug/_lib/formatDistance/index.js\": [\n\t\t31914,\n\t\t7,\n\t\t31914\n\t],\n\t\"./ug/_lib/formatLong/index.js\": [\n\t\t70065,\n\t\t7,\n\t\t70065\n\t],\n\t\"./ug/_lib/formatRelative/index.js\": [\n\t\t4128,\n\t\t7,\n\t\t4128\n\t],\n\t\"./ug/_lib/localize/index.js\": [\n\t\t19758,\n\t\t7,\n\t\t19758\n\t],\n\t\"./ug/_lib/match/index.js\": [\n\t\t60663,\n\t\t7,\n\t\t60663\n\t],\n\t\"./ug/index.js\": [\n\t\t61505,\n\t\t7,\n\t\t61505\n\t],\n\t\"./uk/_lib/formatDistance/index.js\": [\n\t\t2647,\n\t\t7,\n\t\t2647\n\t],\n\t\"./uk/_lib/formatLong/index.js\": [\n\t\t71831,\n\t\t7,\n\t\t71831\n\t],\n\t\"./uk/_lib/formatRelative/index.js\": [\n\t\t80507,\n\t\t7,\n\t\t55827,\n\t\t80507\n\t],\n\t\"./uk/_lib/localize/index.js\": [\n\t\t31882,\n\t\t7,\n\t\t31882\n\t],\n\t\"./uk/_lib/match/index.js\": [\n\t\t88845,\n\t\t7,\n\t\t88845\n\t],\n\t\"./uk/index.js\": [\n\t\t25490,\n\t\t7,\n\t\t55827,\n\t\t25490\n\t],\n\t\"./uz-Cyrl/_lib/formatDistance/index.js\": [\n\t\t59074,\n\t\t7,\n\t\t59074\n\t],\n\t\"./uz-Cyrl/_lib/formatLong/index.js\": [\n\t\t16798,\n\t\t7,\n\t\t16798\n\t],\n\t\"./uz-Cyrl/_lib/formatRelative/index.js\": [\n\t\t65283,\n\t\t7,\n\t\t65283\n\t],\n\t\"./uz-Cyrl/_lib/localize/index.js\": [\n\t\t10755,\n\t\t7,\n\t\t10755\n\t],\n\t\"./uz-Cyrl/_lib/match/index.js\": [\n\t\t56523,\n\t\t7,\n\t\t56523\n\t],\n\t\"./uz-Cyrl/index.js\": [\n\t\t93757,\n\t\t7,\n\t\t93757\n\t],\n\t\"./uz/_lib/formatDistance/index.js\": [\n\t\t55965,\n\t\t7,\n\t\t55965\n\t],\n\t\"./uz/_lib/formatLong/index.js\": [\n\t\t59606,\n\t\t7,\n\t\t59606\n\t],\n\t\"./uz/_lib/formatRelative/index.js\": [\n\t\t81632,\n\t\t7,\n\t\t81632\n\t],\n\t\"./uz/_lib/localize/index.js\": [\n\t\t52970,\n\t\t7,\n\t\t52970\n\t],\n\t\"./uz/_lib/match/index.js\": [\n\t\t29633,\n\t\t7,\n\t\t29633\n\t],\n\t\"./uz/index.js\": [\n\t\t26466,\n\t\t7,\n\t\t26466\n\t],\n\t\"./vi/_lib/formatDistance/index.js\": [\n\t\t72198,\n\t\t7,\n\t\t72198\n\t],\n\t\"./vi/_lib/formatLong/index.js\": [\n\t\t32592,\n\t\t7,\n\t\t32592\n\t],\n\t\"./vi/_lib/formatRelative/index.js\": [\n\t\t20022,\n\t\t7,\n\t\t20022\n\t],\n\t\"./vi/_lib/localize/index.js\": [\n\t\t48125,\n\t\t7,\n\t\t48125\n\t],\n\t\"./vi/_lib/match/index.js\": [\n\t\t8624,\n\t\t7,\n\t\t8624\n\t],\n\t\"./vi/index.js\": [\n\t\t52358,\n\t\t7,\n\t\t52358\n\t],\n\t\"./zh-CN/_lib/formatDistance/index.js\": [\n\t\t31526,\n\t\t7,\n\t\t31526\n\t],\n\t\"./zh-CN/_lib/formatLong/index.js\": [\n\t\t87969,\n\t\t7,\n\t\t87969\n\t],\n\t\"./zh-CN/_lib/formatRelative/index.js\": [\n\t\t6915,\n\t\t7,\n\t\t6915\n\t],\n\t\"./zh-CN/_lib/localize/index.js\": [\n\t\t6890,\n\t\t7,\n\t\t6890\n\t],\n\t\"./zh-CN/_lib/match/index.js\": [\n\t\t95454,\n\t\t7,\n\t\t95454\n\t],\n\t\"./zh-CN/index.js\": [\n\t\t24602,\n\t\t7,\n\t\t24602\n\t],\n\t\"./zh-HK/_lib/formatDistance/index.js\": [\n\t\t84231,\n\t\t7,\n\t\t84231\n\t],\n\t\"./zh-HK/_lib/formatLong/index.js\": [\n\t\t47076,\n\t\t7,\n\t\t47076\n\t],\n\t\"./zh-HK/_lib/formatRelative/index.js\": [\n\t\t53082,\n\t\t7,\n\t\t53082\n\t],\n\t\"./zh-HK/_lib/localize/index.js\": [\n\t\t13653,\n\t\t7,\n\t\t13653\n\t],\n\t\"./zh-HK/_lib/match/index.js\": [\n\t\t88357,\n\t\t7,\n\t\t88357\n\t],\n\t\"./zh-HK/index.js\": [\n\t\t96835,\n\t\t7,\n\t\t96835\n\t],\n\t\"./zh-TW/_lib/formatDistance/index.js\": [\n\t\t63106,\n\t\t7,\n\t\t63106\n\t],\n\t\"./zh-TW/_lib/formatLong/index.js\": [\n\t\t27177,\n\t\t7,\n\t\t27177\n\t],\n\t\"./zh-TW/_lib/formatRelative/index.js\": [\n\t\t13238,\n\t\t7,\n\t\t13238\n\t],\n\t\"./zh-TW/_lib/localize/index.js\": [\n\t\t46341,\n\t\t7,\n\t\t46341\n\t],\n\t\"./zh-TW/_lib/match/index.js\": [\n\t\t7768,\n\t\t7,\n\t\t7768\n\t],\n\t\"./zh-TW/index.js\": [\n\t\t68368,\n\t\t7,\n\t\t18201\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(() => {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 85180;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./fr.json\": [\n\t\t65551,\n\t\t65551\n\t],\n\t\"./ja.json\": [\n\t\t98655,\n\t\t98655\n\t],\n\t\"./qps-ploc.json\": [\n\t\t71384,\n\t\t71384\n\t],\n\t\"./zh-hant.json\": [\n\t\t32557,\n\t\t32557\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 1677;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./en-US.po\": [\n\t\t24363,\n\t\t24363\n\t],\n\t\"./eo.po\": [\n\t\t70852,\n\t\t70852\n\t],\n\t\"./fr.po\": [\n\t\t8354,\n\t\t8354\n\t],\n\t\"./id.po\": [\n\t\t11336,\n\t\t11336\n\t],\n\t\"./ja.po\": [\n\t\t5940,\n\t\t5940\n\t],\n\t\"./ms.po\": [\n\t\t564,\n\t\t564\n\t],\n\t\"./zh-TW.po\": [\n\t\t93167,\n\t\t93167\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__.t(id, 7 | 16);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 265;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"async-chunk.\" + (chunkId === 82282 ? \"gpt-tokenizer\" : chunkId) + \".\" + {\"109\":\"eca432cc42c980e0240b\",\"389\":\"67342416566ccda5e7b5\",\"564\":\"e5b60e402af8f954efc7\",\"619\":\"5eadb321de404a3d5966\",\"771\":\"9b2f5ee31d082a747cd5\",\"868\":\"e3e202797ef909ccbfd5\",\"1057\":\"dadb504b9e0feccce898\",\"1088\":\"62d548bfb18622a0fba2\",\"1139\":\"1fa08be66356a33ae561\",\"1395\":\"4bc25155c1a22e989990\",\"1493\":\"7a240d16a23dca097509\",\"1788\":\"3c8fd2ee3c5cd581ad82\",\"1824\":\"f6927b21848f41cd1e7c\",\"2256\":\"f4cc22597638ca230d3a\",\"2527\":\"f49a580fd1e0c98e45df\",\"2536\":\"98b7ca7600f17d542c67\",\"2647\":\"a9a48313021371a38558\",\"2666\":\"5dcd3cd750159ed5c821\",\"2698\":\"b00689d6fc615d75c2cb\",\"2864\":\"dcbdb4566ee75bf41280\",\"3003\":\"52f206f90bce5c4f1895\",\"3006\":\"d01ddca9f5f5e4752ac2\",\"3381\":\"e20428a292ece848f2c0\",\"3393\":\"f7645b9d7de2ed8b72c4\",\"3557\":\"ad7a0906a5741a658f35\",\"3610\":\"ec1a15f31ef4f1b0beb5\",\"3824\":\"8b90210ef07d3f054a2f\",\"4128\":\"4a1131137a37bca097c9\",\"4887\":\"f05e7bff86c3652a9d79\",\"5093\":\"920b9fef800c0a5615bf\",\"5101\":\"9f72409e4d41df160255\",\"5102\":\"0d67db048de5189e0184\",\"5386\":\"eb78763dfee122451949\",\"5472\":\"aaf533b428d137d576c0\",\"5552\":\"88ce9d3e42ea25416409\",\"5574\":\"5ce3a22f1ecac3f9b6c8\",\"5895\":\"8454c3d1f8d7a9d6e1b4\",\"5940\":\"1a593770220ccf83d5a3\",\"5966\":\"2f5f9ef7b792d1a91ef3\",\"5979\":\"29a53e46865b77811112\",\"6042\":\"d71bac0df41dbdf6580a\",\"6666\":\"3728665f876e6f55622d\",\"6749\":\"20c9e016e8492c1515db\",\"6890\":\"ef0eefcbecafd80f7b1f\",\"6915\":\"33b0689fff9f8c9e839b\",\"6966\":\"9e8646b15d7b98000da3\",\"7161\":\"63ab5b0d14f162919aad\",\"7325\":\"08e641a9a0c142220e22\",\"7438\":\"6487f570f6728b13a11c\",\"7604\":\"e5f84813f18a86668f8e\",\"7649\":\"32980e87c87518d6df8b\",\"7768\":\"149a6bda8b8289e94d06\",\"7851\":\"dfd79eef34b11eb7e46a\",\"7853\":\"a29287afe4fd6398aa9e\",\"7916\":\"5e8cc71d993f1befe0e0\",\"8354\":\"5fb1e4b47d9b91d765ea\",\"8440\":\"6ff81f85057886e72d08\",\"8624\":\"7bafa5d2787be48cede4\",\"8848\":\"260dfc1dcbcdb9e1e999\",\"9042\":\"d1c5fdc8af99eebf7ee3\",\"9273\":\"17dc364c2064d2f6219f\",\"9402\":\"47abc015b6f442235a77\",\"9480\":\"e6b0d1e62587f9d71cfb\",\"9572\":\"ab76b55ee6f358ba6b5a\",\"9624\":\"33d32d96fcfbc917b0f3\",\"9696\":\"bcca517be4266c029378\",\"9796\":\"3f80684b110dfdabc430\",\"9911\":\"92322fba0fe546837de6\",\"10063\":\"1cea2a5b4807aec8001a\",\"10258\":\"a8aa30f102e9c63f2c8f\",\"10444\":\"f4e2f1da6a97d07fa5f3\",\"10556\":\"6c697eb772fffcaa9ab5\",\"10562\":\"4957dfab14a342138891\",\"10755\":\"0c68200489e5b995d985\",\"10798\":\"4f646cc394866d04fc99\",\"11336\":\"ab0b83b89347bb08d7f8\",\"11398\":\"0bae9338022d29b7a260\",\"11876\":\"0e66db5f5ea09030047a\",\"12000\":\"7370b712721283d013d4\",\"12217\":\"d21112453c019b8ff30f\",\"12264\":\"12ef58442219fda633bd\",\"12310\":\"153e46fac32d510288c1\",\"12324\":\"539f9be82f0635e2bf6b\",\"12642\":\"d945e80111024c541178\",\"12674\":\"a23c65d1a165f61a6b20\",\"12820\":\"6ccca165596112b69ea9\",\"12885\":\"3b82ea7623a947174827\",\"12923\":\"cebe9ca3f3f807bcff1f\",\"13238\":\"4cfd5feffecfd65dd757\",\"13281\":\"3abf0eafda6cb09d9bcd\",\"13533\":\"23b2b8c0f55f92b9a1cd\",\"13537\":\"3c8b3e25153f3f3f239b\",\"13550\":\"a5f947d2c41a6a19ca4b\",\"13653\":\"e4af117a5de01b008274\",\"13689\":\"50cfb7f51c8a6febfdc0\",\"14179\":\"7d29fd4852c1bd8003c3\",\"14333\":\"cc5c6175ea2a11b1de86\",\"14396\":\"25df78851651e4b0b35c\",\"14661\":\"885c51aac9e4c9bc73d5\",\"14799\":\"8bd248238333b105d732\",\"14893\":\"9a9f704d808d88d4cc87\",\"15009\":\"021518afddfcbf3536b9\",\"15120\":\"103b4b115a23246ec18e\",\"15166\":\"fea46f6f66b9a07c68cf\",\"15430\":\"263a2c6b94ff5bfddfdf\",\"15525\":\"c2b564f42652fe5f4221\",\"15561\":\"94888548cbbfc0e62133\",\"15708\":\"b33f7de99a450a13165c\",\"15919\":\"d7fc155d8c97e953f615\",\"15927\":\"a5a54bed2b1296660dfc\",\"16245\":\"5ff9c25aedbf30630751\",\"16274\":\"5da85fcf9d3e9fdaf824\",\"16309\":\"9c156164840d62409bd3\",\"16372\":\"eba6c49ce31a0c60f714\",\"16436\":\"5a24f0d6b32379d3e78b\",\"16686\":\"37dda4fb7493f5dfdf58\",\"16687\":\"8e2289c2dc440728d75f\",\"16798\":\"be0c0278cc8ae9ce63e0\",\"16925\":\"5ef5c5eb7b6969ee625f\",\"17066\":\"81acb636ab8ddce3eebb\",\"17156\":\"9e7ed7ee7122dfa64986\",\"17308\":\"41e7401921789fa3b1b6\",\"17389\":\"facacebadc34b6cd7ade\",\"17863\":\"37fff22291078d2d5963\",\"18092\":\"a77cb3a39e9210aa93e1\",\"18137\":\"816d0578dd07ce8b4ca8\",\"18201\":\"34d1a3b5452747036370\",\"18336\":\"e38a321528947907438d\",\"18631\":\"d3200997bf4c64c98da4\",\"18779\":\"43e58433b24e1341b6db\",\"18832\":\"a1a235c8877c23d9519b\",\"19048\":\"f24cbde0529b80cf2c92\",\"19232\":\"386daca718825cc96a4d\",\"19266\":\"34f9b0192c62b829b99e\",\"19400\":\"277cf1ef28bbab0ab053\",\"19415\":\"4b569c973f281d7e62e6\",\"19758\":\"020cca38d40140e539be\",\"19798\":\"31959329f2a80a3ce4d1\",\"19962\":\"346108218ce40373e05e\",\"19983\":\"e30c991ebff3eb99d699\",\"20022\":\"a7893ab53f1b7cd00688\",\"20174\":\"74a3d7bb8c34dfe7e15b\",\"20289\":\"d62a2069c16ecc355055\",\"20303\":\"19cdf23bc35269102ea3\",\"20320\":\"cd7a281ac05f51a3f0c7\",\"20379\":\"2c6e51919fa670f2e90c\",\"20495\":\"0cf68c620d5539c6f0f1\",\"20567\":\"7b65dc4bfa4b14e04b4f\",\"20658\":\"55edd5efeff27284f84d\",\"20687\":\"4d96166faf9bdb1f9b1e\",\"20694\":\"6c2e7163dc5d229625d6\",\"20871\":\"fee5acfa4ed288bec4d3\",\"20941\":\"7d0c419ed72cdaeacd33\",\"20942\":\"422e7ea09b8b67d51c26\",\"20959\":\"71e31732c495cd16b93b\",\"21154\":\"ff0143fdc6839a244034\",\"21185\":\"c6d197b2ab7b2d86202d\",\"21228\":\"31bb7b7bdfb243604b94\",\"21831\":\"35427b5360ca73c83db8\",\"22041\":\"bc968f0803de2658938e\",\"22162\":\"eb7c2aff3880607f09eb\",\"22279\":\"0cbdb5dc4da577ee849e\",\"22523\":\"61abbe9c6ceea3049076\",\"22595\":\"658258a41c43e1b3f93a\",\"22598\":\"a92c1a1e399da50a4379\",\"22623\":\"267fa0da7cb542b31a34\",\"22709\":\"ba73dab61a8c93c40469\",\"22732\":\"e157045225b4b0c9b690\",\"22739\":\"d7b5df30f21129a0e0c9\",\"22761\":\"72c1d3912ff46992dad8\",\"22933\":\"120783521ec3ac7580c5\",\"23003\":\"c2a4af9c026ca0139b28\",\"23180\":\"775adef7f53c2386c46e\",\"23283\":\"2c92feec5c26264e4c95\",\"23493\":\"9b99e95e9cb3259439da\",\"23654\":\"0e69ff1e8202799d4050\",\"23903\":\"7cfbd9fbc573859ee82b\",\"24047\":\"1a2dd944ce2315cc8633\",\"24353\":\"20c8efeaf84cbc5099fc\",\"24363\":\"67a792d0880136800f95\",\"24602\":\"f56e8da2ac01d19833a0\",\"25490\":\"d43e5a7174e94ba4a0f8\",\"25494\":\"427af9a1308d59e0df4d\",\"25711\":\"75528aa2480317359f6b\",\"25778\":\"520f2b92bfc8a7d57d7d\",\"26261\":\"a002936455cff54a3982\",\"26466\":\"08c2fbd6e56c53c666df\",\"26594\":\"2fb0e36f6f1fc1c096a4\",\"26754\":\"e8e983533ea682e422a0\",\"27166\":\"0ae791294bdf33abb638\",\"27177\":\"d55a2f6110e9a528913c\",\"27211\":\"ddb8d67a59c20508ad37\",\"27355\":\"240de899e73687f3ff1c\",\"27475\":\"170b67a9a741e5855046\",\"27530\":\"30bd40e8bcc6bf64fd84\",\"27790\":\"9591e8d66fc98f028dcb\",\"28113\":\"b4c8f77dd8511bbeca25\",\"28206\":\"3ef4af3704d868023164\",\"28365\":\"6e83e5b735aab3d17262\",\"28386\":\"55fd012bc0a283535656\",\"28418\":\"e17230091ff82a76f21e\",\"28677\":\"9c3fe43dbd1e619448e3\",\"28739\":\"e9abea6ea2552d89e995\",\"28832\":\"7425124a672d59508e4b\",\"29011\":\"668744b81e1c70549b07\",\"29226\":\"859174049637fb8c711e\",\"29423\":\"826ff0d05d9f994ec570\",\"29479\":\"b2eb7487cdd4eb217a03\",\"29633\":\"96470f58fe64720e63db\",\"29779\":\"a58966a3efc3442a12cf\",\"29983\":\"a8d3e9f8019aa31dbef4\",\"30005\":\"9fab14aaf4f59f8cd6a1\",\"30221\":\"1d6f9a7f429b24d7c976\",\"30299\":\"39e36863952c6ec69dc7\",\"30797\":\"99f6295c2c2c649412a7\",\"31002\":\"81702bc31905af06844a\",\"31044\":\"491502cdafba83692288\",\"31310\":\"b55490bd9012e8eeecf8\",\"31379\":\"89149288e13c27c831f4\",\"31526\":\"53d193ef6a0c63333059\",\"31814\":\"60a2018f12761acc035b\",\"31877\":\"902d64cd048d2a1850ee\",\"31882\":\"9c976d870e4c6f7a53dc\",\"31914\":\"2e502f58a9a73a829769\",\"32076\":\"f789374a27473b40f999\",\"32132\":\"0bf80550ec586a5bf574\",\"32181\":\"5724ea18f60fc516c025\",\"32195\":\"a16e89da81b7b3f45209\",\"32397\":\"13a082dd49e9757ee150\",\"32557\":\"75ea1fe973e8290408cf\",\"32592\":\"3d749fc3e829dcec0619\",\"32718\":\"3c652d96bbe38fd199cb\",\"33185\":\"2ddafd554fb72a40a33b\",\"34044\":\"fb25e1a04753e0afa95b\",\"34308\":\"1e79e13748d7adb8beee\",\"34325\":\"e302893ef59a4367ee4c\",\"34357\":\"18ab4e0cbc67b52d4aed\",\"34833\":\"3a46bca6c08dc10d62a8\",\"34996\":\"0bdbf953bc2ae73b083a\",\"35458\":\"3d8bde3f112b92637cbd\",\"35765\":\"24882b43124b8e538d40\",\"35900\":\"47ef92807c362c747335\",\"35920\":\"c33d73608be1bfb204fe\",\"36136\":\"9c6d0b13f5e1304c1313\",\"36501\":\"3cdb0678a96df985ac02\",\"36520\":\"1854892f1dbbff801c3e\",\"36794\":\"43aec43f4f757774ae80\",\"36883\":\"b0f5435a2b4e30d8ac80\",\"36945\":\"4dee16805d7f90b19933\",\"37056\":\"15ae907e5795b46065b4\",\"37229\":\"89736fecb0f0f7827ba5\",\"37233\":\"38d9510057003545e4cc\",\"37281\":\"e9965e076d48de7f9332\",\"37358\":\"8fec2bb5f0978ef2138e\",\"37440\":\"070af736c2d694a93a53\",\"37650\":\"cc578b329c5d6be4ee11\",\"37961\":\"c276ae86dab52e8c85bd\",\"38066\":\"37550cb9369c19c714fe\",\"38384\":\"9f6115f3325aa5cbfe72\",\"38523\":\"a720b1bdf0595a2e3975\",\"38558\":\"e37c30b5a2bb15954283\",\"38684\":\"e943b4fa719bee96f606\",\"38803\":\"49c0ae8bf4c304d62716\",\"38877\":\"0978e63e05bcdd689bde\",\"38897\":\"e202281d9501c10a8a38\",\"39408\":\"e84b14156537e05a734f\",\"39803\":\"44448958614f29a438c6\",\"40214\":\"ef2822c142272aa7f270\",\"40359\":\"406c8eadb90fc29fb8d6\",\"40714\":\"422703ff3c546ad88121\",\"41062\":\"250fbe67137dd5e5f44b\",\"41134\":\"632c0110d2d0612e7bb1\",\"41146\":\"4f87df5ce9c52a0bd284\",\"41340\":\"1a1d546dffc374460978\",\"41544\":\"676fcabe53d9889ed860\",\"41663\":\"320111a7a577f5321387\",\"41839\":\"1f842ca288bc8ceacf80\",\"41897\":\"6870bfa457438070055b\",\"42067\":\"ac8305620df3381812bd\",\"42180\":\"b2519209dbf2f68f8473\",\"42182\":\"0242a0ff9c1df0a66872\",\"42202\":\"2c5b5b09497c1e89a24f\",\"42276\":\"6121b6687ad0f61e954a\",\"42286\":\"5bde8de967d1bea0a3ed\",\"42906\":\"5a491914888f49644af8\",\"42958\":\"01466370e77796def15d\",\"43043\":\"a7db73c7c85d5a54b91b\",\"43421\":\"d4f6a4250d02e5156811\",\"43434\":\"6fb952237ec0c78c3a88\",\"43784\":\"402cbfb794174a1fa8a3\",\"43852\":\"2702861308c43984f44a\",\"44017\":\"508dc03e76298d164693\",\"44306\":\"c95fe1c616745c16bd7d\",\"44374\":\"4c375f30cb1b308a7ff6\",\"44649\":\"8952a7b856ff4cc31e69\",\"44732\":\"d67a8067c0fa98f75cc8\",\"44818\":\"2606e73f2d14abfd2035\",\"45152\":\"08e16f82f237ef3b1b41\",\"45161\":\"31b82edfd3eb6c3b055d\",\"45195\":\"424ceb6e4004ef7a6c77\",\"45218\":\"9ca602692ed97a64cc88\",\"45237\":\"a008c72af8f3efd5fd68\",\"45339\":\"0f65db517ccad4fb6fb5\",\"45515\":\"e111cea15a6bb4c8366e\",\"45603\":\"50ea5dcddd7d8365cf61\",\"45604\":\"f971f1e39359168b48a1\",\"45624\":\"73e2247dd8008c144890\",\"45625\":\"7bc82f350dc1d404274a\",\"45853\":\"2e03808739919329e0ea\",\"45930\":\"9c67ce9a0fae7759fe8d\",\"45973\":\"80e68d9e2f7628e4a893\",\"46028\":\"f865b67081cbdb321e95\",\"46050\":\"e4dc4c8b335e69991527\",\"46232\":\"ebc21b5671d3a15c705a\",\"46304\":\"6497a7c2f013e5aef1b9\",\"46341\":\"ace2061f337f9335f228\",\"46732\":\"e72a0679d4d239539274\",\"46815\":\"cc4a2eb066a10ec7ebfc\",\"46840\":\"0b154a87b87da1de29bc\",\"46945\":\"864d79c7c9da7e63a480\",\"47076\":\"af4c1562f8eee5c70796\",\"47090\":\"30b7687cdedf4fe8368a\",\"47483\":\"ff52b2e977cb04c431ce\",\"47920\":\"151f860486565f17827e\",\"48125\":\"6353d9436aed19dfff75\",\"48144\":\"9f3ac96d9c9722941531\",\"48267\":\"dde0346e6c919489225e\",\"48294\":\"d0ff5750c6328ab20a6c\",\"48433\":\"12233d9e3cefc15c6fd2\",\"48637\":\"cb79def4f7d20b490d5a\",\"48793\":\"73076ea20d3f443b93a5\",\"49280\":\"7c7e64f5f5815e15f04c\",\"49324\":\"979adc57542d8e72bad5\",\"49505\":\"58aa351bd233d1ba01d8\",\"49714\":\"2b7f0a0ead9a5b49102c\",\"50182\":\"181b37870df02065694e\",\"50248\":\"9e6e41012881737b15dd\",\"50363\":\"aaa66ffa0a17d69ea78e\",\"50447\":\"7455f04ad5ba166d6ef6\",\"50560\":\"79740167691b78f5d57d\",\"50683\":\"e1a2376f1f3e79bf5a00\",\"50776\":\"2a9177867b7031380693\",\"50794\":\"a6acecde258caf1281e7\",\"50807\":\"90c28936de24ddee0f19\",\"50996\":\"aed517492de6dd755409\",\"51140\":\"d8ea4f4cb57f2fa99287\",\"51549\":\"dd21c995f50131f5bca9\",\"51573\":\"9af5107fc34dc89c5288\",\"51712\":\"badf7acd97ae3501e852\",\"51730\":\"6258010def26d6aec31f\",\"51734\":\"82f0427b59e3a91ee594\",\"51872\":\"5aa7dc7fc347cbca8c2a\",\"51915\":\"dd676ea76cf24e91fe7c\",\"51969\":\"f1147f209d1d340f07d4\",\"51971\":\"4784d591e363ffb4533e\",\"52071\":\"8f7d5b6d3a264bcda2be\",\"52275\":\"e08c398a60f85d874643\",\"52358\":\"eedd055c99e6831f2462\",\"52400\":\"7234a6d7d230d742f037\",\"52593\":\"5837c8cedf72fc47b4f8\",\"52646\":\"b54096f7cf8cb905f6ff\",\"52695\":\"49bdc19fcea062fef617\",\"52970\":\"f94b87a1b7ba2634a459\",\"53082\":\"d9764f096b69b10a8b17\",\"53162\":\"57b593195b17acc3c2ba\",\"53336\":\"dfdcbd331283e0aa977d\",\"53372\":\"6f42a9e2225ca9dec8b7\",\"53463\":\"df8f27153451e5c8c177\",\"53494\":\"b305fd406a2ce53e87a4\",\"53566\":\"57f5b73f9c955af0df71\",\"53860\":\"50a10296805820c44fc0\",\"53887\":\"f640b5e374cb320ae771\",\"53907\":\"7fce9f81368671a7e9d1\",\"54011\":\"c3cc9ed9a1f2ddfc8188\",\"54086\":\"de0ad42c6b18d42220d5\",\"54448\":\"89450a9e2f994589b4d8\",\"54470\":\"0b8272799f4a643eda71\",\"54550\":\"ab88534fcab74bcce11e\",\"54727\":\"3eeaee6f46ce4d782e8d\",\"54950\":\"075320546e837c66852a\",\"55125\":\"0b4e35c73ed83df3aa6d\",\"55354\":\"d4abd0578a47b639115a\",\"55389\":\"5bdaae576e2c85be93b9\",\"55568\":\"26009c10972d041f5a75\",\"55578\":\"ea34cad2ba17ba53b6e3\",\"55585\":\"9a362beb2721ce279f29\",\"55827\":\"fed3289d70ebe894c361\",\"55965\":\"7584cd85847b4695c2de\",\"56071\":\"dcd5c771b15de8517295\",\"56103\":\"96e5e11f50933d501b87\",\"56105\":\"5455e8692c234ee0ba52\",\"56183\":\"b785055b996d2a2ec05e\",\"56209\":\"6fa9351885607287330e\",\"56224\":\"c24e5d31d44209d25aaa\",\"56379\":\"d952f47f479aaa26d117\",\"56443\":\"778a62ef4a5d6bc1ad53\",\"56523\":\"74a81d895b78e6cdc7cc\",\"56601\":\"b28213482f115fef36f9\",\"56635\":\"ec03831230428b1c1fb1\",\"56683\":\"609766683ce244459cb6\",\"56716\":\"a09c3eefb757bf225826\",\"57460\":\"98743a20e53ab121cb9e\",\"57502\":\"8febebd23f1099003e05\",\"57507\":\"99fd83814f5cdfeca48b\",\"57664\":\"22b2b517a2be127535fa\",\"57669\":\"6d3461b894900fc9512f\",\"57930\":\"a48ddf2b946103cdb467\",\"58170\":\"a59f60d1872849ff16b5\",\"58213\":\"9364d683bcaf0d433728\",\"58300\":\"5fd3271a5f9de45df706\",\"58309\":\"dd6cdff8b6ff0532ce47\",\"58868\":\"5bcdb8f596e00b1d8569\",\"58923\":\"4a87ae05485c90d776e2\",\"59074\":\"941bcd6be5ee6f716cc2\",\"59137\":\"01a59d53771bcc9f2b16\",\"59555\":\"acbdb327ce9a97fb8ff7\",\"59606\":\"e58404380029464f0791\",\"59629\":\"d67cd3825e2761aa1d70\",\"60084\":\"181fdbdd7dac176a8bd7\",\"60333\":\"c3be4f68987b4d22417f\",\"60358\":\"b329d964367dc0d058b9\",\"60509\":\"a4efc6752f1f1240c2dd\",\"60663\":\"2e1ad8ea88b0dfeb13f0\",\"61138\":\"221df88839fbd586bca2\",\"61245\":\"4a1ed6774343224c7def\",\"61437\":\"640bee9f814bcfcadf31\",\"61505\":\"ccf0e7de2cdc7fc8b03b\",\"61622\":\"1f71d9a574c769ef77d6\",\"61709\":\"4f50129e212324a850ee\",\"62185\":\"48c62632c6391eb60708\",\"62394\":\"4af135c3197af5a15f22\",\"62624\":\"fc965f90c456cda3eed0\",\"62789\":\"c22af952d526f1a6a946\",\"62808\":\"8c5057c2b38b8aad1b42\",\"62841\":\"3ef36899997eee891ef1\",\"63086\":\"e39e0dc279f63b67ca27\",\"63106\":\"8939fc2911abef9bea70\",\"63126\":\"be3b37a4f0a9ad9ad5f6\",\"63618\":\"4298c78e405786cfcefa\",\"63626\":\"1bb69b449be319733dfa\",\"63718\":\"7469b75b2fbcf78ce65c\",\"63747\":\"40996c900b726009d623\",\"63939\":\"96530bf98def4fd4be17\",\"63963\":\"71942f0cb1256f9c7ac3\",\"64094\":\"13d46e2307a5e2aeca37\",\"64125\":\"8550d4e8fd0bc863f381\",\"64216\":\"8ff80f8df0ff5b555801\",\"64253\":\"b00f2588fe5f2852b9e0\",\"64294\":\"1cbebca0d1a8c920cbb4\",\"64402\":\"111cdba459633178afa8\",\"64778\":\"a046db30daece82af8c8\",\"65047\":\"65d3f2028cdccf69364d\",\"65282\":\"52a1170508306237ff3e\",\"65283\":\"d2475cca14a72c213818\",\"65534\":\"ff7a89bf349211e864fa\",\"65551\":\"5126c40a9852b9dd6063\",\"65673\":\"8a6d900f03941ae8a7f2\",\"66002\":\"ff0a2dde366d6b68bd33\",\"66075\":\"cc596d7d2890c594931b\",\"66088\":\"2840c3f255d100c0cdc0\",\"66236\":\"6d66b8f1366e9af45bf9\",\"66355\":\"e6396a7263efa2ef8042\",\"66378\":\"ce1ad35f580e80b56c48\",\"66460\":\"2da170402ab1ef973cbf\",\"66522\":\"2a0f8a20996fc7e6279f\",\"66754\":\"f88b3d66ba033ca113a0\",\"67125\":\"d1054b644b205f0c894b\",\"67232\":\"0b16947f8ae447ab5180\",\"67291\":\"83de5f6659ef00dacbdb\",\"67380\":\"ed63b66ed14264dfb4b8\",\"67390\":\"041d94a8573a81aef43b\",\"67527\":\"c9b18424edccb2f53859\",\"67580\":\"52e130acbfaf7d7ec9b4\",\"67737\":\"38bab7feaffd76decc15\",\"67835\":\"2eeb21b3c49a983a6c30\",\"67898\":\"0ef517bb3522208883a1\",\"68154\":\"d9caecfc6f4267e0e8e7\",\"68527\":\"9e72ca82e36266e12a5e\",\"68846\":\"6f56767ece7ffba77dd9\",\"69331\":\"b586a8ae81d8d4832abb\",\"69353\":\"21a79d84c4ec94e232cc\",\"69682\":\"4d69d9b851b202b001f6\",\"69683\":\"3208a145b84e0bdc178b\",\"69866\":\"7b41136a19d513d564e1\",\"70065\":\"4f992f0c8748dac3dd1f\",\"70091\":\"a4ea8d8dc17b20f0be33\",\"70218\":\"c5c1fe8f64ada2c7e1b6\",\"70251\":\"25b1dae0901aa9271b6a\",\"70282\":\"af77a4275917559d395a\",\"70390\":\"854752760c3cd383d815\",\"70405\":\"ca3b963b8acf0e664725\",\"70841\":\"d3aff5c452bab594b6b4\",\"70852\":\"cc73958558f0745257fe\",\"70954\":\"82e5b0b694741c02f35a\",\"71345\":\"a2c9dba0eb36374172e0\",\"71365\":\"ee2488cdd290a5b16dca\",\"71384\":\"4de947044306813353f5\",\"71511\":\"982b8a8d2e60f79ec9a2\",\"71636\":\"fe708449b76194affe74\",\"71682\":\"78cc72aac1891c6ddec3\",\"71730\":\"5ee3bbaa0194531e3545\",\"71831\":\"199c849c47db6c7c81f2\",\"71924\":\"294800feed7822a6829a\",\"71928\":\"a2869c6a61cc4dbbb41f\",\"72198\":\"5577638014270eca179c\",\"72495\":\"35bc5ac81e7601723130\",\"72890\":\"0a935df925f740b8ff33\",\"73001\":\"317cf0ffff42d4c5062c\",\"73003\":\"6cdb79020689cbbf7511\",\"73146\":\"fdab325848e935dd18ad\",\"73210\":\"b27e9035f3841dd3f07d\",\"73222\":\"b71c68cb6275b049bfee\",\"73448\":\"6a1f6ae3fcbde9cc5e63\",\"73691\":\"d4279938e35fa0fa6028\",\"73815\":\"ee71b7ff4a23c8d4a891\",\"73915\":\"fb2e3e8a1ee46b939c8e\",\"73983\":\"93099a8a9ac6f5398eaf\",\"74156\":\"a5ed0a9d6eb387b2183d\",\"74390\":\"3436083b80cf17b5287e\",\"74391\":\"8767e34ce968c5497dee\",\"74403\":\"eb4bfd9b01324d90c385\",\"74501\":\"19bcf274416a7536e331\",\"74524\":\"0d458c9b234fbcdb764c\",\"74639\":\"dd4cfe7610646646a60b\",\"75072\":\"ec6caef42550a784b918\",\"75101\":\"81988d7f9635c9afdac5\",\"75108\":\"aa39a012fff386ed555d\",\"75409\":\"57534dd3c3cb84040c94\",\"75440\":\"56bce0cb754d6b75dd33\",\"75618\":\"bdd987bf980f4a51cdcf\",\"75736\":\"f6114911d0bf8525a4fe\",\"75901\":\"35ebd0bad357b473e85d\",\"76105\":\"0c9b0b7bec0f50fcfdf0\",\"76119\":\"0635f263430bef84be2e\",\"76297\":\"591536b9077dd81be590\",\"76880\":\"e0a5d9821e448f1157cd\",\"76930\":\"fbb74db8a76e40c2c055\",\"77237\":\"aaa0022ee6ec8f58f52f\",\"77356\":\"2446837cf6f9161c70e8\",\"77390\":\"cdf7f65bd0894db2ed97\",\"77402\":\"8b1bf20809c45e71b187\",\"77553\":\"365c3e6b844419ac2b87\",\"77677\":\"701c7d9699a7c92e2857\",\"77910\":\"8f96b6bed34b4165a1e7\",\"78076\":\"3d255a0a8e87e9b1eec6\",\"78187\":\"ca0faad4d6ac1a2c6d4d\",\"78241\":\"7a0502fc23402da38b2e\",\"78259\":\"a5638ee9b9b4c32a19ee\",\"78481\":\"ea0fbc26e5ebe44a0563\",\"78500\":\"1a8f8ed1fae682040d3b\",\"78505\":\"6c6417d57aadc0a7c5df\",\"78926\":\"0708583d1beb3abc1f5d\",\"79302\":\"4a34a502032f7573b60f\",\"79307\":\"3c47507bb40f095391a9\",\"79329\":\"860596101d7f62e5eb27\",\"79345\":\"b7d32ba6b9bb833a011c\",\"79434\":\"a279273e5ff1a9189e73\",\"79522\":\"bd1fb1a15bd86465b95c\",\"79557\":\"48e5483e064defe84ec8\",\"79675\":\"346f38957b49ddedd3f8\",\"79681\":\"ac505cd981992e94d092\",\"79884\":\"e80c81108a8d8eba6a36\",\"79919\":\"dc334c42f9df99f0c14c\",\"80324\":\"4e038fe685044d4a98d7\",\"80507\":\"67286d9d15f1b4b8a7f5\",\"80528\":\"2c7a7fa1e3e24add7656\",\"80581\":\"ef0904929ecd56554f33\",\"80891\":\"1ee2559793bdcdb07a1f\",\"80925\":\"8d9c60bbb274787c517e\",\"81235\":\"09fe78a403770c58e9f4\",\"81281\":\"5f80487825773d567e57\",\"81333\":\"8fde83acc89e861c9281\",\"81344\":\"525a9d524a5422a0e4b4\",\"81348\":\"507b6afe4f1c8394157e\",\"81440\":\"c31f6147e68f21695dba\",\"81590\":\"55bd55f111d893b19e3b\",\"81632\":\"a678fe4dcae4da5ba84b\",\"81812\":\"638c2b32798c8000753f\",\"81884\":\"b3bb38b68fec9800305e\",\"82027\":\"ce3d0291a008662b0303\",\"82047\":\"4f2470fd265e8dd0e935\",\"82182\":\"8a767f6bdf01a1a81625\",\"82282\":\"61a031fbe89d3ac392f1\",\"82376\":\"a1240075936c2f0be65d\",\"82512\":\"e253cb776ab947df633d\",\"82513\":\"8e5d235e6b00bf729737\",\"82580\":\"0bd068d5781d59729848\",\"82713\":\"848d6a5fad43df0cf710\",\"82714\":\"a3814918112101a8aa9b\",\"82930\":\"11c1cc039b9de94b3039\",\"83070\":\"bb1a5c457bb5fa5ef3df\",\"83101\":\"506959792b045ded0070\",\"83148\":\"1f4d11d6c16ab5fe134a\",\"83233\":\"b78fd59c8f525a62de0c\",\"83296\":\"480157925f4519d426a2\",\"83350\":\"06954d004c0d819eb1b1\",\"83419\":\"d897caa704733eca93ed\",\"83573\":\"90d7f2ffd87ceab74551\",\"83996\":\"521fef30debd5dceb34f\",\"84048\":\"09a321eee26ea19573cf\",\"84231\":\"2ad123b30da7768107bf\",\"84511\":\"e9f2ad2ba72a7be4a780\",\"84650\":\"767da2b3cf09d98f8560\",\"84817\":\"0e1fb474e13dc2ea8a85\",\"84905\":\"d9322d05394f614506d9\",\"85071\":\"1d9160a6b62aa248b46b\",\"85370\":\"85b8ed8c50f7a5436bee\",\"85454\":\"c873f64a11152b3400d6\",\"85598\":\"71a9b3e5fa49787cabcc\",\"86351\":\"9a621496f82da374c3b8\",\"86354\":\"8a758a2974c26e1a4f1b\",\"86383\":\"fdd1a81536d641769e70\",\"86610\":\"91b0d3ec2f03feef53a8\",\"86746\":\"99467b5472470dc4a1b3\",\"87201\":\"83e1d1c9b31750714106\",\"87335\":\"188e7f44d0db082b3487\",\"87414\":\"4dfd967302322bbca995\",\"87563\":\"8af098b98889a3bb6b96\",\"87601\":\"7de30158e66c81e867bc\",\"87682\":\"ab03a3e4a36f52e8d97b\",\"87839\":\"4b1f50d9376564f64508\",\"87841\":\"2c95bdb73e505448d415\",\"87969\":\"3858ffc1427a52732a20\",\"88030\":\"9d7e8bab62f46c76aeb1\",\"88357\":\"f92d7050dd26c0572c79\",\"88574\":\"622af43d0a0d00745eef\",\"88738\":\"8840b075da3d958cd907\",\"88770\":\"c472c661db3e38b01d5c\",\"88845\":\"eb7b9796f472bfb44098\",\"89105\":\"e546cd581f4b64918565\",\"89718\":\"308379a0b4898481e929\",\"89740\":\"a142a5269de3075e67dd\",\"90046\":\"ec0d52db58f7cf8cd3e7\",\"90125\":\"056b702696ef1c390da3\",\"90305\":\"f0aa3e7f6c32b9296c6d\",\"90384\":\"9fe30f4abbd492f0676e\",\"90794\":\"a04a1f5d0667b194ea37\",\"91257\":\"4961d799db65f0b30d81\",\"91402\":\"cf3c7b1480b24a696373\",\"91423\":\"5607c9de17d88d90f886\",\"91641\":\"cc1fbaa9a96b93836848\",\"91742\":\"acf5368866f748f8b2c2\",\"91805\":\"cef664bf065bcf8062cc\",\"91898\":\"d3d83015e86c8d1608e5\",\"91912\":\"9ca995877ca1556d43e2\",\"92086\":\"577ddb9451a40307e104\",\"92252\":\"c231f578276835e322e7\",\"92363\":\"75910fa45fab3b751b84\",\"92458\":\"8d6a8408a9cf63201a6b\",\"92601\":\"3d06497b34495ee97f21\",\"92658\":\"7f58ba23d58412d182c7\",\"92800\":\"ea0db491b8e6cfac9176\",\"93167\":\"d25f91eaa2cbcde90897\",\"93283\":\"e6a9afa68621b0213698\",\"93509\":\"71a85b5c602224d8492e\",\"93558\":\"933321974438808d4366\",\"93698\":\"740643609135236f44fa\",\"93757\":\"0299fc8235e8aee2334e\",\"93781\":\"c4a1ce982e08b986d0c4\",\"94121\":\"b2f9d5d2c5f8f45dc910\",\"94133\":\"d59f9edbb1fb49e10ae0\",\"94237\":\"5b4647594f870c480989\",\"94305\":\"1ce9586d4b22df63449a\",\"94476\":\"7c7812026a4c1ff17d32\",\"94719\":\"b248dd4c3ef09a98347d\",\"94963\":\"939852f2461dbd71339d\",\"95062\":\"7eb9655738c4ce4f2af0\",\"95223\":\"2faaf1051a4a55448a0d\",\"95454\":\"4e1590660a0302cb4288\",\"95963\":\"49148590884ffc30390e\",\"95999\":\"8525ba9d6b0016a4e08b\",\"96065\":\"3d568a43c821edbd76b8\",\"96070\":\"1a03b8fc286c96c04a4f\",\"96119\":\"cd78d31ce0027a3848fb\",\"96170\":\"6c5ea36156269b4fa849\",\"96227\":\"adf4ce3fd46a064bb86d\",\"96427\":\"33f13bdcd31871612f2b\",\"96569\":\"88e48e923de4599e39d6\",\"96665\":\"6aa6c0aafcbefae3c9a2\",\"96713\":\"71f27b6d57cc5a4ecb14\",\"96714\":\"b9bedd1e2284e5cf9e0d\",\"96740\":\"90cd95f83d3bb09d65a5\",\"96835\":\"8eb41329472f1476933f\",\"97031\":\"8c1d4254560aac4c3828\",\"97118\":\"82c1d189f5318328b472\",\"97188\":\"381b356939d1c580faad\",\"97263\":\"aaa004fa60a38d3495f5\",\"97276\":\"afa266e1a18de6071468\",\"97695\":\"b6dc5cbb589f146a305f\",\"97924\":\"bac93fcafe9b705feb17\",\"97948\":\"ee369b0d0574552787bd\",\"98045\":\"8ce6097ea8dbfa534790\",\"98094\":\"b4d3d8afed321aad63c9\",\"98347\":\"9a8014372c7e044f0ebb\",\"98492\":\"8dd9bf92c269bfccabc7\",\"98528\":\"035127fce24adfabc31c\",\"98562\":\"58c5e2ac13cfabf7e001\",\"98655\":\"c18b90b809c7347848b1\",\"98756\":\"4b779088cceb009ce023\",\"98818\":\"97d472720cbec608544a\",\"98830\":\"921312a68d5f83d40e7b\",\"98921\":\"8c4e9cb92a24c0b48dea\",\"99273\":\"4d28cc4aff810b08fcb5\",\"99462\":\"008e1c81f59390fcff54\",\"99466\":\"3037201a45bdc21da597\",\"99509\":\"e352d07b4418822361ea\",\"99532\":\"3daea3dbc1e7400892fb\",\"99726\":\"8dcdca12cb1831755723\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + \"2c8cc641c74598563fea\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","var inProgress = {};\nvar dataWebpackPrefix = \"ripcord-webapp-frontend:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 10;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 10000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/parachute/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t4456: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"71730\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t4456: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkripcord_webapp_frontend\"] = self[\"webpackChunkripcord_webapp_frontend\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [61684], () => (__webpack_require__(16486)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["resetAccountInfo","createAction","fetchAccountInfo","fetchAccountInfoSucceeded","payload","fetchAccountInfoFailed","error","FOLDERS_WITH_VISIBILITY_SUPPORT","COLLECTIONS","TAXONOMY","WORKSPACES","NOTEBOOKS","SAVED_SEARCH","VISIBILITY_TYPE","i18n","_","getAclsByRootFolderId","accountData","config","aclsByRootFolderId","Object","entries","reduce","acc","key","value","values","includes","rootFolder","id","privateAclId","privateAcl","publicAclId","publicAcl","folder","usePublicPrivateAcls","object","rootFolderId","path","isLoading","useDefaultAclIds","account","useAccountData","accountDefaultAcls","dispatch","useDispatch","accountDataLoading","data","fetchAccountError","restOfAccountState","useTypedSelector","state","dataRealm","api","useEffect","isNullish","realmName","getCommonHeaders","realm","clientId","getKeycloakConfig","Connection","Authorization","keycloak","token","headersSymbol","Symbol","abortableFetch","url","params","abortController","AbortController","call","fetch","signal","cancelled","abort","prepareBatchCommands","commands","map","method","uri","rawUri","body","rawBody","apiVersion","undefined","rawUriString","$xpr","assertUrlNotIncludingVersion","query","qs","request","length","match","timber","defineProperty","fileName","lineNumber","code","trackRequest","serviceName","startTime","methodName","responseHeaders","batchDetail","batchCommandCount","samplingPercentage","Math","random","loadTime","performance","now","size","queryStringToQueryObject","track","Service","get","Endpoint","Method","Number","trackRequestError","response","status","message","err","BASE_ROUTE","ERR_404_ROUTE","TENANT_NOT_FOUND_ROUTE","TENANTS_ROUTE","TENANT_URL_PREFIX","TENANT_USERS_ROUTE","history","createBrowserHistory","getParamsFromPath","pathname","route","matchPath","listen","window","scrollTo","PARACHUTE_BASE_ROUTE","location","startsWith","DOCUFAI_PLUS_BASE_ROUTE","CANOPY_BASE_ROUTE","process","APP_IDS","CANOPY","DOCUFAI_PLUS","HOME_ROUTE","CARD_LIST_ROUTE","COLLECTIONS_ROUTE","COLLECTION_ROUTE","FAVORITES_ROUTE","METRICS_ROUTE","AUDIT_SEARCH_ROUTE","RECENT_ROUTE","PERSONAL_ROUTE","WORKSPACES_ROUTE","WORKSPACE_ROUTE","WORKSPACE_RECORD_ROUTE","WORKSPACE_PRINT_NOTES_ROUTE","LEGACY_NOTEBOOKS_ROUTE","LEGACY_NOTEBOOK_ROUTE","LIBRARY_ROUTE","SOURCE_ROUTE","TAXONOMY_LISTING_ROUTE","TAXONOMY_ROUTE","TAXONOMY_EDIT_ROUTE","SINGULAR_TAXONOMY_LISTING_ROUTE","SINGULAR_TAXONOMY_ROUTE","SAVED_SEARCHES_ROUTE","SEARCH_ROUTE","RECORD_ROUTE","TASKS_ROUTE","TASKS_BROWSING_ROUTE","TASKS_BROWSER_ROUTE","TASK_ROUTE","PLAIN_JSON_ROUTE","PLAIN_JSON_DESCENDANTS_ROUTE","DOCUFAI_DEBUG_ROUTE","BOX_PROCESSING_ROUTE","TASKS_PROCESSING_ROUTE","DEMO_PAGE_ROUTE","DUMP_PAGE_ROUTE","BULK_TASKS_PROCESSING_ROUTE","SPLIT_CLASSIFY_ROUTE","LISTING_ROUTES","isDocumentView","isOnRoute","genCanopyLinkToObject","omsObject","link","newGoBackUrl","search","currentGoBackUrl","gobackUrl","taxonomyLinkFilters","generatePath","buildTaxonomyUrlSplat","searchMode","source","SEARCHMODES","SOURCE","category","CATEGORIES","CONTAINER","type","BASE_TYPE","NOTEBOOK","parentId","some","HOME_FOLDER","personal","generateLegacyTaxonomyPath","currentPath","COLLECTION","recordId","genCanopyLinkToTask","flowableTask","view","taskId","queryKey","taxonomyPath","compileLegacyTaxonomyPath","LISTING_PAGES","RECORD_PAGES","PAGES","_cio","shipLogsOnUnhandledError","localePromise","configureLocale","configureMixpanel","protocol","host","apiHost","hostname","indexOf","mixpanel","api_host","e","configureCustomerIo","siteId","c","a","f","push","concat","Array","prototype","slice","arguments","b","t","document","createElement","s","getElementsByTagName","async","setAttribute","src","parentNode","insertBefore","global","smoothscroll","then","default","rootReducer","rootSaga","configureStore","ParachuteRouter","Providers","Promise","all","store","root","createRoot","getElementById","render","_jsx","appType","children","StrictMode","SuspenseThrobber","compare","replace","exec","origin","Keycloak","logout","sessionStorage","removeItem","keycloakInitOptions","enableLogging","useNonce","onLoad","silentCheckSsoRedirectUri","silentCheckSsoFallback","pkceMethod","checkLoginIframe","checkLoginIframeInterval","KEYCLOAK_TOKEN_REFRESH_MS","messageReceiveTimeout","AuthLoader","useRipcordLocation","isAuthed","setIsAuthed","useState","isAuthLoading","CANOPY_ROUTE","AC_ROUTE","useLayoutEffect","onReady","authenticated","debug","login","init","checkForTenant404Interval","setInterval","querySelector","contentDocument","title","RipcordError","clearInterval","interval","refreshed","updateToken","tokenValidSeconds","round","tokenParsed","exp","timeSkew","Date","getTime","ProgressIndicator","ROLES","WELL_KNOWN_ROLES","AC_SUPERUSER_ROLES","GLOBAL_ADMIN","TENANT_PROVISIONER","CANOPY_TENANT_ROLES","TENANT_ADMIN","CUSTOMER_ADMIN","ACCOUNT_ADMIN","AUDIT_MANAGER","AUDIT_USER","getRealmAccessRoles","realm_access","roles","tokenHasRole","roleToCheck","rolesFromToken","tokenHasOneOfRoles","rolesToCheck","tokenRealmName","realm_name","tokenTenantRealm","realm_type","getUserUUID","sub","getHotjarUserInfo","email","name","isPartnerTenant","REALM_TYPE","PARTNER","INTERNAL_DOMAINS","getMixpanelInfo","tenantId","isInternalUser","domain","superPropertyPayload","tenant_id","groups","Application","DOCUFAI","mixpanelPayload","DATETIME_FORMATS","DATE","SHORT","DateTime","DATE_SHORT","LONG","DATE_FULL","TIME","TIME_SIMPLE","TIME_WITH_LONG_OFFSET","DATETIME","MINI","DATETIME_SHORT","DATETIME_SHORT_WITH_SECONDS","DATETIME_FULL_WITH_SECONDS","RELATIVE","IMPORT_SUPPORTED_MIME_TYPES","JSON","CSV","API","MTS","USERS","DEBOUNCE_WAIT","PRINCIPALS","OMS","OBJECTS","JOB","INSTANCES","POLL_WAIT","MIXPANEL","TENANT","CONTENT","ENTITY","CATEGORY_OPTIONS","label","PROCESSING_PRIORITIES","LARGE_CONTENT","BULK","HIGH_PRIORITY_BATCH","INTERACTIVE","PROCESSING_STATES_KEYS","TEXT_EXTRACTION","SCANNED_PAGE_WORKFLOW","SCANNED_BOX_CASE","PROCESSING_STATES","DELIVERED","DONE","ERRORED","EXPORTING","IMPORTING","NONE","PROCESSING","STARTING","INGESTION_METHODS","RIPCORD_SCANNED","USER_UPLOAD","WEB_SCAN","SFTP","UNKNOWN","DATA_MODELS","AUTOFILL_DEFINITIONS","LOOKUP_DEFINITIONS","LOOKUP_OBJECTS","TRAIT_DEFINITIONS","TYPE_DEFINITIONS","RENDITION_TYPES","THUMBNAIL","ORIGINAL","TEXT","OMS_OBJECT_LINKS","ACL","ADD_DESCENDANTS","ADD_RELATIONS","ADD_VERSIONS","ANCESTORS","DELETE","DESCENDANTS","EDIT","EDIT_OWNERS","EDIT_PERMISSIONS","EDIT_TYPE","MOVE","OBJECT","RELATIONSHIPS","RENDITIONS","SELF","TAGS","RENDITION_LINKS","PRINT","DOWNLOAD","OMS_NUMBER_DATA_TYPES","INTEGER","DOUBLE","FLOAT","OMS_TEXT_DATA_TYPES","UUID","STRING","OMS_DATE_DATA_TYPES","OMS_PICKLIST_ISH_DATA_TYPES","PICK_LIST","BOOLEAN","OMS_CODE_DATA_TYPES","QUERY_FILTER","PROPERTY_BAG","OMS_DATA_TYPES","SPECIAL_RENDITION_MIME_TYPES","COMPOSITE","INDIRECT","DTL","OPS_MANAGER","OPS_ASSOCIATE","NOTEBOOK_ENTRY_TYPES","BASE_FALLBACK_TYPE","SINGLE_QA","MULTI_QA","SUMMARIZE","LIBRARIAN_SUMMARIZE","LIBRARIAN_QA","MANUAL_NOTE","DEEP_DIVE","INTERNAL_TYPES","NOTEBOOK_ENTRY","USER_DATA","MERGE_REQUEST_ENTITY","BATCH","BINDER_CLIP","BOX","COLLECTION_DETAILS_PAGE","DOCUMENT","ENVELOPE","FASTENER","FOLDER","HARD_DRIVE","MANILLA_FOLDER","PAGE","PAPER_CLIP","PHYSICAL_FOLDER","POINTER","POINTER_BATCH","POINTER_EXCEPTION","RING_BINDER","RUBBER_BAND","SEPARATOR","SHEET","SOURCE_CONTAINER","SPLIT_PIN","STAPLE","ML_TYPES","DOCUMENT_CLASSIFICATION","NAMED_ENTITY_CLASSIFICATION","ML_ATTRIBUTE_TYPES","ENTITY_TYPE","RELATIONSHIP_TYPES","SRC_LIB_CONTAINER","ASSEMBLED_DOC","DOCUMENT_CLASSIFICATION_NAMED_ENTITY","PAGE_NAMED_ENTITY","COLLECTION_CONTENT","DERIVED_DOC","NOTEBOOK_ENTRY_CITATION","NOTEBOOK_DOCUMENT_RELATIONSHIP","NOTEBOOK_LIBRARIAN_ANSWER","MUFG_TYPES","SLEEVE","SMALL_BOX","HANKO_DOCUMENT","RELATIONSHIP_LINKS","DOCUMENT_ID","PAGE_ID","RESERVED_TAGS","FAVORITE","LOCAL_DEV_URL","DEFAULT_RETRY_DELAY_MS","DEFAULT_NUM_RETRIES","PARACHUTE","ADMIN_CONSOLE","PERSONAL_LABEL","IDLE_TIMEOUT","VERSIONS_LIMIT","isNumberType","attributeType","numberTypesArray","LARGE_FILE_DOWNLOAD_THRESHOLD","ICON_COMPLETED","Error","constructor","additionalData","writable","assign","GenerativeWebsocketError","HTTPError","requestUrl","objectifiedHeadersFromBatch","doAsyncOverride","Response","statusText","toString","headersToObject","headers","headerObj","forEach","val","returnThisPromiseOverride","DocOpsHTTPError","GenerativeHTTPError","GrpcGatewayHTTPError","service","CoreServiceHTTPError","batchIndex","FlowableHTTPError","XHRHTTPError","xhr","getAllResponseHeaders","trim","split","line","parts","shift","join","parse","warn","RipcordASTError","node","filterString","thisObj","json","useConfirmModal","useCallback","props","showModal","MODAL_CONFIRM","ABSTRACT_FEEDBACK_MODAL","ACL_MODAL","ADD_TO_COLLECTION_MODAL","CLASSIFICATION_MODAL","CREATE_COLLECTION_MODAL","CREATE_FOLDER_MODAL","CREATE_TAXONOMY_MODAL","CREATE_VERSION_MODAL","CREATE_RELATIONSHIP_MODAL","ADD_TO_WORKSPACE_MODAL","CREATE_WORKSPACE_MODAL","EDIT_COLLECTION_MODAL","EDIT_NOTE_MODAL","EDIT_WORKSPACE_MODAL","EXPORT_MODAL","INSTALL_WORKFLOWS_MODAL","MODAL_DELETE_OMS_OBJECT","MODAL_DOC_REVIEW_MERGE","MODAL_DOC_REVIEW_SPLIT","MODAL_LEGACY_TAXONOMY","MODAL_MOVE_OBJECT_WARNING","MODAL_NOTES","MODAL_OBJECT_TYPE_CHANGE_CONFIRM","MODAL_UPLOAD_MODAL","MULTIPLE_CLASSIFICATIONS_MODAL","SAVED_SEARCH_MODAL","TAXONOMY_GROUPING_MODAL","TEMP_PASSWORD_MODAL","VIEW_RENDITION_ATTRIBUTES_MODAL","MERGE_DOCUMENTS_MODAL","MODAL_BULK_DELETE_OMS_OBJECT","MODAL_BULK_DELETE_WARNING","fetchGroupsListSucceeded","paginationParams","fetchGroupsListFailed","fetchGroupsList","queryParams","success","failure","fetchGroupSucceeded","group","fetchGroupFailed","fetchGroup","fetchAutocompleteGroupsSucceeded","fetchAutocompleteGroupsFailed","fetchAutocompleteGroups","searchValue","fetchGroupMembersSucceeded","groupMembers","moreMembersAvailable","fetchGroupMembersFailed","fetchGroupMembers","groupMemberQueryParams","saveGroupSucceeded","saveGroupFailed","saveGroup","clearGroupErrors","useAutocompleteGroups","autocompleteLoading","autocompleteLoadingError","autocompleteGroups","mts","loading","loadingError","requestPrincipalData","principalId","resolvePrincipalSucceeded","principal","resolvePrincipalFailed","resolvePrincipalsSucceeded","principals","resolvePrincipalsFailed","principalIds","usePrincipalData","resolvedPrincipals","resolvedPrincipal","principalData","PRINCIPAL_TYPE","USER","ALIAS","GROUP","KNOWN_ALIASES","OWNERS","principalType","EVERYONE","getPrincipalsListById","mtsResponse","_embedded","_keyBy","getDisplayStringForPrincipal","resolvedData","firstName","lastName","username","createSelector","users","fetchUsersList","fetchUsersListSucceeded","page","moreUsersAvailable","fetchUsersListFailed","fetchUser","fetchUserSucceeded","user","fetchUserFailed","fetchAutocompleteUsers","fetchAutocompleteUsersSucceeded","fetchAutocompleteUsersFailed","saveUser","toastMessage","updateGroupsPayload","saveUserSucceeded","saveUserFailed","deleteUser","deleteUserSucceeded","deleteUserFailed","useAutocompleteUsers","autocompleteUsers","useDeleteUser","isDeletingOwnAccount","setIsDeletingOwnAccount","deleting","deletingError","showConfirmationDialog","deleteUserCallback","userId","isOwnAccount","showWarningIcon","showLineAboveActions","text","Trans","components","0","1","RipcordPrincipalName","showSmallerIcon","2","confirmText","onConfirm","submittedSuccessfully","useAdvancedLoading","userDeleted","userNameOmsAttributes","Set","fetchTaxonomies","fetchTaxonomiesSucceeded","taxonomies","fetchTaxonomiesFailed","fetchTaxonomy","fetchTaxonomySucceeded","taxonomy","fetchTaxonomyFailed","deleteTaxonomy","deleteTaxonomySucceeded","deleteTaxonomyFailed","saveTaxonomy","taxonomyRootFolderId","saveTaxonomySucceeded","saveTaxonomyFailed","parseTaxonomyUrlSplat","taxSplat","filter","decodeURIComponent","parsedFilters","encodeURIComponent","emit","Wrapper","styled","div","withConfig","displayName","componentId","LegacyTaxonomyManageActionsMenuButtons","theme","useTheme","openConfirmModal","_jsxs","getLinkFromOmsObject","IconButtonWrapper","IconButton","iconSrc","assets","icons","rename","onClick","stopPropagation","p","deleteIcon","getLegacyTaxonomyListItems","currentId","isSelected","rightHoverItem","icon","iconPosition","action","LegacyTaxonomyListWrapper","TaxonomyItemsWrapperContainer","NewLegacyTaxonomyMenuItem","MenuItemIconContainer","MenuItemIcon","getLegacyTaxonomyMenuActions","showModalAction","canCreateTaxonomy","sort","localeCompare","isGroup","WrapperComponent","items","isDivider","variant","isVisible","taxPathArray","flat","segment","span","openInNewTabShim","openInNewTabFunction","restOfHistory","useHistory","useParams","useSelector","ripcordLocationObjRef","useRef","locationToRipcordLocation","ripcordLocation","useMemo","current","addDefaultsAndStoredValues","send","pushOrReplace","newLocationObject","restOfLocation","ripcordLocationToLocation","replaceQueryParams","pushQueryParams","openInNewTab","searchObject","ignoreQueryPrefix","ripcordSearchObject","sortStringToObject","parseInt","taskFilter","userFilter","filters","filtersStringToObject","sfilters","maybeParse","includeServiceAccounts","localstoragePageSize","localStorage","getItem","newSearchObject","listView","DISPLAY_MODE_CACHE_KEY","LIST_VIEWS","TABLE","LIBRARY","advSearchIn","switchedTenant","keys","sortObjectToString","stringify","filtersObjectToString","maybeEmit","skipNulls","sorts","desc","sortKey","dir","queryString","queryObjectToQueryString","queryObject","formRequestSortParams","GRID","TREE","LabelText","ellipsis","StyledReactSVG","ReactSVG","$color","$hoverColor","$activeColor","$fitWidth","$size","$fitHeight","$rotate","$flipHorizontal","$flipVertical","Icon","forwardRef","className","color","hoverColor","activeColor","rotate","flipHorizontal","flipVertical","fitWidth","fitHeight","rest","ref","iconName","iconButtonStyles","disabledStyles","hiddenStyles","Component","button","disabled","$hidden","$iconColor","$iconMargin","colors","primary","T010","hoverVariant","iconMargin","hidden","iconColor","iconColorHover","iconColorActive","iconFitWidth","iconFitHeight","restProps","isHovered","setIsHovered","gray","onMouseEnter","onMouseLeave","RippyTippy","content","onShow","ReadOnlyDateRange","startISO","endISO","textFormat","tooltipFormat","startTextDateTime","isoToLocale","startTooltipDateTime","endTextDateTime","endTooltipDateTime","_Fragment","role","JSONEditor","React","OMSFiltersInput","RipcordDisplayValue","isFilter","attributePath","attributeName","attributeSchema","options","helperText","inputStagingValue","required","emptyDisplayValue","hasChips","shouldUseTableStyles","deleteRelationship","displayValue","isTypeAttr","isoDateRange","isNullishFilterValue","ReadOnlyDate","isoString","find","option","editorId","StyledJSONEditor","jsonSchema","schema","stringJsonData","readOnly","additionalMonacoOptions","JSONEditorMonacoOptions","has","isEditable","finalDisplayValue","hasLabel","showingValue","isPropertyBag","Container","$noLeftPadding","noLeftPadding","$hasLabel","$isEditable","$noHoverBackground","ContentWrapper","$showingValue","$isTypeAttr","$showingCodeViewer","$helperText","StyledLabelParagraph","StyledSpan","StyledParagraph","Typography","ButtonContainer","EditIcon","preventDefault","DeleteIcon","red","css","muiTheme","palette","common","preResolvedName","preResolvedPrincipalType","setErrorToShow","hidePrincipalIcon","resolvedError","resolvedName","resolvedPrincipalIconName","getIconForPrincipalType","TextLoadingShimmer","numChars","StyledPrincipalName","$isClickable","$noIcon","StyledIcon","$showSmallerIcon","variants","standard","lightPop","shades","white","black","T10","guidey","memo","showArrow","fixedWidth","maxTooltipWidth","borderRadius","noPadding","StyledTippy","hideIfEmpty","$maxTooltipWidth","maxWidth","$fixedWidth","$variant","$showArrow","$borderRadius","$noPadding","Tippy","h1","h2","h3","paraLargeNormal","paraLargeBold","paraMediumNormal","paraMediumBold","paraSmall","labelLarge","labelMedium","labelSmall","labelMini","FontBaseline","fontFamily","truncated","uppercase","$truncate","$uppercase","tag","truncate","_color","as","INPUT_MODES","HYBRID","VIEW","FILTER","lineNumbers","scrollbar","vertical","horizontal","ShimmerText","fillChar","StyledShimmerText","fill","ShimmerPlaceholder","numRows","FlexRowWrapper","StyledShimmerBlock","width","height","margin","FlexColWrapper","InputShimmerContainer","i","InputShimmer","shimmer","keyframes","animatedShimmer","float","loadingTickAnimation","loadingDotAnimation","Tick","main","$isDot","LoadingThrobber","relative","LeftTick","MiddleTick","RightTick","useDots","Suspense","fallback","PossiblyLoadingChildren","promise","resolve","useSelectorReactRedux","useTypedDestructuredSelector","selector","display","textOverflow","overflow","log","originalFactory","logLevel","loggerName","rawMethod","filename","args","logTimestamp","enqueue","severity","toUpperCase","toISOString","caller","version","bind","toLocaleTimeString","remoteOnlyTimber","numSendFailures","trackedMixpanelFailure","shipLogs","numFailures","logs","flush","info","Request","credentials","cache","ok","addEventListener","event","reason","ringBuffer","logLine","lines","isArray","buffer","currentLocale","supportedLocales","en","eo","ja","fr","ms","cronstrueLocales","getCurrentLocale","loadLocaleData","plurals","zh","getLocales","multipleDetect","fromStorage","fromNavigator","Intl","DateTimeFormat","resolvedOptions","locale","fallbackLocale","localeOverride","detectedLocales","firstSupportedFromDetectedLocales","normalizedFinalLocale","installAndSetupRipcordStrings","installAndSetupDateFnsStrings","installAndSetupMonacoStrings","installCronstrueStrings","normalizedLocale","messages","load","activate","datePickerLocale","registerDateLocale","normalizedMonacoLocaleCode","monacoLocale","registerMonacoLocale","getBindingWithFallback","keymap","bindingAndLabel","PREV_TASK","binding","NEXT_TASK","LEFT","RIGHT","ESCAPE","SAVE_AND_UNSET_ACTIVE_ENTER","TOGGLE_TOOLBAR","TOGGLE_INFO_PANEL_TAB","COMMAND_AUTOCOMPLETE","setNotification","secondaryActionId","secondaryActionText","notificationType","closeNotification","triggerSecondary","showFullScreenModal","component","hideFullScreenModal","toggleMenu","changeMenuOpenState","open","setHasMinimizedState","hasMinimized","propsWithFocus","focusOn","activeElement","hideModal","changeViewport","screenSize","setMenuAutoCollapseState","setDocumentViewerZoomScale","silent","meta","getButtonStyles","light","iconButtonLight","iconButton","IconStyled","backgroundColor","buttonColors","$isActive","colorHover","colorDisabled","backgroundColorHover","rippleColor","alt","isDisabled","href","groupId","isActive","otherProps","TouchRippleProps","classes","ripple","defaultProps","styledTextFieldAsterisk","styledFormLabelAsterisk","withTooltip","textDateTime","isoToRelative","tooltipDateTime","ADVANCED","TRAY_MODES","MINIMIZED","MODAL","TRAY","CLOSED","PANELS","ABSTRACT","AI","FILTERS","INFO","VERSIONS","NEW_VERSION","WORKSPACE","localStorageRightPanelOpen","localStorageActivePanel","initialState","trayState","gridViewOrientation","gridViewScale","rightPanelOpen","rightPanelWidth","activePanel","searchString","inSearchSession","startSearchSession","reducer","actions","setTrayState","setGridViewOrientation","setGridViewScale","setRightPanelOpen","setRightPanelWidth","toggleRightPanel","setActivePanel","setSearchString","setInSearchSession","setStartSearchSession","createSlice","reducers","getAttributeNameFromNode","isLogicNode","left","isComparisonNode","getSelector","builder","expression","OMS_OPERATORS","EQ","NEQ","LE","GE","LT","GT","LE_VERBOSE","GE_VERBOSE","LT_VERBOSE","GT_VERBOSE","IN","OUT","ILIKE","UNILIKE","LIKE","UNLIKE","SEQ","SNE","getOperator","operator","isLogicalOrNode","OR","OR_VERBOSE","findLogicBranch","filterLogicBranch","filteredNodes","walkLogicBranch","visitor","AND","AND_VERBOSE","right","andTogetherStringFilters","flatMap","and","compareAstToOmsObject","ast","comparisonNodes","recursiveExtractComparisonNodes","result","every","getValue","item","compareOmsObjectToValue","ilikeCompareOmsObjectToValue","likeCompareOmsObjectToValue","filtersString","filtersObject","comparisonNode","complexFilter","isDateRange","getValueBasedOnOperator","buildValueBasedOnOperator","isNonEmptyArray","addFilter","removeFilter","filterToRemove","restOfFilters","modifyFilterProperty","propertyName","removeArrayOfFilters","filtersToRemove","filtersStringAsObject","currentFilters","overwriteASTValue","rawValue","icontains","startDate","endDate","rangeStartExpression","gt","rangeEndExpression","lt","x","comparison","attributes","lcValue","toLowerCase","newValue","isValueNode","format","originalDatetime","fromISO","localeDatetime","setLocale","localeDatetimeString","toLocaleString","isoToLocaleMonth","month","isoToLocaleYearMonth","year","localeDatetimeRelativeString","toRelative","isoToDateObject","dateOnly","endOf","toJSDate","dateObjectToISO","original","fromJSDate","toISODate","toISO","isToday","hasSame","local","isYesterday","minus","days","isThisMonth","isThisYear","useToggle","defaultValue","setVal","toggleVal","prevState","useForceRender","setRenderState","prev","usePrevious","isInProgress","isPrevInProgress","neverInProgressRef","inProgressFirstPaintRef","neverInProgress","inProgressFirstPaint","useKeybinding","enabled","onPress","capture","useLingui","ignoreAutorepeat","currentRef","handleKeyDown","repeat","target","nodeName","ctrlKey","shiftKey","removeEventListener","useCrudForm","mapDataToForm","formState","isFormDirty","useFormState","setIsFormDirty","handleDirty","genStateObj","onChange","onChangeEvent","useReducer","fromEntries","initForm","initObject","resetForm","additionalChecks","filterValue","useInitMixpanel","set_once","set","increment","Language","eventPayload","$distinct_id","logDontTrack","setItem","hash","reject","timeout","setTimeout","handler","newTabWindow","postMessage","clearTimeout","HydrateRouterStateProvider","handlePostMessage","opener","getRenditionMimeType","renditionType","onlyReturnSpecifiedRendition","rendition","getRenditionObject","mimeType","linkType","_links","getLinkFromRenditionObject","contentId","getLinkFromAnythingWorksLocally","URL","port","renditions","lcRenditionType","specifiedRendition","_find","primaryRendition","primaryFlag","generatePathRRD","Redirect","RedirectRRD","Route","RouteRRD","Switch","SwitchRRD","getUniversal404Route","AC_ERR_404_ROUTE","maybeOr","nodes","maybeAnd","formattedValue","ilike","unilike","like","unlike","seq","sne","sin","sout","webpackAsyncContext","req","__webpack_require__","o","ids","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","amdO","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","splice","r","n","getter","__esModule","d","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","mode","ns","create","def","getOwnPropertyNames","definition","enumerable","promises","chunkId","u","miniCssF","g","globalThis","prop","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","getAttribute","charset","nc","onScriptComplete","onerror","onload","doneFns","removeChild","head","appendChild","toStringTag","nmd","paths","createStylesheet","fullhref","oldTag","linkTag","rel","errorType","realHref","nextSibling","findStylesheet","existingLinkTags","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}